Lines Matching +full:pwm +full:- +full:fan

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fan connected to PWM lines
10 - Jean Delvare <[email protected]>
11 - Guenter Roeck <linux@roeck-us.net>
15 const: pwm-fan
17 cooling-levels:
18 description: PWM duty cycle values corresponding to thermal cooling states.
19 $ref: /schemas/types.yaml#/definitions/uint32-array
23 fan-supply:
24 description: Phandle to the regulator that provides power to the fan.
28 This contains an interrupt specifier for each fan tachometer output
30 defined number of interrupts per fan revolution, which require that
34 fan-stop-to-start-percent:
36 Minimum fan RPM in percent to start when stopped.
40 fan-stop-to-start-us:
44 pulses-per-revolution:
46 Define the number of pulses per fan revolution for each tachometer
54 description: The PWM that is used to control the fan.
57 "#cooling-cells": true
60 - compatible
61 - pwms
66 - |
67 pwm-fan {
68 compatible = "pwm-fan";
69 cooling-levels = <0 102 170 230>;
70 pwms = <&pwm 0 10000 0>;
71 #cooling-cells = <2>;
74 thermal-zones {
75 cpu_thermal: cpu-thermal {
76 thermal-sensors = <&tmu 0>;
77 polling-delay-passive = <0>;
78 polling-delay = <0>;
81 cpu_alert1: cpu-alert1 {
88 cooling-maps {
91 cooling-device = <&fan0 0 1>;
97 - |
98 #include <dt-bindings/interrupt-controller/irq.h>
100 pwm-fan {
101 compatible = "pwm-fan";
102 pwms = <&pwm 0 40000 0>;
103 fan-supply = <&reg_fan>;
104 interrupt-parent = <&gpio5>;
106 pulses-per-revolution = <2>;