Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/iio/light/
H A Dsharp,gp2ap002.yaml38 description: ALSOUT ADC channel to read the ambient light
41 const: alsout
81 io-channel-names = "alsout";
/openbmc/linux/drivers/iio/light/
H A 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()
503 gp2ap002->alsout = devm_iio_channel_get(dev, "alsout"); in gp2ap002_probe()
504 if (IS_ERR(gp2ap002->alsout)) { in gp2ap002_probe()
505 ret = PTR_ERR(gp2ap002->alsout); in gp2ap002_probe()
507 return dev_err_probe(dev, ret, "failed to get ALSOUT ADC channel\n"); in gp2ap002_probe()
509 ret = iio_get_channel_type(gp2ap002->alsout, &ch_type); in gp2ap002_probe()
514 "wrong type of IIO channel specified for ALSOUT\n"); in gp2ap002_probe()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-ux500-samsung-janice.dts584 /* ADC channel AUX2 to read ALSOUT ambient light sensor out */
586 io-channel-names = "alsout";
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Ds5pv210-aries.dtsi507 io-channel-names = "alsout";