[PATCH linux v4 3/3] devicetree: Add devicetree changes to support seven segment display on zaius
Jaghathiswari Rankappagounder Natarajan
jaghu at google.com
Thu Nov 3 07:17:45 AEDT 2016
Add clock, data and clear signal lines to control seven segment display on
zaius platform
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu at google.com>
---
v2:
- Moved the doc file to the same commit as the driver that it describes
- as suggested by Xo
- Removed abbreviation of names as suggested by Xo
- Corrected mismatch of property names between doc and actual usage
- as suggested by Xo
- Corrected the gpio designator in the second gpios property as suggested by
- Xo
v3:
- No changes made
v4:
- Included changelog entry as suggetsed by Joel
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 eef045b..c32d9f2 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -83,6 +83,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>;
+ };
};
&uart5 {
--
2.8.0.rc3.226.g39d4020
More information about the openbmc
mailing list