Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1541740
| From | Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH linux v1 1/4] Documentation: dt-bindings: Document bindings for seven segment display support |
| Date | 2016-12-14 09:00 +0100 |
| Message-ID | <sOcDM-3Kl-17@gated-at.bofh.it> (permalink) |
| References | <sOcDL-3Kl-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This binding provides interface for adding clock, data and clear signal GPIO
lines to control seven segment display.
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
---
.../devicetree/bindings/misc/seven-seg-gpio.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/seven-seg-gpio.txt
diff --git a/Documentation/devicetree/bindings/misc/seven-seg-gpio.txt b/Documentation/devicetree/bindings/misc/seven-seg-gpio.txt
new file mode 100644
index 0000000..9a4e255
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/seven-seg-gpio.txt
@@ -0,0 +1,27 @@
+This binding defines interface to add clock, data and clear GPIO lines required
+for seven segment display support.
+
+Required properties:
+- compatible : should be "seven-seg-gpio-dev".
+- clock-gpios : Should specify the GPIO pin connected to the Clock line on the
+ hardware.
+- data-gpios : Should specify the GPIO pin connected to Data line on the
+ hardware.
+- clear-gpios : Should specify the GPIO pin connected to Clear line on the
+ hardware.
+
+Optional properties:
+- refresh-interval-ms : The interval at which to refresh the display.
+ If this property is not present, the default value is 1000.
+
+Examples:
+
+#include <dt-bindings/gpio/gpio.h>
+
+seven-seg-disp {
+ compatible = "seven-seg-gpio-dev";
+ refresh-interval-ms = "1000";
+ clock-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ data-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ clear-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
+};
--
2.8.0.rc3.226.g39d4020
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH linux v1 0/4] Seven segment display support Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2016-12-14 09:00 +0100
[PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2016-12-14 09:00 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Arnd Bergmann <arnd@arndb.de> - 2016-12-14 10:00 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Arnd Bergmann <arnd@arndb.de> - 2016-12-14 10:10 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-12-14 12:10 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-12-14 12:50 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Linus Walleij <linus.walleij@linaro.org> - 2016-12-16 00:10 +0100
Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Joel Stanley <joel@jms.id.au> - 2016-12-14 10:10 +0100
[PATCH linux v1 2/4] drivers: misc: Character device driver for seven segment display Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2016-12-14 09:00 +0100
Re: [PATCH linux v1 2/4] drivers: misc: Character device driver for seven segment display Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-12-14 13:40 +0100
[PATCH linux v1 3/4] drivers: misc: Platform driver for seven segment display support Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2016-12-14 09:00 +0100
[PATCH linux v1 1/4] Documentation: dt-bindings: Document bindings for seven segment display support Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2016-12-14 09:00 +0100
Re: [PATCH linux v1 0/4] Seven segment display support Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-12-14 13:50 +0100
Re: [PATCH linux v1 0/4] Seven segment display support Greg KH <gregkh@linuxfoundation.org> - 2016-12-14 14:00 +0100
Re: [PATCH linux v1 0/4] Seven segment display support Neil Armstrong <narmstrong@baylibre.com> - 2016-12-14 14:20 +0100
Re: [PATCH linux v1 0/4] Seven segment display support Arnd Bergmann <arnd@arndb.de> - 2016-12-14 15:20 +0100
Re: [PATCH linux v1 0/4] Seven segment display support David Daney <ddaney.cavm@gmail.com> - 2016-12-14 22:20 +0100
Re: [PATCH linux v1 0/4] Seven segment display support Greg KH <gregkh@linuxfoundation.org> - 2016-12-14 18:00 +0100
csiph-web