[PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-25 Thread Uwe Kleine-König
Adding the -@ switch to dtc results in the binary devicetrees containing a list of symbolic references and their paths. This is necessary to apply device tree overlays e.g. on Raspberry Pi as described on https://www.raspberrypi.org/documentation/configuration/device-tree.md. Obviously the downsid

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-25 Thread Cyril Brulebois
Hi, Uwe Kleine-König (2021-01-25): > Adding the -@ switch to dtc results in the binary devicetrees containing > a list of symbolic references and their paths. This is necessary to > apply device tree overlays e.g. on Raspberry Pi as described on > https://www.raspberrypi.org/documentation/configu

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-25 Thread Masahiro Yamada
On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König wrote: > > Adding the -@ switch to dtc results in the binary devicetrees containing > a list of symbolic references and their paths. This is necessary to > apply device tree overlays e.g. on Raspberry Pi as described on > https://www.raspberrypi.org

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Rob Herring
On Tue, Jan 26, 2021 at 1:27 AM Uwe Kleine-König wrote: > > Hello Masahiro, > > On 1/25/21 10:53 PM, Masahiro Yamada wrote: > > On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König > > wrote: > >> > >> Adding the -@ switch to dtc results in the binary devicetrees containing > >> a list of symbolic r

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Uwe Kleine-König
Hello Masahiro, On 1/25/21 10:53 PM, Masahiro Yamada wrote: On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König wrote: Adding the -@ switch to dtc results in the binary devicetrees containing a list of symbolic references and their paths. This is necessary to apply device tree overlays e.g. on R

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Geert Uytterhoeven
Hi Uwe, On Tue, Jan 26, 2021 at 8:21 AM Uwe Kleine-König 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

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/25/21 5:15 AM, Cyril Brulebois wrote: > Hi, > > Uwe Kleine-König (2021-01-25): >> Adding the -@ switch to dtc results in the binary devicetrees containing >> a list of symbolic references and their paths. This is necessary to >> apply device tree overlays e.g. on Raspberry Pi as desc

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+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 > 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 >> >> ta

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/26/21 1:20 AM, Uwe Kleine-König wrote: > Hello Masahiro, > > On 1/25/21 10:53 PM, Masahiro Yamada wrote: >> On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König >> wrote: >>> >>> Adding the -@ switch to dtc results in the binary devicetrees containing >>> a list of symbolic references a

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
Hi Uwe, On 1/26/21 12:03 PM, Frank Rowand wrote: > +frank > > On 1/26/21 1:20 AM, Uwe Kleine-König wrote: >> Hello Masahiro, >> >> On 1/25/21 10:53 PM, Masahiro Yamada wrote: >>> On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König >>> wrote: Adding the -@ switch to dtc results in the bin

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/25/21 3:53 PM, Masahiro Yamada wrote: > On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König > wrote: >> >> Adding the -@ switch to dtc results in the binary devicetrees containing >> a list of symbolic references and their paths. This is necessary to >> apply device tree overlays e.g. o

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/25/21 4:57 AM, Uwe Kleine-König wrote: > Adding the -@ switch to dtc results in the binary devicetrees containing > a list of symbolic references and their paths. This is necessary to > apply device tree overlays e.g. on Raspberry Pi as described on > https://www.raspberrypi.org/docume