2021-05-06 07:20:19

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] leds: Fix reference file name of documentation

In commit 56b01acc1c79a ("dt-bindings: gpio: fairchild,74hc595:
Convert to json-schema"), gpio-74x164.txt was deleted and replaced
by fairchild,74hc595.yaml. Fix the reference file name.

Signed-off-by: Wan Jiabing <[email protected]>
---
Documentation/devicetree/bindings/leds/leds-bcm6328.txt | 4 ++--
Documentation/devicetree/bindings/leds/leds-bcm6358.txt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-bcm6328.txt b/Documentation/devicetree/bindings/leds/leds-bcm6328.txt
index ccebce597f37..a555d94084b7 100644
--- a/Documentation/devicetree/bindings/leds/leds-bcm6328.txt
+++ b/Documentation/devicetree/bindings/leds/leds-bcm6328.txt
@@ -4,8 +4,8 @@ This controller is present on BCM6318, BCM6328, BCM6362 and BCM63268.
In these SoCs it's possible to control LEDs both as GPIOs or by hardware.
However, on some devices there are Serial LEDs (LEDs connected to a 74x164
controller), which can either be controlled by software (exporting the 74x164
-as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
-by hardware using this driver.
+as spi-gpio. See Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml),
+or by hardware using this driver.
Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
controlled, so the only chance to keep them working is by using this driver.
diff --git a/Documentation/devicetree/bindings/leds/leds-bcm6358.txt b/Documentation/devicetree/bindings/leds/leds-bcm6358.txt
index da5708e7b43b..6e51c6b91ee5 100644
--- a/Documentation/devicetree/bindings/leds/leds-bcm6358.txt
+++ b/Documentation/devicetree/bindings/leds/leds-bcm6358.txt
@@ -3,7 +3,7 @@ LEDs connected to Broadcom BCM6358 controller
This controller is present on BCM6358 and BCM6368.
In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller),
which can either be controlled by software (exporting the 74x164 as spi-gpio.
-See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
+See Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or
by hardware using this driver.

Required properties:
--
2.25.1


2021-05-10 09:58:05

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] leds: Fix reference file name of documentation

On Thu 2021-05-06 15:08:24, Wan Jiabing wrote:
> In commit 56b01acc1c79a ("dt-bindings: gpio: fairchild,74hc595:
> Convert to json-schema"), gpio-74x164.txt was deleted and replaced
> by fairchild,74hc595.yaml. Fix the reference file name.
>
> Signed-off-by: Wan Jiabing <[email protected]>

Acked-by: Pavel Machek <[email protected]>

--
http://www.livejournal.com/~pavelmachek


Attachments:
(No filename) (389.00 B)
signature.asc (188.00 B)
Digital signature
Download all attachments

2021-05-12 20:38:12

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] leds: Fix reference file name of documentation

On Thu, 06 May 2021 15:08:24 +0800, Wan Jiabing wrote:
> In commit 56b01acc1c79a ("dt-bindings: gpio: fairchild,74hc595:
> Convert to json-schema"), gpio-74x164.txt was deleted and replaced
> by fairchild,74hc595.yaml. Fix the reference file name.
>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---
> Documentation/devicetree/bindings/leds/leds-bcm6328.txt | 4 ++--
> Documentation/devicetree/bindings/leds/leds-bcm6358.txt | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>

Applied, thanks!