[v2,5/5] dt-bindings: hwmon: reference common hwmon schema
Commit Message
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes in v2:
- New patches
---
Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml | 5 ++++-
Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml | 5 ++++-
Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml | 5 ++++-
Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml | 5 ++++-
Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml | 5 ++++-
Documentation/devicetree/bindings/hwmon/ti,tps23861.yaml | 5 ++++-
6 files changed, 24 insertions(+), 6 deletions(-)
@@ -46,7 +46,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -31,7 +31,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -25,7 +25,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -38,7 +38,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: /schemas/hwmon/hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -72,7 +72,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -35,7 +35,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |