2023-09-20 13:46:22

by Roger Quadros

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: ti: Enable support for overlays for relevant boards

Enable __symbols__ in board DT files for which we expect
overlays to be supported.

Signed-off-by: Roger Quadros <[email protected]>
---
arch/arm64/boot/dts/ti/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index e7b8e2e7f083..06d6f264f292 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -72,8 +72,16 @@ dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb

# Enable support for device-tree overlays
+DTC_FLAGS_k3-am625-beagleplay += -@
DTC_FLAGS_k3-am625-sk += -@
DTC_FLAGS_k3-am62-lp-sk += -@
+DTC_FLAGS_k3-am62a7-sk += -@
+DTC_FLAGS_k3-am642-evm += -@
+DTC_FLAGS_k3-am654-base-board += -@
DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
+DTC_FLAGS_k3-am68-sk-base-board += -@
+DTC_FLAGS_k3-am69-sk += -@
DTC_FLAGS_k3-j721e-common-proc-board += -@
+DTC_FLAGS_k3-j721e-sk += -@
DTC_FLAGS_k3-j721s2-common-proc-board += -@
+DTC_FLAGS_k3-j784s4-evm += -@
--
2.34.1


2023-09-20 16:00:13

by Roger Quadros

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: ti: Enable support for overlays for relevant boards



On 20/09/2023 16:57, Nishanth Menon wrote:
> On 16:34-20230920, Roger Quadros wrote:
>> Enable __symbols__ in board DT files for which we expect
>> overlays to be supported.
>>
>> Signed-off-by: Roger Quadros <[email protected]>
>> ---
>> arch/arm64/boot/dts/ti/Makefile | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
>> index e7b8e2e7f083..06d6f264f292 100644
>> --- a/arch/arm64/boot/dts/ti/Makefile
>> +++ b/arch/arm64/boot/dts/ti/Makefile
>> @@ -72,8 +72,16 @@ dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
>> dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
>>
>> # Enable support for device-tree overlays
>> +DTC_FLAGS_k3-am625-beagleplay += -@
>> DTC_FLAGS_k3-am625-sk += -@
>> DTC_FLAGS_k3-am62-lp-sk += -@
>> +DTC_FLAGS_k3-am62a7-sk += -@
>> +DTC_FLAGS_k3-am642-evm += -@
>> +DTC_FLAGS_k3-am654-base-board += -@
>> DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
>> +DTC_FLAGS_k3-am68-sk-base-board += -@
>> +DTC_FLAGS_k3-am69-sk += -@
>> DTC_FLAGS_k3-j721e-common-proc-board += -@
>> +DTC_FLAGS_k3-j721e-sk += -@
>> DTC_FLAGS_k3-j721s2-common-proc-board += -@
>> +DTC_FLAGS_k3-j784s4-evm += -@
>
> is'nt it better to do it in context of the changes introduced?
>

Do you mean I should just add for the particular platform when
adding an overlay for that platform?

--
cheers,
-roger

2023-09-20 16:21:59

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: ti: Enable support for overlays for relevant boards

On 16:34-20230920, Roger Quadros wrote:
> Enable __symbols__ in board DT files for which we expect
> overlays to be supported.
>
> Signed-off-by: Roger Quadros <[email protected]>
> ---
> arch/arm64/boot/dts/ti/Makefile | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
> index e7b8e2e7f083..06d6f264f292 100644
> --- a/arch/arm64/boot/dts/ti/Makefile
> +++ b/arch/arm64/boot/dts/ti/Makefile
> @@ -72,8 +72,16 @@ dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
> dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
>
> # Enable support for device-tree overlays
> +DTC_FLAGS_k3-am625-beagleplay += -@
> DTC_FLAGS_k3-am625-sk += -@
> DTC_FLAGS_k3-am62-lp-sk += -@
> +DTC_FLAGS_k3-am62a7-sk += -@
> +DTC_FLAGS_k3-am642-evm += -@
> +DTC_FLAGS_k3-am654-base-board += -@
> DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
> +DTC_FLAGS_k3-am68-sk-base-board += -@
> +DTC_FLAGS_k3-am69-sk += -@
> DTC_FLAGS_k3-j721e-common-proc-board += -@
> +DTC_FLAGS_k3-j721e-sk += -@
> DTC_FLAGS_k3-j721s2-common-proc-board += -@
> +DTC_FLAGS_k3-j784s4-evm += -@

is'nt it better to do it in context of the changes introduced?

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D