arm64: dts: qcom: pms405: calibrate the VADC correctly
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:39:57 +0000 (19:09 +0530)
committerAndy Gross <agross@kernel.org>
Thu, 30 May 2019 02:36:45 +0000 (21:36 -0500)
commit7c2d4811d11547123bada3330fa2ad9f7ed240af
treeb7f9b0b77f65260507546276d3e28904d58f6ad0
parent14d27be1529c6ee5a4a966687b3b672c5588700d
arm64: dts: qcom: pms405: calibrate the VADC correctly

Set the qcom,ratiometric property to make the VADC use the VDD reference
(1.875V) and GND for channel calibration of the temperature channels
instead of 1.25V. Allow a 200us delay between the AMUX configuration and
ADC starting conversion using qcom,hw-settle-time as described in
documentation.

Fixes: 041b9a7b9fdb ("arm64: dts: pms405: Export PMIC temperature to thermal framework")
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/pms405.dtsi