Based on kernel version 4.13.3. Page generated on 2017-09-23 13:55 EST.
1 Bindings for fan connected to GPIO lines
2
3 Required properties:
4 - compatible : "gpio-fan"
5
6 Optional properties:
7 - gpios: Specifies the pins that map to bits in the control value,
8 ordered MSB-->LSB.
9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the
10 control value that should be set to achieve them. This array
11 must have the RPM values in ascending order.
12 - alarm-gpios: This pin going active indicates something is wrong with
13 the fan, and a udev event will be fired.
14 - cooling-cells: If used as a cooling device, must be <2>
15 Also see: Documentation/devicetree/bindings/thermal/thermal.txt
16 min and max states are derived from the speed-map of the fan.
17
18 Note: At least one the "gpios" or "alarm-gpios" properties must be set.
19
20 Examples:
21
22 gpio_fan {
23 compatible = "gpio-fan";
24 gpios = <&gpio1 14 1
25 &gpio1 13 1>;
26 gpio-fan,speed-map = <0 0
27 3000 1
28 6000 2>;
29 alarm-gpios = <&gpio1 15 1>;
30 };
31 gpio_fan_cool: gpio_fan {
32 compatible = "gpio-fan";
33 gpios = <&gpio2 14 1
34 &gpio2 13 1>;
35 gpio-fan,speed-map = <0 0>,
36 <3000 1>,
37 <6000 2>;
38 alarm-gpios = <&gpio2 15 1>;
39 #cooling-cells = <2>; /* min followed by max */
40 };
- [ gpio ]
- 8xxx_gpio.txt
- abilis,tb10x-gpio.txt
- brcm,bcm6345-gpio.txt
- brcm,brcmstb-gpio.txt
- brcm,kona-gpio.txt
- cavium-octeon-gpio.txt
- cirrus,clps711x-mctrl-gpio.txt
- faraday,ftgpio010.txt
- fsl-imx-gpio.txt
- fujitsu,mb86s70-gpio.txt
- gpio-74x164.txt
- gpio-74xx-mmio.txt
- gpio-adnp.txt
- gpio-altera.txt
- gpio-aspeed.txt
- gpio-ath79.txt
- gpio-atlas7.txt
- gpio-axp209.txt
- gpio-clps711x.txt
- gpio-davinci.txt
- gpio-dsp-keystone.txt
- gpio-etraxfs.txt
- gpio-exar.txt
- gpio-fan.txt
- gpio-grgpio.txt
- gpio-lp3943.txt
- gpio-max732x.txt
- gpio-max77620.txt
- gpio-mcp23s08.txt
- gpio-mm-lantiq.txt
- gpio-mpc8xxx.txt
- gpio-mvebu.txt
- gpio-mxs.txt
- gpio-nmk.txt
- gpio-omap.txt
- gpio-palmas.txt
- gpio-pca953x.txt
- gpio-pcf857x.txt
- gpio-pisosr.txt
- gpio-samsung.txt
- gpio-stericsson-coh901.txt
- gpio-stmpe.txt
- gpio-stp-xway.txt
- gpio-thunderx.txt
- gpio-tpic2810.txt
- gpio-ts4800.txt
- gpio-ts4900.txt
- gpio-twl4030.txt
- gpio-tz1090-pdc.txt
- gpio-tz1090.txt
- gpio-vf610.txt
- gpio-xgene-sb.txt
- gpio-xgene.txt
- gpio-xilinx.txt
- gpio-xlp.txt
- gpio-xra1403.txt
- gpio-zevio.txt
- gpio-zynq.txt
- gpio.txt
- gpio_atmel.txt
- gpio_lpc32xx.txt
- gpio_oxnas.txt
- ibm,ppc4xx-gpio.txt
- ingenic,gpio.txt
- microchip,pic32-gpio.txt
- mrvl-gpio.txt
- netxbig-gpio-ext.txt
- ni,169445-nand-gpio.txt
- nvidia,tegra186-gpio.txt
- nvidia,tegra20-gpio.txt
- nxp,lpc1850-gpio.txt
- pl061-gpio.txt
- renesas,gpio-rcar.txt
- snps-dwapb-gpio.txt
- sodaville.txt
- spear_spics.txt
- wd,mbl-gpio.txt
- zx296702-gpio.txt
-
- Information is copyright its respective author.
- All material is available from the Linux Kernel Source distributed under a GPL License.
- Hosted by mjmwired.net.