[PATCH v2 02/11] dt-bindings: hwmon: lm75: use common hwmon schema
Théo Lebrun
theo.lebrun at bootlin.com
Thu Feb 29 10:10:50 PST 2024
Reference common hwmon schema which has the generic "label" property,
parsed by Linux hwmon subsystem.
To: Jean Delvare <jdelvare at suse.com>
To: Guenter Roeck <linux at roeck-us.net>
Cc: linux-hwmon at vger.kernel.org
Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>
---
Documentation/devicetree/bindings/hwmon/lm75.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
index ed269e428a3d..29bd7460cc26 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
+++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
@@ -57,6 +57,7 @@ required:
- reg
allOf:
+ - $ref: hwmon-common.yaml#
- if:
not:
properties:
@@ -71,7 +72,7 @@ allOf:
properties:
interrupts: false
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.44.0
More information about the linux-arm-kernel
mailing list