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

Commit 49132fbf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: sensors: update adps993x binding documentation"

parents 62eef979 69fe7768
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
Avago apds993x ambient light + proximity combo driver
Avago apds993x and apds990x ambient light + proximity combo driver.

Required properties:

 - compatible					: Should be "avago,apds9930".
 - compatible					: Should be "avago,apds9930" or "avago,apds9900".
 - reg							: i2c slave address of the device.
 - interrupt-parent				: Parent of interrupt.
 - interupts					: L/P sample interrupt to indicate new data ready.
 - vdd-supply					: Power supply needed to power up the device.
 - vio-supply					: IO power supply needed for IO and I2C.
 - avago,irq-gpio				: The gpio pin for the interrupt.
 - avago,ps_threshold			: The threshold adc value for proximity sensor to trigger away interrupt.
 - avago,ps_hysteresis_threshold: The hysteresis threshold adc value for proximity sensor to trigger  close interrupt.
 - avago,ps_threshold			: The threshold adc value for proximity sensor
				to trigger away interrupt.
 - avago,ps_hysteresis_threshold: The hysteresis threshold adc value for
				proximity sensor to trigger  close interrupt.
 - avago,ps_pulse				: The proximity pulse that the LDR will generate.
 - avago,ps_gain				: The proximity gain of the sensor.
 - avago,als_B					: Tunning value of COE_B parameter.
 - avago,als_C					: Tunning value of COE_C parameter.
 - avago,als_D					: Tunning value of COE_D parameter.
 - avago,ga_value				: Tunning value of the gain for light sensor.
 - avago,als_B					: Tuning value of COE_B parameter.
 - avago,als_C					: Tuning value of COE_C parameter.
 - avago,als_D					: Tuning value of COE_D parameter.
 - avago,ga_value				: Tuning value of the gain for light sensor.

 Example:

&i2c_0 { /* BLSP1 QUP2 */
	 avago@39 {
		 compatible = "avago,apds9930";
		 reg = <0x39>;
@@ -37,3 +40,4 @@ Required properties:
		 avago,als_D = <142>;
		 avago,ga_value = <48>;
	 };
};
 No newline at end of file