[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdX5rcH08ptcdCEJ1UmKa0n_bUH1a6QKcOx2qmhyJG173Q@mail.gmail.com>
Date: Fri, 5 Jul 2024 10:28:49 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Andrew Davis <afd@...com>
Cc: Nishanth Menon <nm@...com>, Vignesh Raghavendra <vigneshr@...com>, Tero Kristo <kristo@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>,
Andrew Lunn <andrew@...n.ch>, Vaishnav M A <vaishnav@...gleboard.org>,
Derek Kiernan <derek.kiernan@....com>, Dragan Cvetic <dragan.cvetic@....com>,
Arnd Bergmann <arnd@...db.de>, Michael Walle <mwalle@...nel.org>,
Jason Kridner <jkridner@...gleboard.org>, Robert Nelson <robertcnelson@...gleboard.org>,
Robert Nelson <robertcnelson@...il.com>, Ayush Singh <ayush@...gleboard.org>,
Ayush Singh <ayushdevel1325@...il.com>, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC 0/3] Add generic Overlay for Grove Sunlight Sensor
Hi Andrew,
Thanks for your series!
On Tue, Jul 2, 2024 at 6:45 PM Andrew Davis <afd@...com> wrote:
> So what does this all look like? Let's take an example of a BeaglePlay
> with two Grove connectors for which we have physically attached a
> Sunlight module to the first connector, and an Air Quality sensor to
> the second. Doing ahead of time command-line DT overlay application:
>
> ./fdtoverlay \
> -o output.dtb \
> -i k3-am625-beagleplay.dtb
> k3-am625-beagleplay-grove-connector0.dtbo grove-sunlight-sensor.dtbo \
> k3-am625-beagleplay-grove-connector1.dtbo grove-air-quality.dtbo
>
> We start with the base board, then apply the adapter overlay for the
> specific connector we are going to attach the add-on. The next add-on
> overlay applied will attach to the connector most recently applied.
> This can be continued as needed, simply apply the next connector's
> adapter overlay, then the next add-on, rinse, repeat.
Oh, that's a neat trick, eliminating the need to enhance fdtoverlay
and friends with support for translating anchors while applying.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists