]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: hwmon: Add Sophgo SG2044 external hardware monitor support
authorInochi Amaoto <inochiama@gmail.com>
Sun, 13 Apr 2025 22:35:00 +0000 (06:35 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 30 Apr 2025 03:56:59 +0000 (20:56 -0700)
The MCU device on SG2044 exposes the same interface as SG2042, which is
already supported by the kernel.

Add compatible string for monitor device of SG2044.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250413223507.46480-7-inochiama@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml

index f0667ac41d75c4a759aaeb7ebf730bfd51266681..b76805d394270795576a8dec35ad6c2fa3722c19 100644 (file)
@@ -11,7 +11,11 @@ maintainers:
 
 properties:
   compatible:
-    const: sophgo,sg2042-hwmon-mcu
+    oneOf:
+      - items:
+          - const: sophgo,sg2044-hwmon-mcu
+          - const: sophgo,sg2042-hwmon-mcu
+      - const: sophgo,sg2042-hwmon-mcu
 
   reg:
     maxItems: 1