Commit e4ab9289 authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Tony Lindgren

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: default avatarAndreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 605cdd27
......@@ -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";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment