diff options
author | Logan Shaw <logan.shaw@alliedtelesis.co.nz> | 2020-02-27 09:46:39 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-03-09 04:35:47 +0100 |
commit | f8372ec4ecdf7bce39f223caa20cacdf5b563e8e (patch) | |
tree | dc1a43b90d961e5b68e33c15a65e2e12f7c9e207 /Documentation/devicetree/bindings/hwmon | |
parent | dt-bindings: hwmon: Document adt7475 binding (diff) | |
download | linux-f8372ec4ecdf7bce39f223caa20cacdf5b563e8e.tar.xz linux-f8372ec4ecdf7bce39f223caa20cacdf5b563e8e.zip |
dt-bindings: hwmon: Document adt7475 bypass-attenuator property
Add documentation for the bypass-attenuator-in[0-4] property.
Signed-off-by: Logan Shaw <logan.shaw@alliedtelesis.co.nz>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/adt7475.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/adt7475.yaml b/Documentation/devicetree/bindings/hwmon/adt7475.yaml index 2252499ea201..e40612ee075f 100644 --- a/Documentation/devicetree/bindings/hwmon/adt7475.yaml +++ b/Documentation/devicetree/bindings/hwmon/adt7475.yaml @@ -39,6 +39,17 @@ properties: reg: 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: - compatible - reg @@ -52,6 +63,8 @@ examples: hwmon@2e { compatible = "adi,adt7476"; reg = <0x2e>; + adi,bypass-attenuator-in0 = <1>; + adi,bypass-attenuator-in1 = <0>; }; }; |