1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2022, Linaro Limited 3 * Copyright (c) 2022, Linaro Limited 4 */ 4 */ 5 5 6 #include <dt-bindings/interrupt-controller/irq 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 7 #include <dt-bindings/spmi/spmi.h> 8 8 9 / { 9 / { 10 thermal-zones { 10 thermal-zones { 11 pm8550vs-c-thermal { 11 pm8550vs-c-thermal { 12 polling-delay-passive 12 polling-delay-passive = <100>; >> 13 polling-delay = <0>; 13 14 14 thermal-sensors = <&pm 15 thermal-sensors = <&pm8550vs_c_temp_alarm>; 15 16 16 trips { 17 trips { 17 trip0 { 18 trip0 { 18 temper 19 temperature = <95000>; 19 hyster 20 hysteresis = <0>; 20 type = 21 type = "passive"; 21 }; 22 }; 22 23 23 trip1 { 24 trip1 { 24 temper 25 temperature = <115000>; 25 hyster 26 hysteresis = <0>; 26 type = 27 type = "hot"; 27 }; 28 }; 28 }; 29 }; 29 }; 30 }; 30 31 31 pm8550vs-d-thermal { 32 pm8550vs-d-thermal { 32 polling-delay-passive 33 polling-delay-passive = <100>; >> 34 polling-delay = <0>; 33 35 34 thermal-sensors = <&pm 36 thermal-sensors = <&pm8550vs_d_temp_alarm>; 35 37 36 trips { 38 trips { 37 trip0 { 39 trip0 { 38 temper 40 temperature = <95000>; 39 hyster 41 hysteresis = <0>; 40 type = 42 type = "passive"; 41 }; 43 }; 42 44 43 trip1 { 45 trip1 { 44 temper 46 temperature = <115000>; 45 hyster 47 hysteresis = <0>; 46 type = 48 type = "hot"; 47 }; 49 }; 48 }; 50 }; 49 }; 51 }; 50 52 51 pm8550vs-e-thermal { 53 pm8550vs-e-thermal { 52 polling-delay-passive 54 polling-delay-passive = <100>; >> 55 polling-delay = <0>; 53 56 54 thermal-sensors = <&pm 57 thermal-sensors = <&pm8550vs_e_temp_alarm>; 55 58 56 trips { 59 trips { 57 trip0 { 60 trip0 { 58 temper 61 temperature = <95000>; 59 hyster 62 hysteresis = <0>; 60 type = 63 type = "passive"; 61 }; 64 }; 62 65 63 trip1 { 66 trip1 { 64 temper 67 temperature = <115000>; 65 hyster 68 hysteresis = <0>; 66 type = 69 type = "hot"; 67 }; 70 }; 68 }; 71 }; 69 }; 72 }; 70 73 71 pm8550vs-g-thermal { 74 pm8550vs-g-thermal { 72 polling-delay-passive 75 polling-delay-passive = <100>; >> 76 polling-delay = <0>; 73 77 74 thermal-sensors = <&pm 78 thermal-sensors = <&pm8550vs_g_temp_alarm>; 75 79 76 trips { 80 trips { 77 trip0 { 81 trip0 { 78 temper 82 temperature = <95000>; 79 hyster 83 hysteresis = <0>; 80 type = 84 type = "passive"; 81 }; 85 }; 82 86 83 trip1 { 87 trip1 { 84 temper 88 temperature = <115000>; 85 hyster 89 hysteresis = <0>; 86 type = 90 type = "hot"; 87 }; 91 }; 88 }; 92 }; 89 }; 93 }; 90 }; 94 }; 91 }; 95 }; 92 96 93 97 94 &spmi_bus { 98 &spmi_bus { 95 pm8550vs_c: pmic@2 { 99 pm8550vs_c: pmic@2 { 96 compatible = "qcom,pm8550", "q 100 compatible = "qcom,pm8550", "qcom,spmi-pmic"; 97 reg = <0x2 SPMI_USID>; 101 reg = <0x2 SPMI_USID>; 98 #address-cells = <1>; 102 #address-cells = <1>; 99 #size-cells = <0>; 103 #size-cells = <0>; 100 104 101 pm8550vs_c_temp_alarm: temp-al 105 pm8550vs_c_temp_alarm: temp-alarm@a00 { 102 compatible = "qcom,spm 106 compatible = "qcom,spmi-temp-alarm"; 103 reg = <0xa00>; 107 reg = <0xa00>; 104 interrupts = <0x2 0xa 108 interrupts = <0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 105 #thermal-sensor-cells 109 #thermal-sensor-cells = <0>; 106 }; 110 }; 107 111 108 pm8550vs_c_gpios: gpio@8800 { 112 pm8550vs_c_gpios: gpio@8800 { 109 compatible = "qcom,pm8 113 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio"; 110 reg = <0x8800>; 114 reg = <0x8800>; 111 gpio-controller; 115 gpio-controller; 112 gpio-ranges = <&pm8550 116 gpio-ranges = <&pm8550vs_c_gpios 0 0 6>; 113 #gpio-cells = <2>; 117 #gpio-cells = <2>; 114 interrupt-controller; 118 interrupt-controller; 115 #interrupt-cells = <2> 119 #interrupt-cells = <2>; 116 }; 120 }; 117 }; 121 }; 118 122 119 pm8550vs_d: pmic@3 { 123 pm8550vs_d: pmic@3 { 120 compatible = "qcom,pm8550", "q 124 compatible = "qcom,pm8550", "qcom,spmi-pmic"; 121 reg = <0x3 SPMI_USID>; 125 reg = <0x3 SPMI_USID>; 122 #address-cells = <1>; 126 #address-cells = <1>; 123 #size-cells = <0>; 127 #size-cells = <0>; 124 128 125 pm8550vs_d_temp_alarm: temp-al 129 pm8550vs_d_temp_alarm: temp-alarm@a00 { 126 compatible = "qcom,spm 130 compatible = "qcom,spmi-temp-alarm"; 127 reg = <0xa00>; 131 reg = <0xa00>; 128 interrupts = <0x3 0xa 132 interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 129 #thermal-sensor-cells 133 #thermal-sensor-cells = <0>; 130 }; 134 }; 131 135 132 pm8550vs_d_gpios: gpio@8800 { 136 pm8550vs_d_gpios: gpio@8800 { 133 compatible = "qcom,pm8 137 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio"; 134 reg = <0x8800>; 138 reg = <0x8800>; 135 gpio-controller; 139 gpio-controller; 136 gpio-ranges = <&pm8550 140 gpio-ranges = <&pm8550vs_d_gpios 0 0 6>; 137 #gpio-cells = <2>; 141 #gpio-cells = <2>; 138 interrupt-controller; 142 interrupt-controller; 139 #interrupt-cells = <2> 143 #interrupt-cells = <2>; 140 }; 144 }; 141 }; 145 }; 142 146 143 pm8550vs_e: pmic@4 { 147 pm8550vs_e: pmic@4 { 144 compatible = "qcom,pm8550", "q 148 compatible = "qcom,pm8550", "qcom,spmi-pmic"; 145 reg = <0x4 SPMI_USID>; 149 reg = <0x4 SPMI_USID>; 146 #address-cells = <1>; 150 #address-cells = <1>; 147 #size-cells = <0>; 151 #size-cells = <0>; 148 152 149 pm8550vs_e_temp_alarm: temp-al 153 pm8550vs_e_temp_alarm: temp-alarm@a00 { 150 compatible = "qcom,spm 154 compatible = "qcom,spmi-temp-alarm"; 151 reg = <0xa00>; 155 reg = <0xa00>; 152 interrupts = <0x4 0xa 156 interrupts = <0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 153 #thermal-sensor-cells 157 #thermal-sensor-cells = <0>; 154 }; 158 }; 155 159 156 pm8550vs_e_gpios: gpio@8800 { 160 pm8550vs_e_gpios: gpio@8800 { 157 compatible = "qcom,pm8 161 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio"; 158 reg = <0x8800>; 162 reg = <0x8800>; 159 gpio-controller; 163 gpio-controller; 160 gpio-ranges = <&pm8550 164 gpio-ranges = <&pm8550vs_e_gpios 0 0 6>; 161 #gpio-cells = <2>; 165 #gpio-cells = <2>; 162 interrupt-controller; 166 interrupt-controller; 163 #interrupt-cells = <2> 167 #interrupt-cells = <2>; 164 }; 168 }; 165 }; 169 }; 166 170 167 pm8550vs_g: pmic@6 { 171 pm8550vs_g: pmic@6 { 168 compatible = "qcom,pm8550", "q 172 compatible = "qcom,pm8550", "qcom,spmi-pmic"; 169 reg = <0x6 SPMI_USID>; 173 reg = <0x6 SPMI_USID>; 170 #address-cells = <1>; 174 #address-cells = <1>; 171 #size-cells = <0>; 175 #size-cells = <0>; 172 176 173 pm8550vs_g_temp_alarm: temp-al 177 pm8550vs_g_temp_alarm: temp-alarm@a00 { 174 compatible = "qcom,spm 178 compatible = "qcom,spmi-temp-alarm"; 175 reg = <0xa00>; 179 reg = <0xa00>; 176 interrupts = <0x6 0xa 180 interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 177 #thermal-sensor-cells 181 #thermal-sensor-cells = <0>; 178 }; 182 }; 179 183 180 pm8550vs_g_gpios: gpio@8800 { 184 pm8550vs_g_gpios: gpio@8800 { 181 compatible = "qcom,pm8 185 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio"; 182 reg = <0x8800>; 186 reg = <0x8800>; 183 gpio-controller; 187 gpio-controller; 184 gpio-ranges = <&pm8550 188 gpio-ranges = <&pm8550vs_g_gpios 0 0 6>; 185 #gpio-cells = <2>; 189 #gpio-cells = <2>; 186 interrupt-controller; 190 interrupt-controller; 187 #interrupt-cells = <2> 191 #interrupt-cells = <2>; 188 }; 192 }; 189 }; 193 }; 190 }; 194 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.