Lines Matching +full:reg +full:- +full:property
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
37 * throttle events: Sub-nodes must be named as "light" or "heavy".
39 - nvidia,priority: Each throttles has its own throttle settings, so the
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
56 - nvidia,gpu-throt-level: This property is for Tegra124 and Tegra210.
65 - #cooling-cells: Should be 1. This cooling device only support on/off state.
66 For a description of this property see:
67 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
71 - nvidia,count-threshold: Specifies the number of OC events that are
73 the property is missing. A value of 0 will interrupt on every OC alarm.
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
88 temperature in milli Celcius. In the absence of this property the critical
92 - the "critical" type trip points will be used to set the temperature at which
94 property is missing. When the thermtrips property is present, the breach of a
98 - the "hot" type trip points will be set to SOC_THERM hardware as the throttle
105 compatible = "nvidia,tegra124-soctherm";
106 reg = <0x0 0x700e2000 0x0 0x600 /* SOC_THERM reg_base */
108 reg-names = "soctherm-reg", "car-reg";
112 clock-names = "tsensor", "soctherm";
114 reset-names = "soctherm";
116 #thermal-sensor-cells = <1>;
121 throttle-cfgs {
129 nvidia,cpu-throt-percent = <85>;
130 nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>;
132 #cooling-cells = <1>;
142 nvidia,cpu-throt-percent = <50>;
143 nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_LOW>;
145 #cooling-cells = <1>;
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";
171 reg = <0x0 0x700e2000 0x0 0x600 /* SOC_THERM reg_base */
173 reg-names = "soctherm-reg", "ccroc-reg";
175 throttle-cfgs {
182 nvidia,cpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>;
184 #cooling-cells = <1>;
193 nvidia,cpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_MED>;
195 #cooling-cells = <1>;
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>;