Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'qcom-dts-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt

Qualcomm Device Tree Changes for v5.5

* Add thermal zones and IRQ support for MSM8974
* Add 5vs2 regulator node for PM8941
* Add reboot-mode node, fix sdhci and card detect on MSM8974-FP2
* Add IPQ4019 SDHCI node

* tag 'qcom-dts-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
ARM: dts: msm8974: thermal: Add thermal zones for each sensor
ARM: dts: msm8974: thermal: Add interrupt support
ARM: dts: qcom: pm8941: add 5vs2 regulator node
ARM: dts: msm8974-FP2: add reboot-mode node
ARM: dts: msm8974-FP2: Increase load on l20 for sdhci
ARM: dts: msm8974-FP2: Drop unused card-detect pin
ARM: dts: qcom: ipq4019: Add SDHCI controller node

Link: https://lore.kernel.org/r/1573068840-13098-5-git-send-email-agross@kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>

+138 -9
+12
arch/arm/boot/dts/qcom-ipq4019.dtsi
··· 206 206 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 207 207 }; 208 208 209 + sdhci: sdhci@7824900 { 210 + compatible = "qcom,sdhci-msm-v4"; 211 + reg = <0x7824900 0x11c>, <0x7824000 0x800>; 212 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 213 + interrupt-names = "hc_irq", "pwr_irq"; 214 + bus-width = <8>; 215 + clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>, 216 + <&gcc GCC_DCD_XO_CLK>; 217 + clock-names = "core", "iface", "xo"; 218 + status = "disabled"; 219 + }; 220 + 209 221 blsp_dma: dma@7884000 { 210 222 compatible = "qcom,bam-v1.7.0"; 211 223 reg = <0x07884000 0x23000>;
+13 -9
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
··· 221 221 regulator-max-microvolt = <2950000>; 222 222 223 223 regulator-boot-on; 224 + regulator-system-load = <200000>; 225 + regulator-allow-set-load; 224 226 }; 225 227 226 228 l21 { ··· 274 272 }; 275 273 }; 276 274 277 - sdhc2_cd_pin_a: sdhc2-cd-pin-active { 278 - pins = "gpio62"; 279 - function = "gpio"; 280 - 281 - drive-strength = <2>; 282 - bias-disable; 283 - }; 284 - 285 275 sdhc2_pin_a: sdhc2-pin-active { 286 276 clk { 287 277 pins = "sdc2_clk"; ··· 311 317 bus-width = <4>; 312 318 313 319 pinctrl-names = "default"; 314 - pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>; 320 + pinctrl-0 = <&sdhc2_pin_a>; 315 321 }; 316 322 317 323 usb@f9a55000 { ··· 336 342 extcon = <&smbb>; 337 343 qcom,init-seq = /bits/ 8 <0x1 0x64>; 338 344 }; 345 + }; 346 + }; 347 + 348 + imem@fe805000 { 349 + status = "okay"; 350 + 351 + reboot-mode { 352 + mode-normal = <0x77665501>; 353 + mode-bootloader = <0x77665500>; 354 + mode-recovery = <0x77665502>; 339 355 }; 340 356 }; 341 357 };
+103
arch/arm/boot/dts/qcom-msm8974.dtsi
··· 217 217 }; 218 218 }; 219 219 }; 220 + 221 + q6-dsp-thermal { 222 + polling-delay-passive = <250>; 223 + polling-delay = <1000>; 224 + 225 + thermal-sensors = <&tsens 1>; 226 + 227 + trips { 228 + q6_dsp_alert0: trip-point0 { 229 + temperature = <90000>; 230 + hysteresis = <2000>; 231 + type = "hot"; 232 + }; 233 + }; 234 + }; 235 + 236 + modemtx-thermal { 237 + polling-delay-passive = <250>; 238 + polling-delay = <1000>; 239 + 240 + thermal-sensors = <&tsens 2>; 241 + 242 + trips { 243 + modemtx_alert0: trip-point0 { 244 + temperature = <90000>; 245 + hysteresis = <2000>; 246 + type = "hot"; 247 + }; 248 + }; 249 + }; 250 + 251 + video-thermal { 252 + polling-delay-passive = <250>; 253 + polling-delay = <1000>; 254 + 255 + thermal-sensors = <&tsens 3>; 256 + 257 + trips { 258 + video_alert0: trip-point0 { 259 + temperature = <95000>; 260 + hysteresis = <2000>; 261 + type = "hot"; 262 + }; 263 + }; 264 + }; 265 + 266 + wlan-thermal { 267 + polling-delay-passive = <250>; 268 + polling-delay = <1000>; 269 + 270 + thermal-sensors = <&tsens 4>; 271 + 272 + trips { 273 + wlan_alert0: trip-point0 { 274 + temperature = <105000>; 275 + hysteresis = <2000>; 276 + type = "hot"; 277 + }; 278 + }; 279 + }; 280 + 281 + gpu-thermal-top { 282 + polling-delay-passive = <250>; 283 + polling-delay = <1000>; 284 + 285 + thermal-sensors = <&tsens 9>; 286 + 287 + trips { 288 + gpu1_alert0: trip-point0 { 289 + temperature = <90000>; 290 + hysteresis = <2000>; 291 + type = "hot"; 292 + }; 293 + }; 294 + }; 295 + 296 + gpu-thermal-bottom { 297 + polling-delay-passive = <250>; 298 + polling-delay = <1000>; 299 + 300 + thermal-sensors = <&tsens 10>; 301 + 302 + trips { 303 + gpu2_alert0: trip-point0 { 304 + temperature = <90000>; 305 + hysteresis = <2000>; 306 + type = "hot"; 307 + }; 308 + }; 309 + }; 220 310 }; 221 311 222 312 cpu-pmu { ··· 531 441 nvmem-cells = <&tsens_calib>, <&tsens_backup>; 532 442 nvmem-cell-names = "calib", "calib_backup"; 533 443 #qcom,sensors = <11>; 444 + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 445 + interrupt-names = "uplow"; 534 446 #thermal-sensor-cells = <1>; 535 447 }; 536 448 ··· 1307 1215 1308 1216 clocks = <&mmcc MDSS_AHB_CLK>; 1309 1217 clock-names = "iface"; 1218 + }; 1219 + }; 1220 + 1221 + imem@fe805000 { 1222 + status = "disabled"; 1223 + compatible = "syscon", "simple-mfd"; 1224 + reg = <0xfe805000 0x1000>; 1225 + 1226 + reboot-mode { 1227 + compatible = "syscon-reboot-mode"; 1228 + offset = <0x65c>; 1310 1229 }; 1311 1230 }; 1312 1231 };
+10
arch/arm/boot/dts/qcom-pm8941.dtsi
··· 178 178 qcom,vs-soft-start-strength = <0>; 179 179 regulator-initial-mode = <1>; 180 180 }; 181 + 182 + pm8941_5vs2: 5vs2 { 183 + regulator-enable-ramp-delay = <1000>; 184 + regulator-pull-down; 185 + regulator-over-current-protection; 186 + qcom,ocp-max-retries = <10>; 187 + qcom,ocp-retry-delay = <30>; 188 + qcom,vs-soft-start-strength = <0>; 189 + regulator-initial-mode = <1>; 190 + }; 181 191 }; 182 192 }; 183 193 };