devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: Ayush Singh <ayush@beagleboard.org>, Nishanth Menon <nm@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	Vaishnav M A <vaishnav@beagleboard.org>,
	Derek Kiernan <derek.kiernan@amd.com>,
	Dragan Cvetic <dragan.cvetic@amd.com>,
	Arnd Bergmann <arnd@arndb.de>, Michael Walle <mwalle@kernel.org>,
	Jason Kridner <jkridner@beagleboard.org>,
	Robert Nelson <robertcnelson@beagleboard.org>,
	Robert Nelson <robertcnelson@gmail.com>,
	Ayush Singh <ayushdevel1325@gmail.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH RFC 0/3] Add generic Overlay for Grove Sunlight Sensor
Date: Tue, 27 Aug 2024 10:22:18 -0500	[thread overview]
Message-ID: <b18cb162-e95c-4927-8fa7-1c29b8dda1a7@ti.com> (raw)
In-Reply-To: <eab183e7-8e70-42af-8786-a8e7b29b72c8@beagleboard.org>

On 8/27/24 8:20 AM, Ayush Singh wrote:
>> 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;
> 
> };
> 

Does

/append-property/ prop = <0x01 0x02 0x03>;

work? We will want to be able to append lists. Some type
checking will be needed, but shouldn't be too bad.

Probably good to get input from the DT folks which syntax
looks best to them.

> 
>>
>> 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.
> 

IIRC they have a dedicated mailing list for DTC,

devicetree-compiler@vger.kernel.org

Andrew

> 
> Ayush Singh
> 
> 

      reply	other threads:[~2024-08-27 15:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02 16:44 [PATCH RFC 0/3] Add generic Overlay for Grove Sunlight Sensor Andrew Davis
2024-07-02 16:44 ` [PATCH RFC 1/3] arm64: dts: ti: k3-am625-beagleplay: Add Grove connector pinmux options Andrew Davis
2024-07-02 16:44 ` [PATCH RFC 2/3] arm64: dts: ti: k3-am625-beagleplay: Add Grove connector adapter overlays Andrew Davis
2024-07-02 16:44 ` [PATCH RFC 3/3] arm64: dts: ti: grove: Add Grove Sunlight Sensor overlay Andrew Davis
2024-07-03 14:15   ` Ayush Singh
2024-07-04 16:55     ` Andrew Davis
2024-07-04 17:29       ` Ayush Singh
2024-07-05  8:35       ` Geert Uytterhoeven
2024-07-03  0:52 ` [PATCH RFC 0/3] Add generic Overlay for Grove Sunlight Sensor Robert Nelson
2024-07-03  4:22 ` Ayush Singh
2024-07-05  8:28 ` Geert Uytterhoeven
2024-08-09 15:22 ` Ayush Singh
2024-08-26 18:44   ` Andrew Davis
2024-08-27 13:20     ` Ayush Singh
2024-08-27 15:22       ` Andrew Davis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b18cb162-e95c-4927-8fa7-1c29b8dda1a7@ti.com \
    --to=afd@ti.com \
    --cc=andrew@lunn.ch \
    --cc=arnd@arndb.de \
    --cc=ayush@beagleboard.org \
    --cc=ayushdevel1325@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=derek.kiernan@amd.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dragan.cvetic@amd.com \
    --cc=jkridner@beagleboard.org \
    --cc=kristo@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mwalle@kernel.org \
    --cc=nm@ti.com \
    --cc=robertcnelson@beagleboard.org \
    --cc=robertcnelson@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=vaishnav@beagleboard.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).