[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aNJKniJ46YuUsbQ+@duo.ucw.cz>
Date: Tue, 23 Sep 2025 09:22:06 +0200
From: Pavel Machek <pavel@....cz>
To: barnabas.czeman@...nlining.org
Cc: Bjorn Andersson <andersson@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Stephan Gerhold <stephan@...hold.net>,
Otto Pflüger <otto.pflueger@...cue.de>,
Linus Walleij <linus.walleij@...aro.org>,
Lee Jones <lee@...nel.org>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
Konrad Dybcio <konradybcio@...nel.org>, Sean Paul <sean@...rly.run>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Dmitry Baryshkov <lumag@...nel.org>,
Adam Skladowski <a_skl39@...tonmail.com>,
Sireesh Kodali <sireeshkodali@...tonmail.com>,
Rob Clark <robin.clark@....qualcomm.com>,
Abhinav Kumar <abhinav.kumar@...ux.dev>,
Jessica Zhang <jessica.zhang@....qualcomm.com>,
Srinivas Kandagatla <srini@...nel.org>,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, iommu@...ts.linux.dev,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org,
phone-devel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
linux@...nlining.org,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: Re: [PATCH v7 6/6] arm64: dts: qcom: Add Xiaomi Redmi 3S
Hi!
> > Hi!
> >
> > > + led-controller@45 {
> > > + compatible = "awinic,aw2013";
> > > + reg = <0x45>;
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > +
> > > + vcc-supply = <&pm8937_l10>;
> > > + vio-supply = <&pm8937_l5>;
> > > +
> > > + led@0 {
> > > + reg = <0>;
> > > + function = LED_FUNCTION_STATUS;
> > > + led-max-microamp = <5000>;
> > > + color = <LED_COLOR_ID_RED>;
> > > + };
> > > +
> > > + led@1 {
> > > + reg = <1>;
> > > + function = LED_FUNCTION_STATUS;
> > > + led-max-microamp = <5000>;
> > > + color = <LED_COLOR_ID_GREEN>;
> > > + };
> > > +
> > > + led@2 {
> > > + reg = <2>;
> > > + function = LED_FUNCTION_STATUS;
> > > + led-max-microamp = <5000>;
> > > + color = <LED_COLOR_ID_BLUE>;
> > > + };
> > > + };
> > > +};
> >
> > That's single, 3-color LED, right? Please see LED multicolor support.
> As far as i know aw2013 driver does not have multicolor support.
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
I believe that needs to be fixed before more bugs are added on top to
work around that problem...
...and before that bug is cemented in the ABI.
Best regards,
Pavel
--
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, Netanyahu and Musk!
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists