Lines Matching +full:sensor +full:- +full:gain
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: UPISEMI us5182d I2C ALS and Proximity sensor
10 - Jonathan Cameron <jic23@kernel.org>
19 upisemi,glass-coef:
22 glass attenuation factor - compensation factor of resolution 1000
26 upisemi,dark-ths:
27 $ref: /schemas/types.yaml#/definitions/uint16-array
31 16-bit thresholds (adc counts) corresponding to every scale.
33 upisemi,upper-dark-gain:
36 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
40 upisemi,lower-dark-gain:
43 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
50 This chip has two power modes: one-shot (chip takes one measurement and
52 measurements). The one-shot mode is more power-friendly but the
54 the continuous mode will be used instead of the default one-shot one for
60 - compatible
61 - reg
64 - |
66 #address-cells = <1>;
67 #size-cells = <0>;
69 light-sensor@39 {
72 upisemi,glass-coef = < 1000 >;
73 upisemi,dark-ths = /bits/ 16 <170 200 512 512 800 2000 4000 8000>;
74 upisemi,upper-dark-gain = /bits/ 8 <0x00>;
75 upisemi,lower-dark-gain = /bits/ 8 <0x16>;