dt-bindings: hwmon: lm75: use common hwmon schema
authorThéo Lebrun <theo.lebrun@bootlin.com>
Thu, 29 Feb 2024 18:10:50 +0000 (19:10 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 1 Mar 2024 19:21:31 +0000 (11:21 -0800)
Reference common hwmon schema which has the generic "label" property,
parsed by Linux hwmon subsystem.

To: Jean Delvare <jdelvare@suse.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240229-mbly-i2c-v2-2-b32ed18c098c@bootlin.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/lm75.yaml

index ed269e428a3d93350ccb968059462a3c0d2de418..29bd7460cc268bab4e538bfa04ec076e2b3df76f 100644 (file)
@@ -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:
   - |