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: adi,adm1177.yaml
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor maintainers: - Michael Hennerich <michael.hennerich@analog.com> - Beniamin Bia <beniamin.bia@analog.com> description: | Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf properties: compatible: enum: - adi,adm1177 reg: maxItems: 1 avcc-supply: description: Phandle to the Avcc power supply shunt-resistor-micro-ohms: description: The value of curent sense resistor in microohms. If not provided, the current reading and overcurrent alert is disabled. adi,shutdown-threshold-microamp: description: Specifies the current level at which an over current alert occurs. If not provided, the overcurrent alert is configured to max ADC range based on shunt-resistor-micro-ohms. adi,vrange-high-enable: description: Specifies which internal voltage divider to be used. A 1 selects a 7:2 voltage divider while a 0 selects a 14:1 voltage divider. type: boolean required: - compatible - reg additionalProperties: false examples: - | #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> i2c0 { #address-cells = <1>; #size-cells = <0>; pwmon@5a { compatible = "adi,adm1177"; reg = <0x5a>; shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ adi,vrange-high-enable; }; }; ...
Upload File
Create Folder