From 29e3c11728124002d7665286469147a120a31fce Mon Sep 17 00:00:00 2001 From: Siddartha Mohanadoss Date: Fri, 22 Jul 2016 14:16:11 -0700 Subject: [PATCH] ARM: dts: msm: Remove TSENS QFPROM address and slope data TSENS (Temperature sensor) driver does not need to map the QFPROM region to obtain the gain and offset since these are programmed in the boot initialization to the controller. This removes the dependency for the application TSENS driver to map the QFPROM physical region. Hence remove this property as its optional. Also remove the default slope values that are used in cases where the application TSENS driver uses it for calibrationless mode. Change-Id: Id6893729f5b37a862f3621b8c7897eb767490cd7 Signed-off-by: Siddartha Mohanadoss --- arch/arm/boot/dts/qcom/msmcobalt.dtsi | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt.dtsi b/arch/arm/boot/dts/qcom/msmcobalt.dtsi index f02abd2173ef..6248c2ab139e 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt.dtsi @@ -2061,27 +2061,22 @@ tsens0: tsens@10aa000 { compatible = "qcom,msmcobalt-tsens"; - reg = <0x10aa000 0x2000>, - <0x74230 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; + reg = <0x10aa000 0x2000>; + reg-names = "tsens_physical"; interrupts = <0 458 0>, <0 445 0>; interrupt-names = "tsens-upper-lower", "tsens-critical"; qcom,sensors = <14>; - qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200 3200 - 3200 3200 3200 3200 3200>; }; tsens1: tsens@10ad000 { compatible = "qcom,msmcobalt-tsens"; - reg = <0x10ad000 0x2000>, - <0x75230 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; + reg = <0x10ad000 0x2000>; + reg-names = "tsens_physical"; interrupts = <0 184 0>, <0 430 0>; interrupt-names = "tsens-upper-lower", "tsens-critical"; qcom,client-id = <14 15 16 17 18 19 20 21>; qcom,sensor-id = <0 1 3 4 5 6 7 2>; qcom,sensors = <8>; - qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200>; }; qcom,sensor-information {