Commit 6f0b0c03 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tony Lindgren

ARM: dts: omap4-droid4: Add isl29030 ALS/proximity sensor

The Droid 4 has a isl29030 to measure ambient light (e.g. for
automatically adapting display brightness) and proximity.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent de09eb52
...@@ -348,6 +348,17 @@ tsp@4a { ...@@ -348,6 +348,17 @@ tsp@4a {
interrupt-names = "irq", "wakeup"; interrupt-names = "irq", "wakeup";
wakeup-source; wakeup-source;
}; };
isl29030@44 {
compatible = "isil,isl29030";
reg = <0x44>;
pinctrl-names = "default";
pinctrl-0 = <&als_proximity_pins>;
interrupt-parent = <&gpio6>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>; /* gpio177 */
};
}; };
&omap4_pmx_core { &omap4_pmx_core {
...@@ -395,6 +406,12 @@ OMAP4_IOPAD(0x1a0, PIN_INPUT_PULLUP | MUX_MODE3) ...@@ -395,6 +406,12 @@ OMAP4_IOPAD(0x1a0, PIN_INPUT_PULLUP | MUX_MODE3)
>; >;
}; };
als_proximity_pins: pinmux_als_proximity_pins {
pinctrl-single,pins = <
OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3)
>;
};
usb_ulpi_pins: pinmux_usb_ulpi_pins { usb_ulpi_pins: pinmux_usb_ulpi_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
OMAP4_IOPAD(0x196, MUX_MODE7) OMAP4_IOPAD(0x196, MUX_MODE7)
......
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