Commit a095d8c0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Guenter Roeck
Browse files

dt-bindings: hwmon: reference common hwmon schema



Reference common hwmon schema in the bindings which have and customize
the "shunt-resistor-micro-ohms" property.  While this does not make the
binding smaller, it brings common definition of that property and also
allows generic "label" (parsed by Linux hwmon core code).

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-5-b446eecf5480@linaro.org


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2988ce56
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -46,7 +46,10 @@ required:
  - compatible
  - reg

additionalProperties: false
allOf:
  - $ref: hwmon-common.yaml#

unevaluatedProperties: false

examples:
  - |
+4 −1
Original line number Diff line number Diff line
@@ -31,7 +31,10 @@ required:
  - compatible
  - reg

additionalProperties: false
allOf:
  - $ref: hwmon-common.yaml#

unevaluatedProperties: false

examples:
  - |
+4 −1
Original line number Diff line number Diff line
@@ -25,7 +25,10 @@ required:
  - compatible
  - reg

additionalProperties: false
allOf:
  - $ref: hwmon-common.yaml#

unevaluatedProperties: false

examples:
  - |
+4 −1
Original line number Diff line number Diff line
@@ -50,7 +50,10 @@ required:
  - compatible
  - reg

additionalProperties: false
allOf:
  - $ref: /schemas/hwmon/hwmon-common.yaml#

unevaluatedProperties: false

examples:
  - |
+4 −1
Original line number Diff line number Diff line
@@ -72,7 +72,10 @@ required:
  - compatible
  - reg

additionalProperties: false
allOf:
  - $ref: hwmon-common.yaml#

unevaluatedProperties: false

examples:
  - |
Loading