mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
605cdd27a8
commit
e4ab928957
|
@ -619,6 +619,19 @@ &mmc3 {
|
|||
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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue