Home
last modified time | relevance | path

Searched full:alsout (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/iio/light/
Dsharp,gp2ap002.yaml38 description: ALSOUT ADC channel to read the ambient light
41 const: alsout
81 io-channel-names = "alsout";
/Linux-v5.15/drivers/iio/light/
Dgp2ap002.c132 * @alsout: IIO ADC channel to convert the ALSOUT signal
145 struct iio_channel *alsout; member
233 ret = iio_read_channel_processed(gp2ap002->alsout, &res); in gp2ap002_get_lux()
504 gp2ap002->alsout = devm_iio_channel_get(dev, "alsout"); in gp2ap002_probe()
505 if (IS_ERR(gp2ap002->alsout)) { in gp2ap002_probe()
506 if (PTR_ERR(gp2ap002->alsout) == -ENODEV) { in gp2ap002_probe()
510 dev_err(dev, "failed to get ALSOUT ADC channel\n"); in gp2ap002_probe()
511 return PTR_ERR(gp2ap002->alsout); in gp2ap002_probe()
513 ret = iio_get_channel_type(gp2ap002->alsout, &ch_type); in gp2ap002_probe()
518 "wrong type of IIO channel specified for ALSOUT\n"); in gp2ap002_probe()
/Linux-v5.15/arch/arm/boot/dts/
Dste-ux500-samsung-janice.dts524 /* ADC channel AUX2 to read ALSOUT ambient light sensor out */
526 io-channel-names = "alsout";
Ds5pv210-aries.dtsi507 io-channel-names = "alsout";