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: r9a07g043: Create thermal zone to support IPA

Setup a thermal zone driven by SoC temperature sensor.
Create passive trip points and bind them to CPUFreq cooling
device that supports power extension.

Based on the work done by Dien Pham <dien.pham.ry@renesas.com>
and others for r8a77990 SoC.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220501112926.47024-6-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
c2ff5c02 91e548da

+16
+16
arch/arm64/boot/dts/renesas/r9a07g043.dtsi
··· 77 77 compatible = "arm,cortex-a55"; 78 78 reg = <0>; 79 79 device_type = "cpu"; 80 + #cooling-cells = <2>; 80 81 next-level-cache = <&L3_CA55>; 81 82 enable-method = "psci"; 82 83 clocks = <&cpg CPG_CORE R9A07G043_CLK_I>; ··· 842 841 polling-delay-passive = <250>; 843 842 polling-delay = <1000>; 844 843 thermal-sensors = <&tsu 0>; 844 + sustainable-power = <717>; 845 + 846 + cooling-maps { 847 + map0 { 848 + trip = <&target>; 849 + cooling-device = <&cpu0 0 2>; 850 + contribution = <1024>; 851 + }; 852 + }; 845 853 846 854 trips { 847 855 sensor_crit: sensor-crit { 848 856 temperature = <125000>; 849 857 hysteresis = <1000>; 850 858 type = "critical"; 859 + }; 860 + 861 + target: trip-point { 862 + temperature = <100000>; 863 + hysteresis = <1000>; 864 + type = "passive"; 851 865 }; 852 866 }; 853 867 };