dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 24 Feb 2024 10:14:53 +0000 (11:14 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:47 +0000 (12:37 -0800)
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>
Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml

index 98ca163d348688e1872430a946008f6d2557390c..853df9fef6c83efb7bcd22ba33fc1644f10b2aa1 100644 (file)
@@ -25,15 +25,14 @@ properties:
       The default is 102.4 volts.
     type: boolean
 
-  shunt-resistor-micro-ohms:
-    description:
-      Resistor value micro-ohms.
-
 required:
   - compatible
   - reg
 
-additionalProperties: false
+allOf:
+  - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |