Lines Matching +full:fan +full:- +full:1
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 <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
15 const: pwm-fan
17 cooling-levels:
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
32 maxItems: 1
34 pulses-per-revolution:
36 Define the number of pulses per fan revolution for each tachometer
39 minimum: 1
44 description: The PWM that is used to control the fan.
45 maxItems: 1
47 "#cooling-cells": true
50 - compatible
51 - pwms
56 - |
57 pwm-fan {
58 compatible = "pwm-fan";
59 cooling-levels = <0 102 170 230>;
61 #cooling-cells = <2>;
64 thermal-zones {
65 cpu_thermal: cpu-thermal {
66 thermal-sensors = <&tmu 0>;
67 polling-delay-passive = <0>;
68 polling-delay = <0>;
71 cpu_alert1: cpu-alert1 {
78 cooling-maps {
81 cooling-device = <&fan0 0 1>;
87 - |
88 #include <dt-bindings/interrupt-controller/irq.h>
90 pwm-fan {
91 compatible = "pwm-fan";
93 fan-supply = <®_fan>;
94 interrupt-parent = <&gpio5>;
95 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
96 pulses-per-revolution = <2>;