File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 176176 };
177177 };
178178
179+ mem-thermal {
180+ polling-delay-passive = <0>;
181+
182+ thermal-sensors = <&pm7250b_adc_tm 2>;
183+
184+ trips {
185+ active-config0 {
186+ temperature = <125000>;
187+ hysteresis = <1000>;
188+ type = "passive";
189+ };
190+ };
191+ };
192+
179193 quiet-thermal {
180194 polling-delay-passive = <0>;
181195
642656};
643657
644658&pm7250b_adc {
659+ pinctrl-0 = <&pm7250b_adc_default>;
660+ pinctrl-names = "default";
661+
645662 channel@4d {
646663 reg = <ADC5_AMUX_THM1_100K_PU>;
647664 qcom,ratiometric;
657674 qcom,pre-scaling = <1 1>;
658675 label = "conn_therm";
659676 };
677+
678+ channel@53 {
679+ reg = <ADC5_GPIO2_100K_PU>;
680+ qcom,ratiometric;
681+ qcom,hw-settle-time = <200>;
682+ qcom,pre-scaling = <1 1>;
683+ label = "mem_therm";
684+ };
660685};
661686
662687&pm7250b_adc_tm {
675700 qcom,ratiometric;
676701 qcom,hw-settle-time-us = <200>;
677702 };
703+
704+ mem-therm@2 {
705+ reg = <2>;
706+ io-channels = <&pm7250b_adc ADC5_GPIO2_100K_PU>;
707+ qcom,ratiometric;
708+ qcom,hw-settle-time-us = <200>;
709+ };
710+ };
711+
712+ &pm7250b_gpios {
713+ pm7250b_adc_default: adc-default-state {
714+ pins = "gpio12";
715+ function = PMIC_GPIO_FUNC_NORMAL;
716+ bias-high-impedance;
717+ };
678718};
679719
680720&pm7325_gpios {
You can’t perform that action at this time.
0 commit comments