* [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision
@ 2025-12-05 18:22 Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 1/4] arm64: dts: imx93-var-som-symphony: Update gpio aliases Stefano Radaelli
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Stefano Radaelli @ 2025-12-05 18:22 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel
This series adds support for several peripherals available on the
Variscite Symphony carrier board for the VAR-SOM-MX93 module.
The patches introduce:
- GPIO aliases cleanup to better expose available GPIOs
- FT5x06 capacitive touch controller
- USB1 (OTG, via PTN5150 Type-C controller) and USB2 (host-only) support
- LPSPI6 controller exposed on the expansion connector
These changes describe real hardware connections and make the exposed
interfaces available to user applications.
Tested on the Symphony board with a VAR-SOM-MX93.
Stefano Radaelli (4):
arm64: dts: imx93-var-som-symphony: Update gpio aliases
arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch
controller
arm64: dts: imx93-var-som-symphony: Add USB support
arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller
.../dts/freescale/imx93-var-som-symphony.dts | 84 +++++++++++++++++++
1 file changed, 84 insertions(+)
base-commit: 3f9f0252130e7dd60d41be0802bf58f6471c691d
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v1 1/4] arm64: dts: imx93-var-som-symphony: Update gpio aliases
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
@ 2025-12-05 18:22 ` Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 2/4] arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller Stefano Radaelli
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stefano Radaelli @ 2025-12-05 18:22 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel
This patch introduces 2 simple aliases:
Add a gpio3->gpio4 alias to allow flexible access to these GPIOs
Add a gpio4 alias for the PCA9534 GPIO expander.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
index c789c1f24bdc..00bdd3b91fdc 100644
--- a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
@@ -20,6 +20,8 @@ aliases {
gpio0 = &gpio1;
gpio1 = &gpio2;
gpio2 = &gpio3;
+ gpio3 = &gpio4;
+ gpio4 = &pca9534;
i2c0 = &lpi2c1;
i2c1 = &lpi2c2;
i2c2 = &lpi2c3;
--
2.47.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v1 2/4] arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 1/4] arm64: dts: imx93-var-som-symphony: Update gpio aliases Stefano Radaelli
@ 2025-12-05 18:22 ` Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 3/4] arm64: dts: imx93-var-som-symphony: Add USB support Stefano Radaelli
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stefano Radaelli @ 2025-12-05 18:22 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel
The Symphony carrier board exposes a capacitive touch interface through an
FFC/FPC connector. This interface is wired to an FT5x06 touch controller
on the I2C bus when using Variscite’s 7-inch capacitive touch display.
This patch adds the FT5x06 device node to describe the actual hardware
connection and enables touch functionality on the Symphony board
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
.../dts/freescale/imx93-var-som-symphony.dts | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
index 00bdd3b91fdc..39bfbd0428a9 100644
--- a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
@@ -208,6 +208,21 @@ &lpi2c1 {
sda-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
status = "okay";
+ /* Capacitive touch controller */
+ ft5x06_ts: touchscreen@38 {
+ compatible = "edt,edt-ft5206";
+ reg = <0x38>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_captouch>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+ touchscreen-size-x = <800>;
+ touchscreen-size-y = <480>;
+ touchscreen-inverted-x;
+ touchscreen-inverted-y;
+ wakeup-source;
+ };
+
/* DS1337 RTC module */
rtc@68 {
compatible = "dallas,ds1337";
@@ -272,6 +287,12 @@ &wdog3 {
};
&iomuxc {
+ pinctrl_captouch: captouchgrp {
+ fsl,pins = <
+ MX93_PAD_GPIO_IO25__GPIO2_IO25 0x31e
+ >;
+ };
+
pinctrl_fec: fecgrp {
fsl,pins = <
MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x57e
--
2.47.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v1 3/4] arm64: dts: imx93-var-som-symphony: Add USB support
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 1/4] arm64: dts: imx93-var-som-symphony: Update gpio aliases Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 2/4] arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller Stefano Radaelli
@ 2025-12-05 18:22 ` Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 4/4] arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller Stefano Radaelli
2025-12-30 2:57 ` [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Stefano Radaelli @ 2025-12-05 18:22 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel
The Symphony carrier board includes a USB Type-C connector on the USB1
port through an NXP PTN5150 Type-C controller connected on the I2C bus.
The PTN5150 provides cable orientation detection and role switching
information to the USB controller.
This patch adds the PTN5150 node, its interrupt line, the required pin
muxing, and wires the controller to the USB1 OTG dual-role device using
the USB role-switch framework.
This patch adds also USB2 support, that remains in host-only mode,
matching the hardware capabilities of the Symphony board.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
.../dts/freescale/imx93-var-som-symphony.dts | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
index 39bfbd0428a9..ee69d6b268a4 100644
--- a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
@@ -251,6 +251,22 @@ pca9534: gpio@20 {
#gpio-cells = <2>;
wakeup-source;
};
+
+ /* USB Type-C Controller */
+ ptn5150: typec@3d {
+ compatible = "nxp,ptn5150";
+ reg = <0x3d>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ptn5150>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <10 IRQ_TYPE_NONE>;
+
+ port {
+ typec1_dr_sw: endpoint {
+ remote-endpoint = <&usb1_drd_sw>;
+ };
+ };
+ };
};
/* Console */
@@ -267,6 +283,29 @@ &lpuart6 {
status = "okay";
};
+&usbotg1 {
+ dr_mode = "otg";
+ hnp-disable;
+ srp-disable;
+ adp-disable;
+ usb-role-switch;
+ samsung,picophy-pre-emp-curr-control = <3>;
+ samsung,picophy-dc-vol-level-adjust = <7>;
+ status = "okay";
+
+ port {
+ usb1_drd_sw: endpoint {
+ remote-endpoint = <&typec1_dr_sw>;
+ };
+ };
+};
+
+&usbotg2 {
+ dr_mode = "host";
+ disable-over-current;
+ status = "okay";
+};
+
/* SD */
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
@@ -351,6 +390,12 @@ MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x31e
>;
};
+ pinctrl_ptn5150: ptn5150grp {
+ fsl,pins = <
+ MX93_PAD_PDM_BIT_STREAM1__GPIO1_IO10 0x31e
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX93_PAD_UART1_RXD__LPUART1_RX 0x31e
--
2.47.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v1 4/4] arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
` (2 preceding siblings ...)
2025-12-05 18:22 ` [PATCH v1 3/4] arm64: dts: imx93-var-som-symphony: Add USB support Stefano Radaelli
@ 2025-12-05 18:22 ` Stefano Radaelli
2025-12-30 2:57 ` [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Stefano Radaelli @ 2025-12-05 18:22 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel
Enable the LPSPI6 controller so it can be used by user applications
through the board’s expansion connector.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
.../dts/freescale/imx93-var-som-symphony.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
index ee69d6b268a4..c0842fb3cfa3 100644
--- a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
@@ -276,6 +276,13 @@ &lpuart1 {
status = "okay";
};
+&lpspi6 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lpspi6>;
+ cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+ status = "okay";
+};
+
/* J18.7, J18.9 */
&lpuart6 {
pinctrl-names = "default";
@@ -384,6 +391,15 @@ MX93_PAD_GPIO_IO22__GPIO2_IO22 0x31e
>;
};
+ pinctrl_lpspi6: lpspi6grp {
+ fsl,pins = <
+ MX93_PAD_GPIO_IO00__GPIO2_IO00 0x31e
+ MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x31e
+ MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x31e
+ MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x31e
+ >;
+ };
+
pinctrl_pca9534: pca9534grp {
fsl,pins = <
MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x31e
--
2.47.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
` (3 preceding siblings ...)
2025-12-05 18:22 ` [PATCH v1 4/4] arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller Stefano Radaelli
@ 2025-12-30 2:57 ` Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2025-12-30 2:57 UTC (permalink / raw)
To: Stefano Radaelli
Cc: devicetree, linux-kernel, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, imx, linux-arm-kernel
On Fri, Dec 05, 2025 at 07:22:53PM +0100, Stefano Radaelli wrote:
> This series adds support for several peripherals available on the
> Variscite Symphony carrier board for the VAR-SOM-MX93 module.
>
> The patches introduce:
>
> - GPIO aliases cleanup to better expose available GPIOs
> - FT5x06 capacitive touch controller
> - USB1 (OTG, via PTN5150 Type-C controller) and USB2 (host-only) support
> - LPSPI6 controller exposed on the expansion connector
>
> These changes describe real hardware connections and make the exposed
> interfaces available to user applications.
>
> Tested on the Symphony board with a VAR-SOM-MX93.
>
> Stefano Radaelli (4):
> arm64: dts: imx93-var-som-symphony: Update gpio aliases
> arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch
> controller
> arm64: dts: imx93-var-som-symphony: Add USB support
> arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller
Applied all, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-12-30 2:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 18:22 [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 1/4] arm64: dts: imx93-var-som-symphony: Update gpio aliases Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 2/4] arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 3/4] arm64: dts: imx93-var-som-symphony: Add USB support Stefano Radaelli
2025-12-05 18:22 ` [PATCH v1 4/4] arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller Stefano Radaelli
2025-12-30 2:57 ` [PATCH v1 0/4] arm64: dts: imx93-var-som-symphony: align DTS with hw revision Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).