Skip to contentSkip to conversation

arm64: dts: ti: Add overlay for AM642-EVM NAND expansion card

PATCH Applied Roger Quadros 2 participants 4 messages Sep 23, 2023 – Oct 3, 2023

Subsystems (2)

v2 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: ti: Add overlay for AM642-EVM NAND expansion card

Hi,

This series adds device tree overlay for NAND expansion card for AM642-EVM.

cheers,
-roger

Changelog:
---------
v2:
- Drop patch "arm64: dts: ti: Enable support for overlays for relevant boards"
- Don't leave k3-am642-evm-nand.dtbo as an orphan. Make k3-am642-evm-nand.dtb with the overlay applied on the base board.
- Add patch "arm64: dts: ti: k3-am64: Add GPIO expander on I2C0"

Roger Quadros (2):
arm64: dts: ti: am642-evm: Add overlay for NAND expansion card
arm64: dts: ti: k3-am64: Add GPIO expander on I2C0

 arch/arm64/boot/dts/ti/Makefile               |   3 +-
 arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso | 140 ++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am642-evm.dts       |   9 ++
 3 files changed, 151 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d

Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/2 arm64: dts: ti: am642-evm: Add overlay for NAND expansion card

The NAND expansion card plugs in over the HSE (High Speed Expansion) connector. Add support for it.

---
 arch/arm64/boot/dts/ti/Makefile               |   3 +-
 arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso | 140 ++++++++++++++++++
 2 files changed, 142 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso
arch/arm64/boot/dts/ti/Makefile +2 -1
index e7b8e2e7f083..ad5f688df430 100644
@@ -28,7 +28,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
 
 # Boards with AM64x SoC
-dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
+k3-am642-evm-nand-dtbs := k3-am642-evm.dtb k3-am642-evm-nand.dtbo
+dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-nand.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso new file +140 -0

140 lines not on this page · raw message

Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 arm64: dts: ti: k3-am64: Add GPIO expander on I2C0

In reply to Roger Quadros

A TCA9554 GPIO expander is present on I2C0. Add it.

---
 arch/arm64/boot/dts/ti/k3-am642-evm.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/ti/k3-am642-evm.dts +9 -0
index b4a1f73d4fb1..3dccc597f516 100644
@@ -392,6 +392,15 @@ &main_i2c0 {
 	pinctrl-0 = <&main_i2c0_pins_default>;
 	clock-frequency = <400000>;
 
+	gpio@38 {
+		/* TCA9554 */
+		compatible = "nxp,pca9554";
+		reg = <0x38>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		gpio-line-names = "HSE_DETECT";
+	};
+
 	eeprom@50 {
 		/* AT24CM01 */
 		compatible = "atmel,24c1024";
Signature · 1 line
2.34.1
maintainer Applied
#3 lore raw
In reply to Roger Quadros

Hi Roger Quadros,

Quoted 13 lines · Roger Quadros

This series adds device tree overlay for NAND expansion card for AM642-EVM.

cheers,
-roger

Changelog:
---------
v2:
- Drop patch "arm64: dts: ti: Enable support for overlays for relevant boards"
- Don't leave k3-am642-evm-nand.dtbo as an orphan. Make k3-am642-evm-nand.dtb with the overlay applied on the base board.
- Add patch "arm64: dts: ti: k3-am64: Add GPIO expander on I2C0"

Quoted 1 line

[...]

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/2] arm64: dts: ti: am642-evm: Add overlay for NAND expansion card

      commit: 45a0c06571e1388f8cd3e0e0b1db9927db06cf2a
[2/2] arm64: dts: ti: k3-am64: Add GPIO expander on I2C0
      commit: 0ce486452bf216d502017b1db066a80b546d0f87

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh