Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66105674 authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

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
parent 42cab771
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -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";