Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/iio/light/
H A 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/drivers/iio/light/
H A Dnoa1305.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Support for ON Semiconductor NOA1305 ambient light sensor
45 #define NOA1305_DRIVER_NAME "noa1305"
79 ret = regmap_bulk_read(priv->regmap, NOA1305_REG_ALS_DATA_LSB, &data, in noa1305_measure()
94 ret = regmap_read(priv->regmap, NOA1305_REG_INTEGRATION_TIME, &data); in noa1305_scale()
116 ret = regmap_read(priv->regmap, NOA1305_REG_INTEGRATION_TIME, &data); in noa1305_int_time()
143 if (chan->type != IIO_LIGHT) in noa1305_read_avail()
144 return -EINVAL; in noa1305_read_avail()
158 return -EINVAL; in noa1305_read_avail()
168 if (chan->type != IIO_LIGHT) in noa1305_read_raw()
[all …]