1
0
Fork 0

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>
hifive-unleashed-5.1
Andreas Kemnade 2018-09-24 19:29:57 +02:00 committed by Tony Lindgren
parent 605cdd27a8
commit e4ab928957
1 changed files with 13 additions and 0 deletions

View File

@ -619,6 +619,19 @@
status = "disabled";
};
#define BIT(x) (1 << (x))
&twl_gpio {
/* pullups: BIT(2) */
ti,pullups = <BIT(2)>;
/*
* pulldowns:
* BIT(0), BIT(1), BIT(6), BIT(7), BIT(8), BIT(13)
* BIT(15), BIT(16), BIT(17)
*/
ti,pulldowns = <(BIT(0) | BIT(1) | BIT(6) | BIT(7) | BIT(8) |
BIT(13) | BIT(15) | BIT(16) | BIT(17))>;
};
&twl_keypad {
status = "disabled";
};