openwrt/target/linux/bcm27xx/patches-6.1/950-0413-dtbindings-Fixup-microchip-emc2305.yaml-bindings.patch
Álvaro Fernández Rojas 793f8ab62c bcm27xx: 6.1: add kernel patches
Add kernel patches for version 6.1.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-09 19:12:30 +02:00

41 lines
1.3 KiB
Diff

From 2bc4fabde3e63ffb5484804a5f0d1ee950d77475 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Tue, 10 May 2022 14:03:30 +0100
Subject: [PATCH] dtbindings: Fixup microchip,emc2305.yaml bindings
The bindings submitted to mainline had some issues, so fix them up.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
.../devicetree/bindings/hwmon/microchip,emc2305.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
+++ b/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
@@ -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>