Commit 09458a0e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Guenter Roeck

dt-bindings: hwmon: adi,adm1275: use common hwmon schema

Reference common hwmon schema which allows to drop the
"shunt-resistor-micro-ohms" property.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-3-b446eecf5480@linaro.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 67db0ea3
...@@ -33,10 +33,6 @@ properties: ...@@ -33,10 +33,6 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
shunt-resistor-micro-ohms:
description:
Shunt resistor value in micro-Ohm.
adi,volt-curr-sample-average: adi,volt-curr-sample-average:
description: | description: |
Number of samples to be used to report voltage and current values. Number of samples to be used to report voltage and current values.
...@@ -50,6 +46,7 @@ properties: ...@@ -50,6 +46,7 @@ properties:
enum: [1, 2, 4, 8, 16, 32, 64, 128] enum: [1, 2, 4, 8, 16, 32, 64, 128]
allOf: allOf:
- $ref: hwmon-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -107,7 +104,7 @@ required: ...@@ -107,7 +104,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
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