]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
dt-bindings: iio: adc: meson-saradc: update temperature sensor support
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Thu, 27 Dec 2018 21:50:19 +0000 (22:50 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Jan 2019 16:37:37 +0000 (16:37 +0000)
commita4b475b1abbb41b71d62e088a1ffd2b86e5e0aa0
tree979f7d547a87a0171fadc1c2eee5eafb51e3e93c
parent6e33a125df66664a09cd518a2e1dd63b4ccddef8
dt-bindings: iio: adc: meson-saradc: update temperature sensor support

Meson8b and Meson8m2 use a 5-bit wide TSC (temperature sensor
coefficient). The SAR ADC registers however can only store (the lower)
4 bits. The fifth (upper-most) bit is stored inside the
MESON_HHI_DPLL_TOP_0[9] register from the HHI register area.
This adds a syscon property to the HHI register area so a driver can
fetch the HHI register map and store the fifth TSC bit in there.

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