1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2022, Linaro Limited 4 */ 5 6 #include <dt-bindings/interrupt-controller/irq 7 #include <dt-bindings/spmi/spmi.h> 8 9 / { 10 thermal-zones { 11 pm8010-m-thermal { 12 polling-delay-passive 13 14 thermal-sensors = <&pm 15 16 trips { 17 trip0 { 18 temper 19 hyster 20 type = 21 }; 22 23 trip1 { 24 temper 25 hyster 26 type = 27 }; 28 }; 29 }; 30 31 pm8010-n-thermal { 32 polling-delay-passive 33 34 thermal-sensors = <&pm 35 36 trips { 37 trip0 { 38 temper 39 hyster 40 type = 41 }; 42 43 trip1 { 44 temper 45 hyster 46 type = 47 }; 48 }; 49 }; 50 }; 51 }; 52 53 54 &spmi_bus { 55 pm8010_m: pmic@c { 56 compatible = "qcom,pm8010", "q 57 reg = <0xc SPMI_USID>; 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 pm8010_m_temp_alarm: temp-alar 62 compatible = "qcom,spm 63 reg = <0x2400>; 64 interrupts = <0xc 0x24 65 #thermal-sensor-cells 66 }; 67 }; 68 69 pm8010_n: pmic@d { 70 compatible = "qcom,pm8010", "q 71 reg = <0xd SPMI_USID>; 72 #address-cells = <1>; 73 #size-cells = <0>; 74 75 pm8010_n_temp_alarm: temp-alar 76 compatible = "qcom,spm 77 reg = <0x2400>; 78 interrupts = <0xd 0x24 79 #thermal-sensor-cells 80 }; 81 }; 82 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.