summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/uniphier-pro4-sanji.dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-01-19 01:52:24 +0300
committerKevin Hilman <khilman@baylibre.com>2019-02-11 23:52:26 +0300
commitbbbcf64360bb32c8eab46020b78a0c0e0de4c40c (patch)
treee47057eca5d32081fc65944137950bf5d6310919 /arch/arm/boot/dts/uniphier-pro4-sanji.dts
parentf4c6e8e223c2c77cd3bdde4c9da280fb2338aa5b (diff)
downloadlinux-bbbcf64360bb32c8eab46020b78a0c0e0de4c40c.tar.xz
ARM: dts: meson8b: add the temperature calibration data for the SAR ADC
The SAR ADC can measure the chip temperature of the SoC. This only works if the chip is calibrated and if the calibration data is written to the correct registers. The calibration data is stored in the upper two bytes of eFuse offset 0x1f4. This adds the eFuse cell for the temperature calibration data and passes it to the SAR ADC. We also need to pass the HHI sysctrl node to the SAR ADC because the 4th TSC (temperature sensor calibration coefficient) bit is stored in the HHI region (unlike bits [3:0] which are stored directly inside the SAR ADC's register area). On boards that have the SAR ADC enabled channel 8 can be used to measure the chip temperature. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/uniphier-pro4-sanji.dts')
0 files changed, 0 insertions, 0 deletions