Commit f8372ec4 authored by Logan Shaw's avatar Logan Shaw Committed by Guenter Roeck

dt-bindings: hwmon: Document adt7475 bypass-attenuator property

Add documentation for the bypass-attenuator-in[0-4] property.
Signed-off-by: default avatarLogan Shaw <logan.shaw@alliedtelesis.co.nz>
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b56400b9
...@@ -39,6 +39,17 @@ properties: ...@@ -39,6 +39,17 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
patternProperties:
"^adi,bypass-attenuator-in[0-4]$":
description: |
Configures bypassing the individual voltage input attenuator. If
set to 1 the attenuator is bypassed if set to 0 the attenuator is
not bypassed. If the property is absent then the attenuator
retains it's configuration from the bios/bootloader.
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- enum: [0, 1]
required: required:
- compatible - compatible
- reg - reg
...@@ -52,6 +63,8 @@ examples: ...@@ -52,6 +63,8 @@ examples:
hwmon@2e { hwmon@2e {
compatible = "adi,adt7476"; compatible = "adi,adt7476";
reg = <0x2e>; reg = <0x2e>;
adi,bypass-attenuator-in0 = <1>;
adi,bypass-attenuator-in1 = <0>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment