Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1b10add authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

input: sensors: Clean up Intersil isl29044a ALPS driver



Do cleanup to fix all checkpatch errors, fix obvious problems
and add device tree documentation.

Change-Id: Ia3ef0a711b2cccc9058d5ebd307ec0ca1318fe73
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 67e8cc1b
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
Intersil isl29044a L/P sensor

Required properties:

 - compatible			: Should be "intersil,isl29044a".
 - reg				: i2c slave address of the device.
 - vdd-supply			: Power supply needed to power up the device.
 - vio-supply			: IO power supply needed for IO and I2C.
 - intersil,als-range		: Light Sensor als range, 0: 0-125 Lux, 1: 0-2000Lux
 - intersil,ps-lt		: proximity low threshold. The proximity interrupt
				event is governed by the high and low thresholds.
 - intersil,ps-ht		: proximity high threshold.

Example:
i2c@f9925000 { /* BLSP-1 QUP-3 */
	intersil@44 {
		compatible = "intersil,isl29044a";
		reg = <0x44>;
		vdd-supply = <&pm8110_l19>;
		vio-supply = <&pm8110_l14>;
		intersil,als-range = <1>;
		intersil,ps-lt = <30>;
		intersil,ps-ht = <50>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ idt Integrated Device Technologies, Inc.
img	Imagination Technologies Ltd.
intercontrol	Inter Control Group
invn	InvenSense Inc.
intersil	Intersil Corp.
lattice	Lattice Semiconductor.
linux	Linux-specific binding
kionix	Kionix Inc.
+255 −480

File changed.

Preview size limit exceeded, changes collapsed.