Home
last modified time | relevance | path

Searched +full:noa1305 +full:- +full:d (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/iio/light/
Dnoa1305.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/light/noa1305.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ON Semiconductor NOA1305 Ambient Light Sensor
10 - Martyn Welch <martyn.welch@collabora.com>
15 https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF
20 - onnn,noa1305
25 vin-supply:
29 - compatible
[all …]
/Linux-v6.1/drivers/iio/light/
Dnoa1305.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Support for ON Semiconductor NOA1305 ambient light sensor
44 #define NOA1305_DRIVER_NAME "noa1305"
57 ret = regmap_bulk_read(priv->regmap, NOA1305_REG_ALS_DATA_LSB, &data, in noa1305_measure()
70 ret = regmap_read(priv->regmap, NOA1305_REG_INTEGRATION_TIME, &data); in noa1305_scale()
114 return -EINVAL; in noa1305_scale()
132 int ret = -EINVAL; in noa1305_read_raw()
137 switch (chan->type) { in noa1305_read_raw()
149 switch (chan->type) { in noa1305_read_raw()
194 regulator_disable(priv->vin_reg); in noa1305_reg_remove()
[all …]