Re: [PATCH 3/3] arm64: dts: ti: iot2050: Add support for product generation 2 boards

From: Jan Kiszka
Date: Tue Sep 07 2021 - 11:27:47 EST


On 07.09.21 17:16, Nishanth Menon wrote:
> On 16:22-20210907, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>>
>> Product Generations 1 and 2 differ in the SOC revision which requires
>> separate device trees.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>> ---
>> arch/arm64/boot/dts/ti/Makefile | 2 +
>> .../dts/ti/k3-am65-iot2050-common-pg1.dtsi | 46 ++++++++++++++++
>> .../dts/ti/k3-am65-iot2050-common-pg2.dtsi | 51 ++++++++++++++++++
>> .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 35 +-----------
>> ...ts => k3-am6528-iot2050-basic-common.dtsi} | 12 ++---
>> .../dts/ti/k3-am6528-iot2050-basic-pg2.dts | 21 ++++++++
>> .../boot/dts/ti/k3-am6528-iot2050-basic.dts | 53 ++-----------------
>> ...=> k3-am6548-iot2050-advanced-common.dtsi} | 8 +--
>> .../dts/ti/k3-am6548-iot2050-advanced-pg2.dts | 26 +++++++++
>> .../dts/ti/k3-am6548-iot2050-advanced.dts | 52 ++----------------
>> 10 files changed, 161 insertions(+), 145 deletions(-)
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi
>> copy arch/arm64/boot/dts/ti/{k3-am6528-iot2050-basic.dts => k3-am6528-iot2050-basic-common.dtsi} (80%)
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts
>> copy arch/arm64/boot/dts/ti/{k3-am6548-iot2050-advanced.dts => k3-am6548-iot2050-advanced-common.dtsi} (86%)
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts
>
>
> Few things:
>
> a) Could you split this patch so that the refactoring for SR1 is the
> first patch and then introduce the SR2?

Can do, sure

> b) Please call these as sr (silicon revision) rather than pg.

Nope, this is only motivated by the SR1->SR2 switch. The new products
are called "PG2", and that is what the DT name must reflect. Took me a
while to grasp that as well.

> c) usual request: Please add urls for the board

Where should they go? I think there is only one reasonable to share:

https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html

If that is a stable link, I can't tell.

Thanks
Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux