diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-02-24 11:14:54 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-02-25 21:37:47 +0100 |
commit | a095d8c0230b16eb6ea824925d670215624a0590 (patch) | |
tree | c7bd5c6fff10d9bbafe30b5a922824d92172b19d /Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml | |
parent | dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema (diff) | |
download | linux-a095d8c0230b16eb6ea824925d670215624a0590.tar.xz 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,adm1177.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml index 2e45364d0543..be7e9e91a3a8 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml @@ -46,7 +46,10 @@ required: - compatible - reg -additionalProperties: false +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false examples: - | |