[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eab183e7-8e70-42af-8786-a8e7b29b72c8@beagleboard.org>
Date: Tue, 27 Aug 2024 18:50:15 +0530
From: Ayush Singh <ayush@...gleboard.org>
To: Andrew Davis <afd@...com>, 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 <ayushdevel1325@...il.com>
Cc: 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
> Sorry, no I've not had time to circle back to this for the last couple
> weeks,
> and don't expect to be able to for a couple more :(
Np, I will see what I can do.
>
> The two parts I see that are missing are:
>
> 1) The /append-property/ tag [0].
So how do you envision it? Maybe something like the following:
Base:
/ {
node {
prop = <0x00>;
};
};
Overlay:
&node {
/append-property/ prop;
prop = <0x01>;
};
Or would it be better to append 1 element at a time, as follows:
&node {
/append-property/ prop 0x01;
};
>
> 2) Allowing the __symbols__ table properties to be phandles, not just
> full path strings.
>
> For item 2, this will make the "adapter overlays" look much nicer, but
> more importantly allow chaining together adapters more easily.
>
> Both these changes will need to be made in the DTC project, then
> moved back into kernel. Neither change breaks any existing compatibility
> so I don't expect much resistance there. It just takes some time
> to get changes in, then have them migrated to a kernel release before
> we can make use of them.
>
> If you want to help with either of those two items (I can provide more
> details if needed), that could help keep this moving along. :)
>
> Thanks,
> Andrew
>
> [0] https://lkml.org/lkml/2024/7/5/311
I am in the process of understanding the dtc codebase. Will send patches
to device-tree mailing list since that seems to be easier to keep track
of with the Linux patches instead of GitHub PRs.
Ayush Singh
Powered by blists - more mailing lists