[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqKEmEm+XULPEyxP9O+H6dwtD_B+yYaJbeZPWXn_NJhZWg@mail.gmail.com>
Date: Tue, 3 Dec 2019 16:28:51 -0600
From: Rob Herring <robh@...nel.org>
To: Jacek Anaszewski <jacek.anaszewski@...il.com>
Cc: Linux LED Subsystem <linux-leds@...r.kernel.org>,
devicetree@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>, Dan Murphy <dmurphy@...com>
Subject: Re: [PATCH 1/2] dt-bindings: leds: Convert common LED binding to schema
On Sat, Nov 23, 2019 at 10:46 AM Jacek Anaszewski
<jacek.anaszewski@...il.com> wrote:
>
> Hi Rob,
>
> On 11/19/19 8:46 PM, Rob Herring wrote:
> > Convert the common LEDs properties bindings to a schema. As trigger source
> > providers are different nodes, we need to split trigger source properties
> > to a separate file.
> >
> > Bindings for LED controllers can reference the common schema for the LED
> > child nodes:
> >
> > patternProperties:
> > "^led@[0-4]":
> > type: object
> > allOf:
> > - $ref: common.yaml#
> >
> > Cc: Jacek Anaszewski <jacek.anaszewski@...il.com>
> > Cc: Pavel Machek <pavel@....cz>
> > Cc: Dan Murphy <dmurphy@...com>
> > Cc: linux-leds@...r.kernel.org
> > Signed-off-by: Rob Herring <robh@...nel.org>
> > ---
> > .../devicetree/bindings/leds/common.txt | 174 +------------
> > .../devicetree/bindings/leds/common.yaml | 228 ++++++++++++++++++
> > .../bindings/leds/trigger-source.yaml | 24 ++
> > 3 files changed, 253 insertions(+), 173 deletions(-)
> > create mode 100644 Documentation/devicetree/bindings/leds/common.yaml
> > create mode 100644 Documentation/devicetree/bindings/leds/trigger-source.yaml
>
> For both 1/2 an 2/2:
>
> Acked-by: Jacek Anaszewski <jacek.anaszewski@...il.com>
Thanks. You should take these in case there are other changes during the cycle.
Rob
Powered by blists - more mailing lists