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: Gustavo Solaira <gustavos@codeaurora.org>
This commit is contained in:
Gustavo Solaira 2014-10-27 17:09:01 -03:00
parent 67e8cc1b3e
commit a1b10addf4
3 changed files with 281 additions and 480 deletions

View file

@ -0,0 +1,25 @@
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>;
};
};

View file

@ -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.

File diff suppressed because it is too large Load diff