summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-02-24 11:14:51 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 21:37:46 +0100
commit67db0ea3ece240b85896a4e4054af1e277815960 (patch)
tree75eb900dcedc95fd20a983dba54c2c5c8d804314 /Documentation/devicetree/bindings
parentdt-bindings: hwmon: add common properties (diff)
downloadlinux-67db0ea3ece240b85896a4e4054af1e277815960.tar.xz
linux-67db0ea3ece240b85896a4e4054af1e277815960.zip
dt-bindings: hwmon: ti,ina2xx: use common hwmon schema
Reference common hwmon schema which allows to drop the "label" property. Acked-by: Rob Herring <robh@kernel.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-2-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
index a099bb71415e..df86c2c92037 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
@@ -36,9 +36,6 @@ properties:
"#io-channel-cells":
const: 1
- label:
- description: A descriptive name for this device.
-
shunt-resistor:
description:
Shunt resistor value in micro-Ohm.
@@ -73,7 +70,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |