Home
last modified time | relevance | path

Searched +full:dark +full:- +full:ths (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/light/
Dupisemi,us5182.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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:
[all …]
/linux-6.12.1/drivers/iio/light/
Dus5182d.c1 // SPDX-License-Identifier: GPL-2.0-only
46 * Registers for tuning the auto dark current cancelling feature.
47 * DARK_TH(reg 0x27,0x28) - threshold (counts) for auto dark cancelling.
48 * when ALS > DARK_TH --> ALS_Code = ALS - Upper(0x2A) * Dark
49 * when ALS < DARK_TH --> ALS_Code = ALS - Lower(0x29) * Dark
56 /* Thresholds for events: px low (0x08-l, 0x09-h), px high (0x0a-l 0x0b-h) */
101 * roughly between 12-32 lux
124 /* Dark gain tuning */
202 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_oneshot_en()
212 return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret); in us5182d_oneshot_en()
[all …]