diff options
author | Jishnu Prakash <jprakash@qti.qualcomm.com> | 2019-12-02 18:55:54 +0530 |
---|---|---|
committer | Jishnu Prakash <jprakash@qti.qualcomm.com> | 2019-12-02 18:55:54 +0530 |
commit | 66105674b88644b81a60e1e4377913e26274ca37 (patch) | |
tree | c40ac02b3e46e1d0e385b2317b337ee7a882df80 /qcom/bengal-idp.dtsi | |
parent | 42cab771760cd2db499cad5a7c803c82dfc88881 (diff) | |
download | devicetree-66105674b88644b81a60e1e4377913e26274ca37.tar.gz |
ARM: dts: msm: Add gpio configuration for pa_therm1 for bengal
Add gpio configurations for pa_therm1 on VADC on PM6125 to get
accurate readings for it.
Change-Id: I5b7970dcdc7307a6a6479f39c9522bc861ea2999
Diffstat (limited to 'qcom/bengal-idp.dtsi')
-rw-r--r-- | qcom/bengal-idp.dtsi | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/qcom/bengal-idp.dtsi b/qcom/bengal-idp.dtsi index 7edec69e..6a5378d5 100644 --- a/qcom/bengal-idp.dtsi +++ b/qcom/bengal-idp.dtsi @@ -18,6 +18,8 @@ }; &pm6125_vadc { + pinctrl-0 = <&camera_therm_default &emmc_therm_default &rf_pa1_therm_default>; + rf_pa1_therm { reg = <ADC_GPIO4_PU2>; label = "rf_pa1_therm"; @@ -41,7 +43,7 @@ }; &thermal_zones { - rf-pa1-therm-adc { + rf-pa1-therm-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; @@ -86,6 +88,14 @@ }; &pm6125_gpios { + + rf_pa1_therm { + rf_pa1_therm_default: rf_pa1_therm_default { + pins = "gpio7"; + bias-high-impedance; + }; + }; + key_vol_up { key_vol_up_default: key_vol_up_default { pins = "gpio5"; |