Skip to contentSkip to conversation

AM68 SK: Add initial support

PATCH Superseded Sinthu Raja 3 participants 13 messages Jan 5, 2023 – Jan 10, 2023

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover AM68 SK: Add initial support

From: Sinthu Raja <[email protected]>

Hi All,
Respinning this series after rebasing to 6.2.rc1.
This series of patches add support for AM68 Starter kit(SK). AM68 SK is a low cost, small form factor board designed for TI’s AM68 SoC.

Refer below link to AM68 Technical Reference Manual for further details:
http://www.ti.com/lit/pdf/spruj28

Design files can be referrred from https://www.ti.com/lit/zip/SPRR463

Changes in V4:
=============
Repost after rebasing to 6.2 rc1

Changes in V3:
==============
Addressed all the review comments and the changes are captured in separate patches.
- Removed the unused nodes that are disabled by default.
- Updated the gpio regulator node: gpio-regulator-tlv to "regulator-tlv".

V1: https://lore.kernel.org/linux-arm-kernel/[email protected]/t/#mbe43b02221733bb6eb06b203359e90ec08406afc
V2: https://lore.kernel.org/lkml/[email protected]/
V3: https://lore.kernel.org/linux-arm-kernel/[email protected]/

Sinthu Raja (3):
dt-bindings: arm: ti: Add binding for AM68 SK
arm64: dts: ti: Add initial support for AM68 SK System on Module
arm64: dts: ti: k3-am68-sk: Add support for AM68 SK base board

 .../devicetree/bindings/arm/ti/k3.yaml        |   1 +
 arch/arm64/boot/dts/ti/Makefile               |   2 +
 .../boot/dts/ti/k3-am68-sk-base-board.dts     | 335 ++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi    |  31 ++
 4 files changed, 369 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
 create mode 100644 arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
Signature · 1 line
2.36.1
#1 lore raw

PATCH v4 1/3 dt-bindings: arm: ti: Add binding for AM68 SK

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/k3.yaml +1 -0
index 203faab80142..acbc25108533 100644
@@ -69,6 +69,7 @@ properties:
       - description: K3 J721s2 SoC
         items:
           - enum:
+              - ti,am68-sk
               - ti,j721s2-evm
           - const: ti,j721s2
 
Signature · 1 line
2.36.1
#2 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

What happened here?

Best regards,
Krzysztof

#3 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 11 lines · Krzysztof Kozlowski
Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

Quoted 4 lines

Best regards,
Krzysztof

--
With Regards
Sinthu Raja

#4 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 10 lines · Sinthu Raja M
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Best regards,
Krzysztof

author Acked-by Krzysztof Kozlowski
#5 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 12 lines · Krzysztof Kozlowski
Quoted 10 lines · Sinthu Raja M
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Krzysztof,
Are you asking about this tag?

As I was rebasing I thought of not adding. Do I need to respin the patch series with V5 again with the tag?

Quoted 4 lines

Best regards,
Krzysztof

Signature · 2 lines
With Regards
Sinthu Raja
maintainer
#6 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 16 lines · Sinthu Raja M
Quoted 14 lines · Krzysztof Kozlowski
Quoted 12 lines · Sinthu Raja M
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Krzysztof,
Are you asking about this tag?

When you are re-posting OR updating the series, it is the patch sender's responsibility to pick up the acks. If you are explicitly not picking up reviews and acks, you should state in the diffstat why.

Also see the b4 tricks[1]

[1] https://www.youtube.com/watch?v=-Vld9aoFPwU

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#7 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 27 lines · Nishanth Menon
Quoted 16 lines · Sinthu Raja M
Quoted 14 lines · Krzysztof Kozlowski
Quoted 12 lines · Sinthu Raja M
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Krzysztof,
Are you asking about this tag?

Quoted 7 lines

When you are re-posting OR updating the series, it is the patch sender's responsibility to pick up the acks. If you are explicitly not picking up reviews and acks, you should state in the diffstat why.

Also see the b4 tricks[1]

[1] https://www.youtube.com/watch?v=-Vld9aoFPwU

Nishanth,
Thanks for the information.

Krzysztof,
Sorry for the errors caused by my oversight. Kindly excuse me. Would you want me to resend the V3 series with the correct subject?

Quoted 5 lines

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

Signature · 2 lines
With Regards
Sinthu Raja
#8 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 35 lines · Sinthu Raja M
Quoted 33 lines · Nishanth Menon
Quoted 16 lines · Sinthu Raja M
Quoted 14 lines · Krzysztof Kozlowski
Quoted 12 lines · Sinthu Raja M
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Krzysztof,
Are you asking about this tag?

When you are re-posting OR updating the series, it is the patch sender's responsibility to pick up the acks. If you are explicitly not picking up reviews and acks, you should state in the diffstat why.

Also see the b4 tricks[1]

Quoted 8 lines
Quoted 1 line

[1] https://www.youtube.com/watch?v=-Vld9aoFPwU

Nishanth,
Thanks for the information.

Krzysztof,
Sorry for the errors caused by my oversight. Kindly excuse me. Would you want me to resend the V3 series with the correct subject?

Quoted 1 line

Hi Krzysztof,
Could you please let me know if further action is required from my end?

Quoted 10 lines
Quoted 4 lines

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

--
With Regards
Sinthu Raja

Signature · 2 lines
With Regards
Sinthu Raja
#9 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

Quoted 41 lines · Sinthu Raja M
Quoted 39 lines · Sinthu Raja M
Quoted 27 lines · Nishanth Menon
Quoted 16 lines · Sinthu Raja M
Quoted 14 lines · Krzysztof Kozlowski
Quoted 12 lines · Sinthu Raja M
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Krzysztof,
Are you asking about this tag?

Quoted 7 lines

When you are re-posting OR updating the series, it is the patch sender's responsibility to pick up the acks. If you are explicitly not picking up reviews and acks, you should state in the diffstat why.

Also see the b4 tricks[1]

[1] https://www.youtube.com/watch?v=-Vld9aoFPwU

Nishanth,
Thanks for the information.

Quoted 6 lines
Quoted 4 lines

Krzysztof,
Sorry for the errors caused by my oversight. Kindly excuse me. Would you want me to resend the V3 series with the correct subject?

Quoted 1 line

Hi Krzysztof,
Could you please let me know if further action is required from my end?

Please repost with all tags from all people and properly rebased. This is weird that once you have in patch a tag, in next version it's gone. it suggest you sent wrong patch, not previous but one older.

Best regards,
Krzysztof

maintainer
#10 lore raw

Re: [PATCH V4 1/3] dt-bindings: arm: ti: Add binding for AM68 SK

In reply to Krzysztof Kozlowski
Quoted 11 lines · Krzysztof Kozlowski
Quoted 10 lines · Sinthu Raja M
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68 SoC which is optimized to provide best in class performance for industrial applications and add binding for the same.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

What happened here?,

Krzysztof
Missed the merge window, so rebased to 6.2rc1 and reposted again.

And what was here in v3?

Sinthu, If I am not mistaken (Krzysztof can correct me), what is meant here are two things:

a) if no modification to the patch was made and just a repost is being done, just indicate that in $subject. Examples: [1]

b) Ensure that there is a changelog. I understand that the cover letter[2] has indicated this, but keep in mind that reviewers use filters, and cover-letter does'nt fall into their filter. I usually capture the change information per patch as well. If you are a b4 fan, see Konstantin's tips with B4 in [3][4]

[1] https://lore.kernel.org/linux-arm-kernel/?q=RESEND
[2] https://lore.kernel.org/all/[email protected]/
[3] https://people.kernel.org/monsieuricon/sending-a-kernel-patch-with-b4-part-1
[4] https://www.youtube.com/watch?v=-Vld9aoFPwU

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#11 lore raw

PATCH v4 2/3 arm64: dts: ti: Add initial support for AM68 SK System on Module

In reply to Sinthu Raja

From: Sinthu Raja <[email protected]>

AM68 Starter Kit (SK) is a low cost, small form factor board designed for TI’s AM68 SoC. TI’s AM68 SoC comprises of dual core A72, high performance vision accelerators, hardware accelerators, latest C71x DSP, high bandwidth real-time IPs for capture and display. The SoC is power optimized to provide best in class performance for industrial applications.

AM68 SK supports the following interfaces:
* 16 GB LPDDR4 RAM
* x1 Gigabit Ethernet interface
* x1 USB 3.1 Type-C port
* x2 USB 3.1 Type-A ports
* x1 PCIe M.2 M Key
* 512 Mbit OSPI flash
* x2 CSI2 Camera interface (RPi and TI Camera connector)
* 40-pin Raspberry Pi GPIO header

SK's System on Module (SoM) contains the SoC and DDR. Therefore, add DT node for the SOC and DDR on the SoM.

Schematics: https://www.ti.com/lit/zip/SPRR463
TRM: http://www.ti.com/lit/pdf/spruj28

---
 arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi new file +31 -0
new file mode 100644
index 000000000000..c35f81edee8c
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+/dts-v1/;
+
+#include "k3-j721s2.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	memory@80000000 {
+		device_type = "memory";
+		/* 16 GB RAM */
+		reg = <0x00 0x80000000 0x00 0x80000000>,
+		      <0x08 0x80000000 0x03 0x80000000>;
+	};
+
+	/* Reserving memory regions still pending */
+	reserved_memory: reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		secure_ddr: optee@9e800000 {
+			reg = <0x00 0x9e800000 0x00 0x01800000>;
+			alignment = <0x1000>;
+			no-map;
+		};
+	};
+};
Signature · 1 line
2.36.1
#12 lore raw

PATCH v4 3/3 arm64: dts: ti: k3-am68-sk: Add support for AM68 SK base board

In reply to Sinthu Raja

From: Sinthu Raja <[email protected]>

The SK architecture comprises of baseboard and a SOM board. The AM68 Starter Kit's baseboard contains most of the actual connectors, power supply etc. The System on Module (SoM) is plugged on to the base board. Therefore, add support for peripherals brought out in the base board.

Schematics: https://www.ti.com/lit/zip/SPRR463

---
 arch/arm64/boot/dts/ti/Makefile               |   2 +
 .../boot/dts/ti/k3-am68-sk-base-board.dts     | 335 ++++++++++++++++++
 2 files changed, 337 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
arch/arm64/boot/dts/ti/Makefile +2 -0
index cf7c509538a4..1b4e8b573de5 100644
@@ -12,6 +12,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
 
+dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
+
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts new file +335 -0

335 lines not on this page · raw message

Signature · 1 line
2.36.1