Lines Matching +full:fan +full:- +full:controller

1 Nuvoton NPCM7xx PWM and Fan Tacho controller device
3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM)
4 controller outputs and 16 Fan tachometer controller inputs.
6 Required properties for pwm-fan node
7 - #address-cells : should be 1.
8 - #size-cells : should be 0.
9 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX.
10 - reg : specifies physical base address and size of the registers.
11 - reg-names : must contain:
13 * "fan" for the Fan registers.
14 - clocks : phandle of reference clocks.
15 - clock-names : must contain
16 * "pwm" for PWM controller operating clock.
17 * "fan" for Fan controller operating clock.
18 - interrupts : contain the Fan interrupts with flags for falling edge.
19 - pinctrl-names : a pinctrl state named "default" must be defined.
20 - pinctrl-0 : phandle referencing pin configuration of the PWM and Fan
21 controller ports.
23 fan subnode format:
25 Under fan subnode can be upto 8 child nodes, each child node representing a fan.
26 Each fan subnode must have one PWM channel and at least one Fan tach channel.
28 For PWM channel can be configured cooling-levels to create cooling device.
32 - reg : specify the PWM output channel.
36 - fan-tach-ch : specify the Fan tach input channel.
38 the fan tach channel number that used.
40 At least one Fan tach input channel is required
43 - cooling-levels: PWM duty cycle values in a range from 0 to 255
48 pwm_fan:pwm-fan-controller@103000 {
49 #address-cells = <1>;
50 #size-cells = <0>;
51 compatible = "nuvoton,npcm750-pwm-fan";
54 reg-names = "pwm", "fan";
57 clock-names = "pwm","fan";
66 pinctrl-names = "default";
67 pinctrl-0 = <&pwm0_pins &pwm1_pins &pwm2_pins
70 fan@0 {
72 fan-tach-ch = /bits/ 8 <0x00 0x01>;
73 cooling-levels = <127 255>;
75 fan@1 {
77 fan-tach-ch = /bits/ 8 <0x02 0x03>;
79 fan@2 {
81 fan-tach-ch = /bits/ 8 <0x04>;