dtbindings: Fixup microchip,emc2305.yaml bindings
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 10 May 2022 13:03:30 +0000 (14:03 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 10 May 2022 14:10:04 +0000 (15:10 +0100)
The bindings submitted to mainline had some issues, so fix them up.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml

index 52ae4c2..efdc3ce 100644 (file)
@@ -5,13 +5,13 @@
 $id: http://devicetree.org/schemas/hwmon/emc2305.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: Microchip EMC2305 RPM-based PWM Fan Speed Controller
+title: Microchip EMC230[1|2|3|5] RPM-based PWM Fan Speed Controller
 
 properties:
   compatible:
     enum:
-      - microcip,emc2305
-
+      - microchip,emc2305
+      - microchip,emc2301
   emc2305,pwm-min:
     description:
       Min pwm of emc2305
@@ -46,7 +46,7 @@ additionalProperties: false
 examples:
   - |
     fan {
-        emc2305,compatible = "microchip,emc2305";
+        compatible = "microchip,emc2305";
         emc2305,pwm-min = <0>;
         emc2305,pwm-max = <255>;
         emc2305,pwm-channel = <5>