Skip to content

Commit 6f0b0c0

Browse files
sretmlind
authored andcommitted
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: Sebastian Reichel <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent de09eb5 commit 6f0b0c0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm/boot/dts/omap4-droid4-xt894.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,17 @@
348348
interrupt-names = "irq", "wakeup";
349349
wakeup-source;
350350
};
351+
352+
isl29030@44 {
353+
compatible = "isil,isl29030";
354+
reg = <0x44>;
355+
356+
pinctrl-names = "default";
357+
pinctrl-0 = <&als_proximity_pins>;
358+
359+
interrupt-parent = <&gpio6>;
360+
interrupts = <17 IRQ_TYPE_LEVEL_LOW>; /* gpio177 */
361+
};
351362
};
352363

353364
&omap4_pmx_core {
@@ -395,6 +406,12 @@
395406
>;
396407
};
397408

409+
als_proximity_pins: pinmux_als_proximity_pins {
410+
pinctrl-single,pins = <
411+
OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3)
412+
>;
413+
};
414+
398415
usb_ulpi_pins: pinmux_usb_ulpi_pins {
399416
pinctrl-single,pins = <
400417
OMAP4_IOPAD(0x196, MUX_MODE7)

0 commit comments

Comments
 (0)