Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1541735

[PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius

From Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Newsgroups linux.kernel
Subject [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius
Date 2016-12-14 09:00 +0100
Message-ID <sOcDM-3Kl-11@gated-at.bofh.it> (permalink)
References <sOcDL-3Kl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add clock, data and clear signal GPIO lines to control seven segment display on
zaius platform.

Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 8ef4ece..ccb8147 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -43,6 +43,14 @@
 			gpios = <&gpio ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	seven-seg-disp {
+		compatible = "seven-seg-gpio-dev";
+		refresh-interval-ms = "1000";
+		clock-gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_HIGH>;
+		data-gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_HIGH>;
+		clear-gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>;
+	};
 };

 &fmc {
--
2.8.0.rc3.226.g39d4020

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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