dt-bindings: iio: adc: meson-saradc: add temperature sensor support
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 3 Nov 2018 23:10:23 +0000 (00:10 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Nov 2018 15:29:49 +0000 (15:29 +0000)
commit27be1f6408baa0ac629f3273433f61051357a60a
tree9cf3b4541b87ac411cce952031eed33e96de40f4
parentaddacf3b49ffc0ad0e8ec96697394fd2c2d0fcdb
dt-bindings: iio: adc: meson-saradc: add temperature sensor support

The 32-bit Meson8 SoC can use the SAR ADC to read the chip temperature.
This requires setting the correct TSC (temperature sensor coefficient),
which is programmed into the eFuse during the manufacturing process.
Meson8b and Meson8m2 are not supported yet because they have a 5-bit TSC
and only the first four bits are stored inside the SAR ADC registers.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt