devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM32/64: DT overlay build support
@ 2018-08-28 12:32 Tero Kristo
  2018-08-28 12:32 ` [PATCH 1/7] kbuild: add support for building %.dtbo targets Tero Kristo
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Hi,

This series introduces devicetree overlay building support for ARM
platforms. The .dtbo target is introduced globally, then makefile
changes for both arm32/64 for supporting the .dtbo target, changes
to support sub-dir makefile flags, and finally adding the DTC flags
override for TI platforms, as that is where we want to introduce
the DT overlay support initially.

The ARM makefile changes for supporting DTS sub-makefiles don't look
too clean, but that was the only way I could figure out how to
get it done.

-Tero

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 1/7] kbuild: add support for building %.dtbo targets
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 2/7] ARM: dts: add support for building DT overlays Tero Kristo
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Add support for building DT overlay targets, which can be applied
either runtime or statically on top of base devicetree blobs. The
only supported runtime application of overlays right now is during
bootloader execution; if the bootloader in question supports this.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 scripts/Makefile.lib | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 61e5966..527aab9 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -292,6 +292,9 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE
 	$(call if_changed_dep,dtc)
 
+$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE
+	$(call if_changed_dep,dtc)
+
 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
 
 # Bzip2
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 2/7] ARM: dts: add support for building DT overlays
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
  2018-08-28 12:32 ` [PATCH 1/7] kbuild: add support for building %.dtbo targets Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 3/7] ARM: dts: add support for individual build flags for DT subdirs Tero Kristo
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Add simple support for building DT overlays. This just compiles any
given .dtso file under the base arch/arm/boot/dts directory into
a .dtbo.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index d1516f8..ab555a0 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -339,7 +339,7 @@ $(BOOT_TARGETS): vmlinux
 $(INSTALL_TARGETS):
 	$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
-%.dtb: | scripts
+%.dtb %.dtbo: | scripts
 	$(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 3/7] ARM: dts: add support for individual build flags for DT subdirs
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
  2018-08-28 12:32 ` [PATCH 1/7] kbuild: add support for building %.dtbo targets Tero Kristo
  2018-08-28 12:32 ` [PATCH 2/7] ARM: dts: add support for building DT overlays Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 4/7] arm64: dts: add support for building DT overlays Tero Kristo
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Currently the makefile is setup in such manner that even if
we build a DT file in a subdirectory under arch/arm/boot/dts,
it gets built based on the base boot/dts/Makefile rules.
This patch modifies the base makefile in such manner, that
it detects which makefile to use based on build target path.
This allows setting for example per-directory DTC_FLAGS and
using those for the subdir build. The dtbdir local variable
is setup to target to the build path.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index ab555a0..b7c21e8 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -339,8 +339,10 @@ $(BOOT_TARGETS): vmlinux
 $(INSTALL_TARGETS):
 	$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
+%.dtb %.dtbo: dtbdir = $(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@)))
+
 %.dtb %.dtbo: | scripts
-	$(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
+	$(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install
 
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 4/7] arm64: dts: add support for building DT overlays
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
                   ` (2 preceding siblings ...)
  2018-08-28 12:32 ` [PATCH 3/7] ARM: dts: add support for individual build flags for DT subdirs Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 5/7] arm64: dts: add support for per sub-dir makefiles for DT building Tero Kristo
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Add simple support for building DT overlays. This just compiles any
given .dtso file under the base arch/arm64/boot/dts/*/ directory into
a .dtbo.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm64/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 106039d..f04c814 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -127,7 +127,7 @@ Image.%: Image
 zinstall install:
 	$(Q)$(MAKE) $(build)=$(boot) $@
 
-%.dtb: scripts
+%.dtb %.dtbo: scripts
 	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 5/7] arm64: dts: add support for per sub-dir makefiles for DT building
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
                   ` (3 preceding siblings ...)
  2018-08-28 12:32 ` [PATCH 4/7] arm64: dts: add support for building DT overlays Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 6/7] ARM: dts: ti: add support for building Texas Instruments specific overlays Tero Kristo
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Currently the makefile for arm64 builds all the DT files based on
rules in the arch/arm64/boot/dts/Makefile, as this is statically
passed via the $(build)= parameter. Change the $(build) parameter
to actually point to the subdir itself, so the makefile from
that subdir can be used to set-up build flags etc., for example
setting up DTC_FLAGS. The patsubst magic is used to strip the
trailing "/" from the path, as that confuses the kbuild system.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm64/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index f04c814..2ac4358 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -128,7 +128,7 @@ zinstall install:
 	$(Q)$(MAKE) $(build)=$(boot) $@
 
 %.dtb %.dtbo: scripts
-	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
+	$(Q)$(MAKE) $(build)=$(patsubst %/,%,$(boot)/dts/$(dir $@)) $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install
 
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 6/7] ARM: dts: ti: add support for building Texas Instruments specific overlays
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
                   ` (4 preceding siblings ...)
  2018-08-28 12:32 ` [PATCH 5/7] arm64: dts: add support for per sub-dir makefiles for DT building Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-28 12:32 ` [PATCH 7/7] arm64: ti: add support for building Texas instruments overlays Tero Kristo
  2018-08-29 18:40 ` [PATCH 0/7] ARM32/64: DT overlay build support Frank Rowand
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Add support for TI specific DT subdir, along with support for building
DT overlays. Right now, no DT files are specified in this directory,
those are to be added later.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm/boot/dts/Makefile    | 1 +
 arch/arm/boot/dts/ti/Makefile | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 arch/arm/boot/dts/ti/Makefile

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b5bd3de..59a4b63 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -755,6 +755,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \
 	dra72-evm-revc.dtb \
 	dra71-evm.dtb \
 	dra76-evm.dtb
+subdir-$(CONFIG_SOC_DRA7XX) += ti
 dtb-$(CONFIG_ARCH_ORION5X) += \
 	orion5x-kuroboxpro.dtb \
 	orion5x-lacie-d2-network.dtb \
diff --git a/arch/arm/boot/dts/ti/Makefile b/arch/arm/boot/dts/ti/Makefile
new file mode 100644
index 0000000..e0203ba
--- /dev/null
+++ b/arch/arm/boot/dts/ti/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Make file to build device tree binaries for boards based on
+# Texas Instruments Inc processors
+#
+# Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
+#
+
+DTC_FLAGS += -@
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 7/7] arm64: ti: add support for building Texas instruments overlays
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
                   ` (5 preceding siblings ...)
  2018-08-28 12:32 ` [PATCH 6/7] ARM: dts: ti: add support for building Texas Instruments specific overlays Tero Kristo
@ 2018-08-28 12:32 ` Tero Kristo
  2018-08-29 18:40 ` [PATCH 0/7] ARM32/64: DT overlay build support Frank Rowand
  7 siblings, 0 replies; 13+ messages in thread
From: Tero Kristo @ 2018-08-28 12:32 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, linux, frowand.list, robh+dt
  Cc: devicetree, linux-arm-kernel

Add the symbols to TI build DT files, for supporting overlays. Right now,
there are no overlay files introduced, those shall be added later on.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm64/boot/dts/ti/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index 63e619d..753de8c 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -6,4 +6,6 @@
 # Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
 #
 
+DTC_FLAGS += -@
+
 dtb-$(CONFIG_ARCH_K3_AM6_SOC) += k3-am654-base-board.dtb
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] ARM32/64: DT overlay build support
  2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
                   ` (6 preceding siblings ...)
  2018-08-28 12:32 ` [PATCH 7/7] arm64: ti: add support for building Texas instruments overlays Tero Kristo
@ 2018-08-29 18:40 ` Frank Rowand
  2018-08-30 17:12   ` Tero Kristo
  7 siblings, 1 reply; 13+ messages in thread
From: Frank Rowand @ 2018-08-29 18:40 UTC (permalink / raw)
  To: Tero Kristo, catalin.marinas, will.deacon, linux, robh+dt
  Cc: devicetree, linux-arm-kernel

+ Mark Rutland, just in case he is interested

On 08/28/18 05:32, Tero Kristo wrote:
> Hi,
> 
> This series introduces devicetree overlay building support for ARM
> platforms. The .dtbo target is introduced globally, then makefile
> changes for both arm32/64 for supporting the .dtbo target, changes
> to support sub-dir makefile flags, and finally adding the DTC flags
> override for TI platforms, as that is where we want to introduce
> the DT overlay support initially.
> 
> The ARM makefile changes for supporting DTS sub-makefiles don't look
> too clean, but that was the only way I could figure out how to
> get it done.
> 
> -Tero
> 
> --
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
> 

This series does three unrelated things:

(1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

(2) create a rule for creating a .dtbo from a .dtso

(3) add a dtc compile flag to add phandle symbol information to
    all .dtb files created from arch/arm/boot/dts/ti/ and
    arch/arm64/boot/dts/ti/

Please split the patches into three independent series so that
each of the three concepts can be discussed separately.

Thanks,

Frank

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] ARM32/64: DT overlay build support
  2018-08-29 18:40 ` [PATCH 0/7] ARM32/64: DT overlay build support Frank Rowand
@ 2018-08-30 17:12   ` Tero Kristo
  2018-08-30 20:32     ` Frank Rowand
  0 siblings, 1 reply; 13+ messages in thread
From: Tero Kristo @ 2018-08-30 17:12 UTC (permalink / raw)
  To: Frank Rowand, catalin.marinas, will.deacon, linux, robh+dt
  Cc: devicetree, linux-arm-kernel

On 29/08/18 21:40, Frank Rowand wrote:
> + Mark Rutland, just in case he is interested
> 
> On 08/28/18 05:32, Tero Kristo wrote:
>> Hi,
>>
>> This series introduces devicetree overlay building support for ARM
>> platforms. The .dtbo target is introduced globally, then makefile
>> changes for both arm32/64 for supporting the .dtbo target, changes
>> to support sub-dir makefile flags, and finally adding the DTC flags
>> override for TI platforms, as that is where we want to introduce
>> the DT overlay support initially.
>>
>> The ARM makefile changes for supporting DTS sub-makefiles don't look
>> too clean, but that was the only way I could figure out how to
>> get it done.
>>
>> -Tero
>>
>> --
>>
> 
> This series does three unrelated things:

Well, I was kind of trying to show the whole solution here but...

> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/
> 
> (2) create a rule for creating a .dtbo from a .dtso
> 
> (3) add a dtc compile flag to add phandle symbol information to
>      all .dtb files created from arch/arm/boot/dts/ti/ and
>      arch/arm64/boot/dts/ti/
> 
> Please split the patches into three independent series so that
> each of the three concepts can be discussed separately. 

Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to 
do it today.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] ARM32/64: DT overlay build support
  2018-08-30 17:12   ` Tero Kristo
@ 2018-08-30 20:32     ` Frank Rowand
  2018-09-03  9:03       ` Tero Kristo
  0 siblings, 1 reply; 13+ messages in thread
From: Frank Rowand @ 2018-08-30 20:32 UTC (permalink / raw)
  To: Tero Kristo, catalin.marinas, will.deacon, linux, robh+dt
  Cc: Mark Rutland, devicetree, linux-arm-kernel

Hi Tero,

(Really adding Mark as a cc: this time.  Last time I added him as
a bcc: by mistake.)


On 08/30/18 10:12, Tero Kristo wrote:
> On 29/08/18 21:40, Frank Rowand wrote:
>> + Mark Rutland, just in case he is interested
>>
>> On 08/28/18 05:32, Tero Kristo wrote:
>>> Hi,
>>>
>>> This series introduces devicetree overlay building support for ARM
>>> platforms. The .dtbo target is introduced globally, then makefile
>>> changes for both arm32/64 for supporting the .dtbo target, changes
>>> to support sub-dir makefile flags, and finally adding the DTC flags
>>> override for TI platforms, as that is where we want to introduce
>>> the DT overlay support initially.
>>>
>>> The ARM makefile changes for supporting DTS sub-makefiles don't look
>>> too clean, but that was the only way I could figure out how to
>>> get it done.
>>>
>>> -Tero
>>>
>>> -- 
>>>
>>
>> This series does three unrelated things:
> 
> Well, I was kind of trying to show the whole solution here but...

That actually makes sense, and normally I wouldn't have asked for the
split.  It might be the case that I am being too cautious, and maybe
there won't be much discussion at all.  I was just concerned that in
this case some of the concepts might get overlooked due to discussion
of other concepts.  I'm also expecting different people to care
about each of the concepts.

> 
>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/
>>
>> (2) create a rule for creating a .dtbo from a .dtso
>>
>> (3) add a dtc compile flag to add phandle symbol information to
>>      all .dtb files created from arch/arm/boot/dts/ti/ and
>>      arch/arm64/boot/dts/ti/
>>
>> Please split the patches into three independent series so that
>> each of the three concepts can be discussed separately. 
> 
> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.

Thanks, I appreciate your flexibility.

-Frank

> 
> -Tero
> -- 
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] ARM32/64: DT overlay build support
  2018-08-30 20:32     ` Frank Rowand
@ 2018-09-03  9:03       ` Tero Kristo
  2018-09-03 17:26         ` Frank Rowand
  0 siblings, 1 reply; 13+ messages in thread
From: Tero Kristo @ 2018-09-03  9:03 UTC (permalink / raw)
  To: Frank Rowand, catalin.marinas, will.deacon, linux, robh+dt
  Cc: Mark Rutland, devicetree, linux-arm-kernel

On 30/08/18 23:32, Frank Rowand wrote:
> Hi Tero,
> 
> (Really adding Mark as a cc: this time.  Last time I added him as
> a bcc: by mistake.)
> 
> 
> On 08/30/18 10:12, Tero Kristo wrote:
>> On 29/08/18 21:40, Frank Rowand wrote:
>>> + Mark Rutland, just in case he is interested
>>>
>>> On 08/28/18 05:32, Tero Kristo wrote:
>>>> Hi,
>>>>
>>>> This series introduces devicetree overlay building support for ARM
>>>> platforms. The .dtbo target is introduced globally, then makefile
>>>> changes for both arm32/64 for supporting the .dtbo target, changes
>>>> to support sub-dir makefile flags, and finally adding the DTC flags
>>>> override for TI platforms, as that is where we want to introduce
>>>> the DT overlay support initially.
>>>>
>>>> The ARM makefile changes for supporting DTS sub-makefiles don't look
>>>> too clean, but that was the only way I could figure out how to
>>>> get it done.
>>>>
>>>> -Tero
>>>>
>>>> -- 
>>>>
>>>
>>> This series does three unrelated things:
>>
>> Well, I was kind of trying to show the whole solution here but...
> 
> That actually makes sense, and normally I wouldn't have asked for the
> split.  It might be the case that I am being too cautious, and maybe
> there won't be much discussion at all.  I was just concerned that in
> this case some of the concepts might get overlooked due to discussion
> of other concepts.  I'm also expecting different people to care
> about each of the concepts.
> 
>>
>>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/
>>>
>>> (2) create a rule for creating a .dtbo from a .dtso
>>>
>>> (3) add a dtc compile flag to add phandle symbol information to
>>>       all .dtb files created from arch/arm/boot/dts/ti/ and
>>>       arch/arm64/boot/dts/ti/
>>>
>>> Please split the patches into three independent series so that
>>> each of the three concepts can be discussed separately.
>>
>> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.
> 
> Thanks, I appreciate your flexibility.

Hi Frank,

I did post v2 as a split series on Friday, but seems I missed adding you 
in the delivery for those by accident... sorry about that. Do you want 
me to repost or can you pick those from the devicetree list?

-Tero

> 
> -Frank
> 
>>
>> -Tero
>> -- 
>>
> 

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] ARM32/64: DT overlay build support
  2018-09-03  9:03       ` Tero Kristo
@ 2018-09-03 17:26         ` Frank Rowand
  0 siblings, 0 replies; 13+ messages in thread
From: Frank Rowand @ 2018-09-03 17:26 UTC (permalink / raw)
  To: Tero Kristo, catalin.marinas, will.deacon, linux, robh+dt
  Cc: Mark Rutland, devicetree, linux-arm-kernel

Hi Tero,

On 09/03/18 02:03, Tero Kristo wrote:
> On 30/08/18 23:32, Frank Rowand wrote:
>> Hi Tero,
>>
>> (Really adding Mark as a cc: this time.  Last time I added him as
>> a bcc: by mistake.)
>>
>>
>> On 08/30/18 10:12, Tero Kristo wrote:
>>> On 29/08/18 21:40, Frank Rowand wrote:
>>>> + Mark Rutland, just in case he is interested
>>>>
>>>> On 08/28/18 05:32, Tero Kristo wrote:
>>>>> Hi,
>>>>>
>>>>> This series introduces devicetree overlay building support for ARM
>>>>> platforms. The .dtbo target is introduced globally, then makefile
>>>>> changes for both arm32/64 for supporting the .dtbo target, changes
>>>>> to support sub-dir makefile flags, and finally adding the DTC flags
>>>>> override for TI platforms, as that is where we want to introduce
>>>>> the DT overlay support initially.
>>>>>
>>>>> The ARM makefile changes for supporting DTS sub-makefiles don't look
>>>>> too clean, but that was the only way I could figure out how to
>>>>> get it done.
>>>>>
>>>>> -Tero
>>>>>
>>>>> -- 
>>>>>
>>>>
>>>> This series does three unrelated things:
>>>
>>> Well, I was kind of trying to show the whole solution here but...
>>
>> That actually makes sense, and normally I wouldn't have asked for the
>> split.  It might be the case that I am being too cautious, and maybe
>> there won't be much discussion at all.  I was just concerned that in
>> this case some of the concepts might get overlooked due to discussion
>> of other concepts.  I'm also expecting different people to care
>> about each of the concepts.
>>
>>>
>>>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/
>>>>
>>>> (2) create a rule for creating a .dtbo from a .dtso
>>>>
>>>> (3) add a dtc compile flag to add phandle symbol information to
>>>>       all .dtb files created from arch/arm/boot/dts/ti/ and
>>>>       arch/arm64/boot/dts/ti/
>>>>
>>>> Please split the patches into three independent series so that
>>>> each of the three concepts can be discussed separately.
>>>
>>> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.
>>
>> Thanks, I appreciate your flexibility.
> 
> Hi Frank,
> 
> I did post v2 as a split series on Friday, but seems I missed adding
> you in the delivery for those by accident... sorry about that. Do you
> want me to repost or can you pick those from the devicetree list?

Yes, please repost to be sure I see all the replys.

Thanks,

Frank


> -Tero
> 
>>
>> -Frank
>>
>>>
>>> -Tero
>>> -- 
>>>
>>
> 
> -- 
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-09-03 17:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 12:32 [PATCH 0/7] ARM32/64: DT overlay build support Tero Kristo
2018-08-28 12:32 ` [PATCH 1/7] kbuild: add support for building %.dtbo targets Tero Kristo
2018-08-28 12:32 ` [PATCH 2/7] ARM: dts: add support for building DT overlays Tero Kristo
2018-08-28 12:32 ` [PATCH 3/7] ARM: dts: add support for individual build flags for DT subdirs Tero Kristo
2018-08-28 12:32 ` [PATCH 4/7] arm64: dts: add support for building DT overlays Tero Kristo
2018-08-28 12:32 ` [PATCH 5/7] arm64: dts: add support for per sub-dir makefiles for DT building Tero Kristo
2018-08-28 12:32 ` [PATCH 6/7] ARM: dts: ti: add support for building Texas Instruments specific overlays Tero Kristo
2018-08-28 12:32 ` [PATCH 7/7] arm64: ti: add support for building Texas instruments overlays Tero Kristo
2018-08-29 18:40 ` [PATCH 0/7] ARM32/64: DT overlay build support Frank Rowand
2018-08-30 17:12   ` Tero Kristo
2018-08-30 20:32     ` Frank Rowand
2018-09-03  9:03       ` Tero Kristo
2018-09-03 17:26         ` Frank Rowand

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