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

Commit bcb1a8d6 authored by Shilpa Suresh's avatar Shilpa Suresh Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add scale-fn-type for batt_therm for QM215

Add the Scaling function type for the battery thermistor
for the QM215 hardware.

Change-Id: If468feab45af1603f730d0b01ebc26945c9d20d0
parent fe0cdfac
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>

&blsp1_uart2 {
	status = "ok";
@@ -28,6 +29,12 @@
	status = "ok";
};

&pm8916_vadc {
	batt_therm {
		qcom,scale-fn-type = <ADC_SCALE_BATT_THERM_QRD_215>;
	};
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";