[Letux-kernel] [PATCH pre-upstream RFC] ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio

Andreas Kemnade andreas at kemnade.info
Sun Sep 23 21:42:45 CEST 2018


Pullup and down settings were missing, so add them to avoid
floating pins.

Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 09e45e7ad4bc..3adeb56dee37 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -657,6 +657,17 @@
 	status = "disabled";
 };
 
+&twl_gpio {
+	/* pullups: BIT(2) */
+	ti,pullups = <0x000004>;
+	/*
+	 * pulldowns:
+	 * BIT(0),  BIT(6), BIT(7), BIT(8), BIT(13)
+	 * BIT(15), BIT(16), BIT(17)
+	 */
+	ti,pulldowns = <0x03a1c1>;
+};
+
 &twl_keypad {
 	status = "disabled";
 };
-- 
2.11.0



More information about the Letux-kernel mailing list