003 File Manager
Current Path:
/usr/src/sys/contrib/device-tree/Bindings/hwmon
usr
/
src
/
sys
/
contrib
/
device-tree
/
Bindings
/
hwmon
/
📁
..
📄
ad741x.txt
(238 B)
📄
adc128d818.txt
(1.08 KB)
📄
adi,adm1177.yaml
(1.82 KB)
📄
adi,axi-fan-control.yaml
(1.37 KB)
📄
adi,ltc2947.yaml
(3.21 KB)
📄
adm1275.txt
(519 B)
📄
ads7828.txt
(578 B)
📄
adt7475.yaml
(2.26 KB)
📄
apm-xgene-hwmon.txt
(387 B)
📄
as370.txt
(241 B)
📄
aspeed-pwm-tacho.txt
(2.32 KB)
📄
baikal,bt1-pvt.yaml
(3.5 KB)
📄
cirrus,lochnagar.yaml
(1.05 KB)
📄
dps650ab.txt
(242 B)
📄
g762.txt
(1.26 KB)
📄
gpio-fan.txt
(1.18 KB)
📄
hih6130.txt
(308 B)
📄
ibm,cffps1.txt
(697 B)
📄
ibmpowernv.txt
(564 B)
📄
ina2xx.txt
(428 B)
📄
ina3221.txt
(1.67 KB)
📄
jc42.txt
(984 B)
📄
lm70.txt
(369 B)
📄
lm75.txt
(639 B)
📄
lm87.txt
(810 B)
📄
lm90.txt
(1.22 KB)
📄
ltc2978.txt
(1.49 KB)
📄
ltc2990.txt
(962 B)
📄
ltc4151.txt
(356 B)
📄
ltq-cputemp.txt
(155 B)
📄
max1619.txt
(272 B)
📄
max31785.txt
(747 B)
📄
max6650.txt
(991 B)
📄
max6697.txt
(1.94 KB)
📄
mcp3021.txt
(396 B)
📄
microchip,sparx5-temp.yaml
(830 B)
📄
npcm750-pwm-fan.txt
(2.72 KB)
📄
nsa320-mcu.txt
(649 B)
📄
ntc_thermistor.txt
(1.11 KB)
📁
pmbus
📄
pwm-fan.txt
(1.69 KB)
📄
sht15.txt
(476 B)
📄
stts751.txt
(292 B)
📄
ti,tmp513.yaml
(2.47 KB)
📄
tmp108.txt
(405 B)
📄
vexpress.txt
(577 B)
Editing: gpio-fan.txt
Bindings for fan connected to GPIO lines Required properties: - compatible : "gpio-fan" Optional properties: - gpios: Specifies the pins that map to bits in the control value, ordered MSB-->LSB. - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the control value that should be set to achieve them. This array must have the RPM values in ascending order. - alarm-gpios: This pin going active indicates something is wrong with the fan, and a udev event will be fired. - #cooling-cells: If used as a cooling device, must be <2> Also see: Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml min and max states are derived from the speed-map of the fan. Note: At least one the "gpios" or "alarm-gpios" properties must be set. Examples: gpio_fan { compatible = "gpio-fan"; gpios = <&gpio1 14 1 &gpio1 13 1>; gpio-fan,speed-map = <0 0 3000 1 6000 2>; alarm-gpios = <&gpio1 15 1>; }; gpio_fan_cool: gpio_fan { compatible = "gpio-fan"; gpios = <&gpio2 14 1 &gpio2 13 1>; gpio-fan,speed-map = <0 0>, <3000 1>, <6000 2>; alarm-gpios = <&gpio2 15 1>; #cooling-cells = <2>; /* min followed by max */ };
Upload File
Create Folder