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

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: renesas: r8a779h0: Add thermal nodes

Add device nodes for the Thermal Sensor/Chip Internal Voltage
Monitor/Core Voltage Monitor (THS/CIVM/CVM) and the various thermal
zones on the Renesas R-Car V4M (R8A779H0) SoC.

Add support for 2 TSC nodes of thermal.

Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/d1f07c77943912145583d8916ba3ca65d143b1b1.1709722573.git.geert+renesas@glider.be

authored by

Duy Nguyen and committed by
Geert Uytterhoeven
e4caa0ba 1aa24b0b

+40
+40
arch/arm64/boot/dts/renesas/r8a779h0.dtsi
··· 318 318 #power-domain-cells = <1>; 319 319 }; 320 320 321 + tsc: thermal@e6198000 { 322 + compatible = "renesas,r8a779h0-thermal"; 323 + reg = <0 0xe6198000 0 0x200>, 324 + <0 0xe61a0000 0 0x200>; 325 + clocks = <&cpg CPG_MOD 919>; 326 + power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>; 327 + resets = <&cpg 919>; 328 + #thermal-sensor-cells = <1>; 329 + }; 330 + 321 331 i2c0: i2c@e6500000 { 322 332 compatible = "renesas,i2c-r8a779h0", 323 333 "renesas,rcar-gen4-i2c"; ··· 660 650 prr: chipid@fff00044 { 661 651 compatible = "renesas,prr"; 662 652 reg = <0 0xfff00044 0 4>; 653 + }; 654 + }; 655 + 656 + thermal-zones { 657 + sensor_thermal_cr52: sensor1-thermal { 658 + polling-delay-passive = <250>; 659 + polling-delay = <1000>; 660 + thermal-sensors = <&tsc 0>; 661 + 662 + trips { 663 + sensor1_crit: sensor1-crit { 664 + temperature = <120000>; 665 + hysteresis = <1000>; 666 + type = "critical"; 667 + }; 668 + }; 669 + }; 670 + 671 + sensor_thermal_ca76: sensor2-thermal { 672 + polling-delay-passive = <250>; 673 + polling-delay = <1000>; 674 + thermal-sensors = <&tsc 1>; 675 + 676 + trips { 677 + sensor2_crit: sensor2-crit { 678 + temperature = <120000>; 679 + hysteresis = <1000>; 680 + type = "critical"; 681 + }; 682 + }; 663 683 }; 664 684 }; 665 685