From: Michael Klein <michael@fossekall.de>
To: Chen-Yu Tsai <wens@csie.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: bananapi: add support for PHY LEDs
Date: Wed, 7 May 2025 20:10:54 +0200 [thread overview]
Message-ID: <aBuiLpqURnxQ1t07@a98shuttle.de> (raw)
In-Reply-To: <CAGb2v671wD7y6n6n20BrhH-pcTGD8RzPp25gCWUtnFmRhh=naw@mail.gmail.com>
On Thu, May 08, 2025 at 12:45:28AM +0900, Chen-Yu Tsai wrote:
>On Wed, May 7, 2025 at 4:56 AM Michael Klein <michael@fossekall.de> wrote:
>>
>> The Bananapi M1 has three LEDs connected to the RTL8211E ethernet PHY.
>> Add the corresponding nodes to the device tree.
>
>I see from old emails that this was supposed to be updated? And if you
>didn't, then his patch should be marked as a "RESEND", so tooling doesn't
>get confused and ignore it.
Thank you for the reminder. Yes, the commit message was supposed to be
updated. I'll follow up.
Michael
>I'll wait a couple days in case anyone else wants to take a look.
>
>ChenYu
>
>> Signed-off-by: Michael Klein <michael@fossekall.de>
>> ---
>> .../boot/dts/allwinner/sun7i-a20-bananapi.dts | 27 +++++++++++++++++++
>> 1 file changed, 27 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-bananapi.dts
>> index 46ecf9db2324..d8b362c9661a 100644
>> --- a/arch/arm/boot/dts/allwinner/sun7i-a20-bananapi.dts
>> +++ b/arch/arm/boot/dts/allwinner/sun7i-a20-bananapi.dts
>> @@ -48,6 +48,7 @@
>>
>> #include <dt-bindings/gpio/gpio.h>
>> #include <dt-bindings/interrupt-controller/irq.h>
>> +#include <dt-bindings/leds/common.h>
>>
>> / {
>> model = "LeMaker Banana Pi";
>> @@ -169,6 +170,32 @@ &ir0 {
>> &gmac_mdio {
>> phy1: ethernet-phy@1 {
>> reg = <1>;
>> +
>> + leds {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + led@0 {
>> + reg = <0>;
>> + color = <LED_COLOR_ID_GREEN>;
>> + function = LED_FUNCTION_LAN;
>> + linux,default-trigger = "netdev";
>> + };
>> +
>> + led@1 {
>> + reg = <1>;
>> + color = <LED_COLOR_ID_AMBER>;
>> + function = LED_FUNCTION_LAN;
>> + linux,default-trigger = "netdev";
>> + };
>> +
>> + led@2 {
>> + reg = <2>;
>> + color = <LED_COLOR_ID_BLUE>;
>> + function = LED_FUNCTION_LAN;
>> + linux,default-trigger = "netdev";
>> + };
>> + };
>> };
>> };
>>
>> --
>> 2.39.5
>>
>>
>
--
prev parent reply other threads:[~2025-05-07 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-06 19:55 [PATCH] ARM: dts: bananapi: add support for PHY LEDs Michael Klein
2025-05-07 15:45 ` Chen-Yu Tsai
2025-05-07 18:10 ` Michael Klein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aBuiLpqURnxQ1t07@a98shuttle.de \
--to=michael@fossekall.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.