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

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
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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";
};