bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0889-dtbindings-Fixup-microchip-emc2305.yaml-bindings.patch
1 From 1d444a409ce590c9ae4e800585bd36748fb99a10 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 10 May 2022 14:03:30 +0100
4 Subject: [PATCH] dtbindings: Fixup microchip,emc2305.yaml bindings
5
6 The bindings submitted to mainline had some issues, so fix them up.
7
8 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
9 ---
10 .../devicetree/bindings/hwmon/microchip,emc2305.yaml | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-)
12
13 --- a/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
14 +++ b/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
15 @@ -5,13 +5,13 @@
16 $id: http://devicetree.org/schemas/hwmon/emc2305.yaml#
17 $schema: http://devicetree.org/meta-schemas/core.yaml#
18
19 -title: Microchip EMC2305 RPM-based PWM Fan Speed Controller
20 +title: Microchip EMC230[1|2|3|5] RPM-based PWM Fan Speed Controller
21
22 properties:
23 compatible:
24 enum:
25 - - microcip,emc2305
26 -
27 + - microchip,emc2305
28 + - microchip,emc2301
29 emc2305,pwm-min:
30 description:
31 Min pwm of emc2305
32 @@ -46,7 +46,7 @@ additionalProperties: false
33 examples:
34 - |
35 fan {
36 - emc2305,compatible = "microchip,emc2305";
37 + compatible = "microchip,emc2305";
38 emc2305,pwm-min = <0>;
39 emc2305,pwm-max = <255>;
40 emc2305,pwm-channel = <5>