From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej@kernel.org>,
Samuel Holland <samuel@sholland.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
wens@kernel.org
Cc: devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: allwinner: sun55i-a523: Add LED controller
Date: Wed, 25 Feb 2026 17:57:46 +0100 [thread overview]
Message-ID: <2818809.mvXUDI8C0e@jernej-laptop> (raw)
In-Reply-To: <CAGb2v675r8idb3MHyaPD6XNrDF3na-rH2342ET0TUm1kGsT20w@mail.gmail.com>
Dne sreda, 25. februar 2026 ob 17:14:51 Srednjeevropski standardni čas je Chen-Yu Tsai napisal(a):
> On Thu, Feb 26, 2026 at 12:08 AM Chen-Yu Tsai <wens@kernel.org> wrote:
> >
> > The A523 SoC family features an LED controller that is identical to the
> > one found on previous SoCs.
> >
> > Add a device node for it, and one of the possible pinmux settings. This
> > setting is used on the Avaota A1.
> >
> > Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
> > ---
> > .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 22 +++++++++++++++++++
> > 1 file changed, 22 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > index 09bd149bbf51..b8263e2872af 100644
> > --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > @@ -170,6 +170,13 @@ i2s2_pi_pins: i2s2-pi-pins {
> > bias-disable;
> > };
> >
> > + /omit-if-no-ref/
> > + ledc_ph_pin: ledc-ph-pin {
> > + pins = "PH19";
> > + function = "ledc";
> > + allwinner,pinmux = <5>;
> > + };
> > +
> > mmc0_pins: mmc0-pins {
> > pins = "PF0" ,"PF1", "PF2", "PF3", "PF4", "PF5";
> > allwinner,pinmux = <2>;
> > @@ -300,6 +307,21 @@ ccu: clock-controller@2001000 {
> > #reset-cells = <1>;
> > };
> >
> > + ledc: led-controller@2008000 {
> > + compatible = "allwinner,sun55i-a523-ledc",
> > + "allwinner,sun50i-a100-ledc";
> > + reg = <0x02008000 0x400>;
> > + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&ccu CLK_BUS_LEDC>, <&ccu CLK_LEDC>;
> > + clock-names = "bus", "mod";
> > + resets = <&ccu RST_BUS_LEDC>;
> > + dmas = <&dma 42>;
> > + dma-names = "tx";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > ths1: thermal-sensor@2009400 {
>
> I Forgot to rebase this patch before the thermal sensor one in my tree.
> I can fix this when applying, so please still review the patch.
Values are correct, so with a rebase this patch is:
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
>
> ChenYu
>
> > compatible = "allwinner,sun55i-a523-ths1";
> > reg = <0x02009400 0x400>;
> > --
> > 2.47.3
> >
>
next prev parent reply other threads:[~2026-02-25 16:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 16:08 [PATCH 0/3] arm64: dts: allwinner: sun55i-t527: avaota-a1: Enable LEDs Chen-Yu Tsai
2026-02-25 16:08 ` [PATCH 1/3] dt-bindings: leds: sun50i-a100: Add compatible for Allwinner A523 SoC Chen-Yu Tsai
2026-02-25 16:58 ` Jernej Škrabec
2026-02-26 7:51 ` Krzysztof Kozlowski
2026-02-25 16:08 ` [PATCH 2/3] arm64: dts: allwinner: sun55i-a523: Add LED controller Chen-Yu Tsai
2026-02-25 16:14 ` Chen-Yu Tsai
2026-02-25 16:57 ` Jernej Škrabec [this message]
2026-02-25 16:08 ` [PATCH 3/3] arm64: dts: allwinner: sun55i-t527: avaota-a1: Enable LEDs Chen-Yu Tsai
2026-02-25 17:02 ` Jernej Škrabec
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=2818809.mvXUDI8C0e@jernej-laptop \
--to=jernej.skrabec@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=pavel@kernel.org \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox