aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-02-24 11:14:54 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 12:37:47 -0800
commita095d8c0230b16eb6ea824925d670215624a0590 (patch)
treec7bd5c6fff10d9bbafe30b5a922824d92172b19d /Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
parentdt-bindings: hwmon: lltc,ltc4286: use common hwmon schema (diff)
downloadwireguard-linux-a095d8c0230b16eb6ea824925d670215624a0590.tar.xz
wireguard-linux-a095d8c0230b16eb6ea824925d670215624a0590.zip
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-5-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml')
-rw-r--r--Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
index 5cb66e97e816..6401b0a9aff4 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
@@ -31,7 +31,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
examples:
- |