From 5c54e58a8e8eef5444a79eb1fadb4ce149c0960a Mon Sep 17 00:00:00 2001 From: chenyb1 Date: Fri, 23 Oct 2020 16:00:43 +0800 Subject: [PATCH] Add Rear Camera NTC It's HW factory verify request. Config Rear Camera Thermistor for both Denver and Ibiza Change-Id: I7ec50d1a3bde861fff5771eb3a4f03df3468f265 Reviewed-on: https://gerrit.mot.com/1783218 Tested-by: Jira Key SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Lu Chai Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/holi-denver-common-overlay.dtsi | 17 +++++++++++++++-- qcom/holi-ibiza-common-overlay.dtsi | 14 ++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/qcom/holi-denver-common-overlay.dtsi b/qcom/holi-denver-common-overlay.dtsi index 5ef7a38c59e0..ad50a3a87a6f 100644 --- a/qcom/holi-denver-common-overlay.dtsi +++ b/qcom/holi-denver-common-overlay.dtsi @@ -186,7 +186,21 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; - thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM1_100K_PU>; + thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM3_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + cam_flash_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO3_100K_PU>; wake-capable-sensor; trips { active-config0 { @@ -210,7 +224,6 @@ }; }; }; - chg_therm { polling-delay-passive = <0>; polling-delay = <0>; diff --git a/qcom/holi-ibiza-common-overlay.dtsi b/qcom/holi-ibiza-common-overlay.dtsi index 25ead39b149a..b3269e44195b 100644 --- a/qcom/holi-ibiza-common-overlay.dtsi +++ b/qcom/holi-ibiza-common-overlay.dtsi @@ -381,6 +381,20 @@ }; }; }; + cam_flash_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM3_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; xo_therm { polling-delay-passive = <0>; polling-delay = <0>;