mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SK-LCD1 support for AM62X
@ 2025-10-17 11:53 Swamil Jain
  2025-10-17 11:53 ` [PATCH 1/2] arm64: dts: ti: Add Microtips OLDI SK-LCD1 Overlay for AM625-SK Swamil Jain
  2025-10-17 11:53 ` [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors Swamil Jain
  0 siblings, 2 replies; 4+ messages in thread
From: Swamil Jain @ 2025-10-17 11:53 UTC (permalink / raw)
  To: nm, tomi.valkeinen, robh, jyri.sarha, aradhya.bhatia, airlied,
	conor+dt, h-shenoy, kristo, krzk+dt, maarten.lankhorst, mripard,
	simona, tzimmermann
  Cc: devarsht, praneeth, u-kumar1, linux-arm-kernel, linux-kernel,
	devicetree, dri-devel, s-jain1

- Add overlay for SK-LCD1[1]
- Enable ILITEK touch sensor

Thie series depends on OLDI support enablement series[2]. Please apply
on top of the mentioned series.

Links:
[1]: https://www.ti.com/tool/SK-LCD1
[2]: https://lore.kernel.org/all/20250913064205.4152249-1-s-jain1@ti.com/

Aradhya Bhatia (1):
  arm64: dts: ti: Add Microtips OLDI SK-LCD1 Overlay for AM625-SK

Swamil Jain (1):
  arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch
    sensors

 arch/arm64/boot/dts/ti/Makefile               |   4 +
 .../k3-am625-sk-microtips-mf101hie-panel.dtso | 121 ++++++++++++++++++
 arch/arm64/configs/defconfig                  |   1 +
 3 files changed, 126 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm64: dts: ti: Add Microtips OLDI SK-LCD1 Overlay for AM625-SK
  2025-10-17 11:53 [PATCH 0/2] Add SK-LCD1 support for AM62X Swamil Jain
@ 2025-10-17 11:53 ` Swamil Jain
  2025-10-17 11:53 ` [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors Swamil Jain
  1 sibling, 0 replies; 4+ messages in thread
From: Swamil Jain @ 2025-10-17 11:53 UTC (permalink / raw)
  To: nm, tomi.valkeinen, robh, jyri.sarha, aradhya.bhatia, airlied,
	conor+dt, h-shenoy, kristo, krzk+dt, maarten.lankhorst, mripard,
	simona, tzimmermann
  Cc: devarsht, praneeth, u-kumar1, linux-arm-kernel, linux-kernel,
	devicetree, dri-devel, s-jain1

From: Aradhya Bhatia <a-bhatia1@ti.com>

The panel is Microtips Technology USA MF-101HIEBCAF0[1]. It is a
Dual-Link LVDS panel and supports WUXGA resolution (1920x1200).
Furthermore, it has an i2c based touch controller: Ilitek-ILI2511.

Add DT overlay for the OLDI Panel.

[1]: https://www.ti.com/tool/SK-LCD1

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Signed-off-by: Swamil Jain <s-jain1@ti.com>
---
 arch/arm64/boot/dts/ti/Makefile               |   4 +
 .../k3-am625-sk-microtips-mf101hie-panel.dtso | 121 ++++++++++++++++++
 2 files changed, 125 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index 743115b849a7..17776b7facb9 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -14,6 +14,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-ov5640.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb
+dtb-$(CONFIG_ARCH_K3) += k3-am625-sk-microtips-mf101hie-panel.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dahlia.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dev.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-ivy.dtb
@@ -176,6 +177,8 @@ k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
 k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
 	k3-am62x-sk-csi2-tevi-ov5640.dtbo
 k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
+k3-am625-sk-microtips-mf101hie-panel-dtbs := k3-am625-sk.dtb \
+	k3-am625-sk-microtips-mf101hie-panel.dtbo
 k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
 k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
 	k3-am62x-sk-csi2-imx219.dtbo
@@ -258,6 +261,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
 	k3-am625-sk-csi2-ov5640.dtb \
 	k3-am625-sk-csi2-tevi-ov5640.dtb \
 	k3-am625-sk-hdmi-audio.dtb \
+	k3-am625-sk-microtips-mf101hie-panel.dtb \
 	k3-am62-lp-sk-hdmi-audio.dtb \
 	k3-am62a7-sk-csi2-imx219.dtb \
 	k3-am62a7-sk-csi2-ov5640.dtb \
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso b/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso
new file mode 100644
index 000000000000..2fcf16042663
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso
@@ -0,0 +1,121 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/**
+ * Microtips integrated OLDI panel (MF-101HIEBCAF0) and touch DT overlay for AM625 - SK
+ *
+ * Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+#include "k3-pinctrl.h"
+
+&{/} {
+	display {
+		compatible = "microtips,mf-101hiebcaf0";
+		/*
+		* Note that the OLDI TX 0 transmits the odd set of pixels
+		* while the OLDI TX 1 transmits the even set. This is a
+		* fixed configuration in the IP integration and is not
+		* changeable. The properties, "dual-lvds-odd-pixels" and
+		* "dual-lvds-even-pixels" have been used to merely
+		* identify if a Dual Link configuration is required.
+		* Swapping them will cause an error in the dss oldi driver.
+		*/
+		power-supply = <&vcc_3v3_sys>;
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				dual-lvds-odd-pixels;
+				lcd_in0: endpoint {
+					remote-endpoint = <&oldi_0_out>;
+				};
+			};
+			port@1 {
+				reg = <1>;
+				dual-lvds-even-pixels;
+				lcd_in1: endpoint {
+					remote-endpoint = <&oldi_1_out>;
+				};
+			};
+		};
+	};
+};
+
+&dss {
+	status = "okay";
+};
+
+&oldi0 {
+	status = "okay";
+	ti,companion-oldi = <&oldi1>;
+};
+
+&oldi1 {
+	status = "okay";
+	ti,secondary-oldi;
+	ti,companion-oldi = <&oldi0>;
+};
+
+&oldi0_port0 {
+	oldi_0_in: endpoint {
+		remote-endpoint = <&dpi0_out0>;
+	};
+};
+
+&oldi0_port1 {
+	oldi_0_out: endpoint {
+		remote-endpoint = <&lcd_in0>;
+	};
+};
+
+&oldi1_port0 {
+	oldi_1_in: endpoint {
+		remote-endpoint = <&dpi0_out1>;
+	};
+};
+
+&oldi1_port1 {
+	oldi_1_out: endpoint {
+		remote-endpoint = <&lcd_in1>;
+	};
+};
+
+&dss_ports {
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	/* VP1: Output to OLDI */
+	port@0 {
+		reg = <0>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		dpi0_out0: endpoint@0 {
+			reg = <0>;
+			remote-endpoint = <&oldi_0_in>;
+		};
+		dpi0_out1: endpoint@1 {
+			reg = <1>;
+			remote-endpoint = <&oldi_1_in>;
+		};
+	};
+};
+
+&main_i2c0 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	touchscreen@41 {
+		compatible = "ilitek,ili251x";
+		reg = <0x41>;
+		interrupt-parent = <&exp1>;
+		interrupts = <22 IRQ_TYPE_EDGE_FALLING>;
+	};
+};

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors
  2025-10-17 11:53 [PATCH 0/2] Add SK-LCD1 support for AM62X Swamil Jain
  2025-10-17 11:53 ` [PATCH 1/2] arm64: dts: ti: Add Microtips OLDI SK-LCD1 Overlay for AM625-SK Swamil Jain
@ 2025-10-17 11:53 ` Swamil Jain
  2025-10-18 17:28   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 4+ messages in thread
From: Swamil Jain @ 2025-10-17 11:53 UTC (permalink / raw)
  To: nm, tomi.valkeinen, robh, jyri.sarha, aradhya.bhatia, airlied,
	conor+dt, h-shenoy, kristo, krzk+dt, maarten.lankhorst, mripard,
	simona, tzimmermann
  Cc: devarsht, praneeth, u-kumar1, linux-arm-kernel, linux-kernel,
	devicetree, dri-devel, s-jain1

Microtips Technology USA's LVDS Panel MF-101HIEBCAF0[1] uses
ILITEK 2511 capacitative touch sensor to provide touch features on the
display. This panel is used with TI's AM62-SK EVMs.

Enable ILITEK ILI21X touch sensors.

[1]: https://www.ti.com/tool/SK-LCD1

Signed-off-by: Swamil Jain <s-jain1@ti.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 9379cb230f6d..dea15cd20828 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -472,6 +472,7 @@ CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_TOUCHSCREEN_ATMEL_MXT=m
 CONFIG_TOUCHSCREEN_GOODIX=m
 CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI=m
+CONFIG_TOUCHSCREEN_ILI210X=m
 CONFIG_TOUCHSCREEN_ELAN=m
 CONFIG_TOUCHSCREEN_EDT_FT5X06=m
 CONFIG_INPUT_MISC=y

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors
  2025-10-17 11:53 ` [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors Swamil Jain
@ 2025-10-18 17:28   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-18 17:28 UTC (permalink / raw)
  To: Swamil Jain, nm, tomi.valkeinen, robh, jyri.sarha,
	aradhya.bhatia, airlied, conor+dt, h-shenoy, kristo, krzk+dt,
	maarten.lankhorst, mripard, simona, tzimmermann
  Cc: devarsht, praneeth, u-kumar1, linux-arm-kernel, linux-kernel,
	devicetree, dri-devel

On 17/10/2025 13:53, Swamil Jain wrote:
> Microtips Technology USA's LVDS Panel MF-101HIEBCAF0[1] uses
> ILITEK 2511 capacitative touch sensor to provide touch features on the
> display. This panel is used with TI's AM62-SK EVMs.
> 
> Enable ILITEK ILI21X touch sensors.
> 
> [1]: https://www.ti.com/tool/SK-LCD1
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-18 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-17 11:53 [PATCH 0/2] Add SK-LCD1 support for AM62X Swamil Jain
2025-10-17 11:53 ` [PATCH 1/2] arm64: dts: ti: Add Microtips OLDI SK-LCD1 Overlay for AM625-SK Swamil Jain
2025-10-17 11:53 ` [PATCH 2/2] arm64: defconfig: Enable ILITEK ILI21X & ILI25X family of touch sensors Swamil Jain
2025-10-18 17:28   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®