Skip to content

Commit 09458a0

Browse files
krzkgroeck
authored andcommitted
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: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 67db0ea commit 09458a0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ properties:
3333
reg:
3434
maxItems: 1
3535

36-
shunt-resistor-micro-ohms:
37-
description:
38-
Shunt resistor value in micro-Ohm.
39-
4036
adi,volt-curr-sample-average:
4137
description: |
4238
Number of samples to be used to report voltage and current values.
@@ -50,6 +46,7 @@ properties:
5046
enum: [1, 2, 4, 8, 16, 32, 64, 128]
5147

5248
allOf:
49+
- $ref: hwmon-common.yaml#
5350
- if:
5451
properties:
5552
compatible:
@@ -107,7 +104,7 @@ required:
107104
- compatible
108105
- reg
109106

110-
additionalProperties: false
107+
unevaluatedProperties: false
111108

112109
examples:
113110
- |

0 commit comments

Comments
 (0)