diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2018-09-24 13:29:57 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-24 18:17:14 -0400 |
commit | e4ab928957a3173d5d8e7fc78df6a3a63be0f60d (patch) | |
tree | a22b5cfa253b18ec016116309e7893eb67dfd1e9 | |
parent | 605cdd27a8c84d9236f9f49712a8ea3d309415c7 (diff) |
ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio
Pullup and down settings were missing, so add them to avoid
floating pins and make headset detection working.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index a3e38b38d5cc..d5fe55392230 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi | |||
@@ -619,6 +619,19 @@ | |||
619 | status = "disabled"; | 619 | status = "disabled"; |
620 | }; | 620 | }; |
621 | 621 | ||
622 | #define BIT(x) (1 << (x)) | ||
623 | &twl_gpio { | ||
624 | /* pullups: BIT(2) */ | ||
625 | ti,pullups = <BIT(2)>; | ||
626 | /* | ||
627 | * pulldowns: | ||
628 | * BIT(0), BIT(1), BIT(6), BIT(7), BIT(8), BIT(13) | ||
629 | * BIT(15), BIT(16), BIT(17) | ||
630 | */ | ||
631 | ti,pulldowns = <(BIT(0) | BIT(1) | BIT(6) | BIT(7) | BIT(8) | | ||
632 | BIT(13) | BIT(15) | BIT(16) | BIT(17))>; | ||
633 | }; | ||
634 | |||
622 | &twl_keypad { | 635 | &twl_keypad { |
623 | status = "disabled"; | 636 | status = "disabled"; |
624 | }; | 637 | }; |