Lines Matching +full:can +full:- +full:clock +full:- +full:select
4 or interrupt-based thermal monitoring, CPU and GPU throttling based
10 - compatible : For Tegra124, must contain "nvidia,tegra124-soctherm".
11 For Tegra132, must contain "nvidia,tegra132-soctherm".
12 For Tegra210, must contain "nvidia,tegra210-soctherm".
13 - reg : Should contain at least 2 entries for each entry in reg-names:
14 - SOCTHERM register set
15 - Tegra CAR register set: Required for Tegra124 and Tegra210.
16 - CCROC register set: Required for Tegra132.
17 - reg-names : Should contain at least 2 entries:
18 - soctherm-reg
19 - car-reg
20 - ccroc-reg
21 - interrupts : Defines the interrupt used by SOCTHERM
22 - clocks : Must contain an entry for each entry in clock-names.
23 See ../clocks/clock-bindings.txt for details.
24 - clock-names : Must include the following entries:
25 - tsensor
26 - soctherm
27 - resets : Must contain an entry for each entry in reset-names.
29 - reset-names : Must include the following entries:
30 - soctherm
31 - #thermal-sensor-cells : Should be 1. For a description of this property, see
32 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml.
33 See <dt-bindings/thermal/tegra124-soctherm.h> for a list of valid values
35 - throttle-cfgs: A sub-node which is a container of configuration for each
36 hardware throttle events. These events can be set as cooling devices.
37 * throttle events: Sub-nodes must be named as "light" or "heavy".
39 - nvidia,priority: Each throttles has its own throttle settings, so the
40 SW need to set priorities for various throttle, the HW arbiter can select
47 - nvidia,cpu-throt-percent: This property is for Tegra124 and Tegra210.
50 - nvidia,cpu-throt-level: This property is only for Tegra132, it is the
51 level of pulse skippers, which used to throttle clock frequencies. It
52 indicates cpu clock throttling depth, and the depth can be programmed.
56 - nvidia,gpu-throt-level: This property is for Tegra124 and Tegra210.
57 It is the level of pulse skippers, which used to throttle clock
58 frequencies. It indicates gpu clock throttling depth and can be
65 - #cooling-cells: Should be 1. This cooling device only support on/off state.
67 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
71 - nvidia,count-threshold: Specifies the number of OC events that are
74 - nvidia,polarity-active-low: Configures the polarity of the OC alaram
76 - nvidia,alarm-filter: Number of clocks to filter event. When the filter
79 - nvidia,throttle-period-us: Specifies the number of uSec for which
84 - nvidia,thermtrips : When present, this property specifies the temperature at
86 Power Management IC, which can be configured to reset or shutdown the device.
92 - the "critical" type trip points will be used to set the temperature at which
98 - the "hot" type trip points will be set to SOC_THERM hardware as the throttle
105 compatible = "nvidia,tegra124-soctherm";
108 reg-names = "soctherm-reg", "car-reg";
112 clock-names = "tsensor", "soctherm";
114 reset-names = "soctherm";
116 #thermal-sensor-cells = <1>;
121 throttle-cfgs {
124 * the HW will skip cpu clock's pulse in 85% depth,
125 * skip gpu clock's pulse in 85% level
129 nvidia,cpu-throt-percent = <85>;
130 nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>;
132 #cooling-cells = <1>;
137 * the HW will skip cpu clock's pulse in 50% depth,
138 * skip gpu clock's pulse in 50% level
142 nvidia,cpu-throt-percent = <50>;
143 nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_LOW>;
145 #cooling-cells = <1>;
150 * arbiter will select the highest priority as the final throttle
156 nvidia,polarity-active-low;
157 nvidia,count-threshold = <100>;
158 nvidia,alarm-filter = <5100000>;
159 nvidia,throttle-period-us = <0>;
160 nvidia,cpu-throt-percent = <75>;
161 nvidia,gpu-throt-level =
167 Example: referring to Tegra132's "reg", "reg-names" and "throttle-cfgs" :
170 compatible = "nvidia,tegra132-soctherm";
173 reg-names = "soctherm-reg", "ccroc-reg";
175 throttle-cfgs {
178 * the HW will skip cpu clock's pulse in HIGH level
182 nvidia,cpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>;
184 #cooling-cells = <1>;
189 * the HW will skip cpu clock's pulse in MED level
193 nvidia,cpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_MED>;
195 #cooling-cells = <1>;
200 * arbiter will select the highest priority as the final throttle
209 thermal-zones {
211 polling-delay-passive = <1000>;
212 polling-delay = <1000>;
214 thermal-sensors =
218 cpu_shutdown_trip: shutdown-trip {
224 cpu_throttle_trip: throttle-trip {
231 cooling-maps {
234 cooling-device = <&throttle_heavy 1 1>;