Skip to contentSkip to conversation

arm64: dts: ti: Enable OLDI display on AM654 EVM

PATCH Applied Aradhya Bhatia 2 participants 4 messages May 9, 2023 – Jun 15, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: ti: Enable OLDI display on AM654 EVM

Hello,

This patch series adds support for the Rocktech RK101II01D-CT OLDI panel, on top of AM654 base-board EVM.

Moreover, it enables support for TI ECAP and TI EHRPWM drivers to provide SW control of backlight.

While the AM654 GP EVM also consists of usb/pcie expansion board, I have only added support for base-board + OLDI panel as I do not have the required hardware.

The first patch of this series, was picked up from TI's public tree[1] based on 5.10 LTS kernel.

[1]:
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am654-evm-oldi-lcd1evm.dts?h=ti-linux-5.10.y

Change Log:
V1 -> V2:
- Renamed the panel overlay file.
- Added am654-gp-evm build option in DT Makefile.
- Changes suggested by Tomi Valkeinen and Nishanth Menon.

V2 -> V3:
- Added the product link in the overlay file.

V3 -> V4:
- Added AM654 LCD EVM links for better information.

V1: https://lore.kernel.org/linux-devicetree/[email protected]/
V2: https://lore.kernel.org/linux-devicetree/[email protected]/
V3: i. https://lore.kernel.org/all/[email protected]/

    ii. https://lore.kernel.org/all/[email protected]/

Aradhya Bhatia (1):
arm64: defconfig: Enable PWM drivers for TI ECAP and EHRPWM

Jyri Sarha (1):
arm64: dts: ti: am65x: Add Rocktech OLDI panel DT overlay

 arch/arm64/boot/dts/ti/Makefile               |  2 +
 ...am654-base-board-rocktech-rk101-panel.dtso | 71 +++++++++++++++++++
 arch/arm64/configs/defconfig                  |  2 +
 3 files changed, 75 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am654-base-board-rocktech-rk101-panel.dtso
Signature · 1 line
2.40.1
#1 lore raw

PATCH v4 1/2 arm64: dts: ti: am65x: Add Rocktech OLDI panel DT overlay

From: Jyri Sarha <[email protected]>

The OLDI-LCD1EVM add on board has Rocktech RK101II01D-CT panel[1] with integrated touch screen. The integrated touch screen is Goodix GT928. This panel connects with AM65 GP-EVM[2].

Add DT nodes for these and connect the endpoint nodes with DSS.

[1]: Panel link
https://www.digimax.it/en/tft-lcd/20881-RK101II01D-CT

[2]: AM654 LCD EVM:
https://www.ti.com/tool/TMDSLCD1EVM

---
 arch/arm64/boot/dts/ti/Makefile               |  2 +
 ...am654-base-board-rocktech-rk101-panel.dtso | 71 +++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am654-base-board-rocktech-rk101-panel.dtso
arch/arm64/boot/dts/ti/Makefile +2 -0
index c83c9d772b81..47b0d257b508 100644
@@ -22,12 +22,14 @@ dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
 
 # Boards with AM65x SoC
+k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb k3-am654-base-board-rocktech-rk101-panel.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
 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-m2.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
+dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
 
 # Boards with J7200 SoC
 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
arch/arm64/boot/dts/ti/k3-am654-base-board-rocktech-rk101-panel.dtso new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.40.1
#2 lore raw

PATCH v4 2/2 arm64: defconfig: Enable PWM drivers for TI ECAP and EHRPWM

In reply to Aradhya Bhatia

TI's K3 SoCs uses the Enhanced high resolution PWM (EHRPWM) and the ECAP modules for generating PWM signals, used in various application.

One such example is controlling the backlight power of the display panels connected to the EVMs.

Enable these modules.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index a24609e14d50..08679650644d 100644
@@ -1319,6 +1319,8 @@ CONFIG_PWM_SAMSUNG=y
 CONFIG_PWM_SL28CPLD=m
 CONFIG_PWM_SUN4I=m
 CONFIG_PWM_TEGRA=m
+CONFIG_PWM_TIECAP=m
+CONFIG_PWM_TIEHRPWM=m
 CONFIG_PWM_VISCONTI=m
 CONFIG_SL28CPLD_INTC=y
 CONFIG_QCOM_PDC=y
Signature · 1 line
2.40.1
maintainer Applied
#3 lore raw

Re: (subset) [PATCH v4 0/2] arm64: dts: ti: Enable OLDI display on AM654 EVM

In reply to Aradhya Bhatia

Hi Aradhya Bhatia,

Quoted 11 lines · Aradhya Bhatia

This patch series adds support for the Rocktech RK101II01D-CT OLDI panel, on top of AM654 base-board EVM.

Moreover, it enables support for TI ECAP and TI EHRPWM drivers to provide SW control of backlight.

While the AM654 GP EVM also consists of usb/pcie expansion board, I have only added support for base-board + OLDI panel as I do not have the required hardware.

[...]

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

[1/2] arm64: dts: ti: am65x: Add Rocktech OLDI panel DT overlay

      commit: b8690ed3d1d16153be76f24de3a13797c9fd29b3

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