[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YV1T4lR+GNAjkuo4@ada.ifak-system.com>
Date: Wed, 6 Oct 2021 09:44:34 +0200
From: Alexander Dahl <ada@...rsis.com>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Lee Jones <lee.jones@...aro.org>, Pavel Machek <pavel@....cz>,
Rob Herring <robh+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-pwm@...r.kernel.org,
Marijn Suijten <marijn.suijten@...ainline.org>,
Yassine Oudjana <y.oudjana@...tonmail.com>,
Luca Weiss <luca@...tu.xyz>,
Subbaraman Narayanamurthy <subbaram@...eaurora.org>
Subject: Re: [PATCH v9 1/2] dt-bindings: leds: Add Qualcomm Light Pulse
Generator binding
Hei hei,
Am Wed, Sep 08, 2021 at 03:39:51AM +0000 schrieb Stephen Boyd:
> Quoting Bjorn Andersson (2021-06-22 20:50:38)
> > diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
> > new file mode 100644
> > index 000000000000..10aee61a7ffc
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
> > @@ -0,0 +1,164 @@
> [....]
> > +examples:
> > + - |
> > + #include <dt-bindings/leds/common.h>
> > +
> > + lpg {
>
> Should the node name be led or leds?
If I scan through Documentation/devicetree/bindings/leds and look at
other devices, it should probably be named "led-controller", right?
At least that's what Rob suggested when I converted the leds-pwm
binding last year, using generic node names:
https://lore.kernel.org/linux-leds/20200922155747.GA2734659@bogus/
Greets
Alex
>
> > + compatible = "qcom,pmi8994-lpg";
>
> Shouldn't there be a reg property? I see the driver has them hardcoded
> but if this is a child of the spmi node then it should have a reg
> property (or many reg properties).
Powered by blists - more mailing lists