Loading arch/arm/boot/dts/qcom/mdmcalifornium.dtsi +82 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x0>; qcom,limits-info = <&mitigation_profile0>; }; }; Loading Loading @@ -627,6 +628,87 @@ "phy_reset", "phy_phy_reset", "ref_clk_src", "ref_clk"; }; tsens0: tsens@4a9000 { compatible = "qcom,msm8996-tsens"; reg = <0x4a8000 0x2000>, <0x74230 0x1000>; reg-names = "tsens_physical", "tsens_eeprom_physical"; interrupts = <0 184 0>, <0 430 0>; interrupt-names = "tsens-upper-lower", "tsens-critical"; qcom,sensors = <5>; qcom,slope = <2901 2846 3200 3200 3200>; qcom,client-id = <0 1 2 3 4>; qcom,sensor-id = <0 1 2 3 6>; }; qcom,msm-thermal { compatible = "qcom,msm-thermal"; qcom,sensor-id = <3>; qcom,poll-ms = <250>; qcom,limit-temp = <60>; qcom,temp-hysteresis = <10>; qcom,freq-step = <2>; qcom,vdd-restriction-temp = <5>; qcom,vdd-restriction-temp-hysteresis = <10>; vdd-dig-supply = <&pmdcalifornium_s5_floor_level>; qcom,vdd-dig-rstr{ qcom,vdd-rstr-reg = "vdd-dig"; qcom,levels = <RPM_SMD_REGULATOR_LEVEL_NOM RPM_SMD_REGULATOR_LEVEL_TURBO RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,min-level = <RPM_SMD_REGULATOR_LEVEL_RETENTION>; }; }; qcom,sensor-information { compatible = "qcom,sensor-information"; sensor_information0: qcom,sensor-information-0 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor0"; }; sensor_information1: qcom,sensor-information-1 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor1"; }; sensor_information2: qcom,sensor-information-2 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor2"; }; sensor_information3: qcom,sensor-information-3 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor3"; }; sensor_information4: qcom,sensor-information-4 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor6"; qcom,alias-name = "modem"; }; sensor_information5: qcom,sensor-information-5 { qcom,sensor-type = "adc"; qcom,sensor-name = "pa_therm0"; }; sensor_information6: qcom,sensor-information-6 { qcom,sensor-type = "adc"; qcom,sensor-name = "pa_therm1"; }; sensor_information7: qcom,sensor-information-7 { qcom,sensor-type = "adc"; qcom,sensor-name = "xo_therm"; }; }; mitigation_profile0: qcom,limit_info-0 { qcom,temperature-sensor = <&sensor_information3>; }; }; &gdsc_usb30 { Loading Loading
arch/arm/boot/dts/qcom/mdmcalifornium.dtsi +82 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x0>; qcom,limits-info = <&mitigation_profile0>; }; }; Loading Loading @@ -627,6 +628,87 @@ "phy_reset", "phy_phy_reset", "ref_clk_src", "ref_clk"; }; tsens0: tsens@4a9000 { compatible = "qcom,msm8996-tsens"; reg = <0x4a8000 0x2000>, <0x74230 0x1000>; reg-names = "tsens_physical", "tsens_eeprom_physical"; interrupts = <0 184 0>, <0 430 0>; interrupt-names = "tsens-upper-lower", "tsens-critical"; qcom,sensors = <5>; qcom,slope = <2901 2846 3200 3200 3200>; qcom,client-id = <0 1 2 3 4>; qcom,sensor-id = <0 1 2 3 6>; }; qcom,msm-thermal { compatible = "qcom,msm-thermal"; qcom,sensor-id = <3>; qcom,poll-ms = <250>; qcom,limit-temp = <60>; qcom,temp-hysteresis = <10>; qcom,freq-step = <2>; qcom,vdd-restriction-temp = <5>; qcom,vdd-restriction-temp-hysteresis = <10>; vdd-dig-supply = <&pmdcalifornium_s5_floor_level>; qcom,vdd-dig-rstr{ qcom,vdd-rstr-reg = "vdd-dig"; qcom,levels = <RPM_SMD_REGULATOR_LEVEL_NOM RPM_SMD_REGULATOR_LEVEL_TURBO RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,min-level = <RPM_SMD_REGULATOR_LEVEL_RETENTION>; }; }; qcom,sensor-information { compatible = "qcom,sensor-information"; sensor_information0: qcom,sensor-information-0 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor0"; }; sensor_information1: qcom,sensor-information-1 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor1"; }; sensor_information2: qcom,sensor-information-2 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor2"; }; sensor_information3: qcom,sensor-information-3 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor3"; }; sensor_information4: qcom,sensor-information-4 { qcom,sensor-type = "tsens"; qcom,sensor-name = "tsens_tz_sensor6"; qcom,alias-name = "modem"; }; sensor_information5: qcom,sensor-information-5 { qcom,sensor-type = "adc"; qcom,sensor-name = "pa_therm0"; }; sensor_information6: qcom,sensor-information-6 { qcom,sensor-type = "adc"; qcom,sensor-name = "pa_therm1"; }; sensor_information7: qcom,sensor-information-7 { qcom,sensor-type = "adc"; qcom,sensor-name = "xo_therm"; }; }; mitigation_profile0: qcom,limit_info-0 { qcom,temperature-sensor = <&sensor_information3>; }; }; &gdsc_usb30 { Loading