Skip to content

Commit 2988ce5

Browse files
krzkgroeck
authored andcommitted
dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema
Reference common hwmon schema which allows to drop the "shunt-resistor-micro-ohms" property. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-4-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 09458a0 commit 2988ce5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ properties:
2525
The default is 102.4 volts.
2626
type: boolean
2727

28-
shunt-resistor-micro-ohms:
29-
description:
30-
Resistor value micro-ohms.
31-
3228
required:
3329
- compatible
3430
- reg
3531

36-
additionalProperties: false
32+
allOf:
33+
- $ref: hwmon-common.yaml#
34+
35+
unevaluatedProperties: false
3736

3837
examples:
3938
- |

0 commit comments

Comments
 (0)