linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Rowand <frowand.list@gmail.com>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Uwe Kleine-König" <uwe@kleine-koenig.org>,
	"Frank Rowand" <frowand.list@gmail.com>
Cc: DTML <devicetree@vger.kernel.org>,
	Michal Marek <michal.lkml@markovi.net>,
	Arnd Bergmann <arnd@arndb.de>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
	Masahiro Yamada <masahiroy@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Maxime Ripard <mripard@kernel.org>,
	cyril@debamax.com,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] cmd_dtc: Enable generation of device tree symbols
Date: Tue, 26 Jan 2021 12:03:56 -0600	[thread overview]
Message-ID: <1e713129-db54-64c3-59e3-fc0dba0e0f19@gmail.com> (raw)
In-Reply-To: <CAMuHMdUmtMxucQ9DWvROVPVv2uGEzpRmtv1=jrjm09xU=gHHyw@mail.gmail.com>

+frank

On 1/26/21 2:43 AM, Geert Uytterhoeven wrote:
> Hi Uwe,
> 
> On Tue, Jan 26, 2021 at 8:21 AM Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
>> And then I learned with hints from Rob and Geert that symbols are not
>> really necessary for overlays, you just cannot use named labels. But
>> using
>>
>>         target-path = "/soc/i2c@23473245";
>>
>> or
>>
>>         target = <&{/soc/i2c@23473245}>;
>>
>> instead of
>>
>>         target = <&i2c1>;
>>
>> works fine. (And if you need to add a phandle the &{/path/to/node}
>> construct should work, too (but I didn't test).) Using labels is a tad
>> nicer, but the problem I wanted to address with my patch now has a known
>> different solution.
> 
> Please don't use "target" and "target-path".  Since the introduction of
> sugar syntax support in v4.15[1], you can just use "&label", like in a normal
> DTS file.  Paths do need the special "&{/path/to/node}" syntax instead
> of "/path/to/node", though.
> 
> As usual, you can find lots of examples of DT overlays in my repo[2].
> 
> [1] commit 4201d057ea91c3d6 ("scripts/dtc: Update to upstream version
> v1.4.5-3-gb1a60033c110")
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/renesas-overlays
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 


  reply	other threads:[~2021-01-26 18:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 10:57 [PATCH] cmd_dtc: Enable generation of device tree symbols Uwe Kleine-König
2021-01-25 11:15 ` Cyril Brulebois
2021-01-26 18:01   ` Frank Rowand
2021-01-25 21:53 ` Masahiro Yamada
2021-01-26  7:20   ` Uwe Kleine-König
2021-01-26  8:43     ` Geert Uytterhoeven
2021-01-26 18:03       ` Frank Rowand [this message]
2021-01-26 13:42     ` Rob Herring
2021-01-26 18:03     ` Frank Rowand
2021-01-26 18:26       ` Frank Rowand
2021-01-26 18:02   ` Frank Rowand
2021-01-26 18:01 ` Frank Rowand

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=1e713129-db54-64c3-59e3-fc0dba0e0f19@gmail.com \
    --to=frowand.list@gmail.com \
    --cc=arnd@arndb.de \
    --cc=cyril@debamax.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=mripard@kernel.org \
    --cc=uwe@kleine-koenig.org \
    /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).