Skip to contentSkip to conversation

arm64: dts: imx8mp: add imx8mp-venice-gw74xx-rpidsi overlay for display

PATCH Applied Tim Harvey 3 participants 6 messages Jul 19, 2023 – Oct 25, 2023

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH v2 1/1 arm64: dts: imx8mp: add imx8mp-venice-gw74xx-rpidsi overlay for display

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

---
v2:
- add newline between properties and child nodes

---
 arch/arm64/boot/dts/freescale/Makefile        |  2 +
 .../imx8mp-venice-gw74xx-rpidsi.dtso          | 87 +++++++++++++++++++
 2 files changed, 89 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-rpidsi.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
index 454b07ed09fc..60a69e114442 100644
@@ -156,6 +156,7 @@ imx8mm-venice-gw73xx-0x-rpidsi-dtbs	:= imx8mm-venice-gw73xx-0x.dtb imx8mm-venice
 imx8mm-venice-gw73xx-0x-rs232-rts-dtbs	:= imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs232-rts.dtbo
 imx8mm-venice-gw73xx-0x-rs422-dtbs	:= imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs422.dtbo
 imx8mm-venice-gw73xx-0x-rs485-dtbs	:= imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs485.dtbo
+imx8mp-venice-gw74xx-rpidsi-dtbs	:= imx8mp-venice-gw74xx.dtb imx8mp-venice-gw74xx-rpidsi.dtbo
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw72xx-0x-imx219.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw72xx-0x-rpidsi.dtb
@@ -167,6 +168,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rpidsi.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs232-rts.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs422.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs485.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw74xx-rpidsi.dtb
 
 dtb-$(CONFIG_ARCH_S32) += s32g274a-evb.dtb
 dtb-$(CONFIG_ARCH_S32) += s32g274a-rdb2.dtb
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-rpidsi.dtso new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 10 lines · Tim Harvey

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Quoted 4 lines

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

Applied, thanks!

#2 lore raw
In reply to Tim Harvey

Hey Tim,

Quoted 4 lines · Tim Harvey

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Quoted 8 lines

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

I'm just integrating the 7in Raspberry Pi display for a customer on an imx8mp. Do you have a (non-mainline) touch driver that works for the Raspberry Pi display? I might fight some time in this project to work on it.

regards,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |
#3 lore raw
Quoted 13 lines · Marc Kleine-Budde

Hey Tim,

Quoted 10 lines · Tim Harvey

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Quoted 7 lines
Quoted 2 lines

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

I'm just integrating the 7in Raspberry Pi display for a customer on an imx8mp. Do you have a (non-mainline) touch driver that works for the Raspberry Pi display? I might fight some time in this project to work on it.

Replying to myself:

Have a look at drivers/input/touchscreen/edt-ft5x06.c

regards,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#4 lore raw
Quoted 18 lines · Marc Kleine-Budde
Quoted 16 lines · Marc Kleine-Budde

Hey Tim,

Quoted 12 lines · Tim Harvey

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

Quoted 9 lines
Quoted 4 lines

I'm just integrating the 7in Raspberry Pi display for a customer on an imx8mp. Do you have a (non-mainline) touch driver that works for the Raspberry Pi display? I might fight some time in this project to work on it.

Replying to myself:

Have a look at drivers/input/touchscreen/edt-ft5x06.c

Hi Marc,

The specific display I have is the one from DFROBOT which emulates the original Rpi display as far as I know.

I came up with two different approaches, neither of which I got any comments from. I haven't spent any additional time on it and have just been carrying around a custom patch to support it.

You can find my patches here:
https://patchwork.kernel.org/project/linux-input/list/?series=596977&state=%2A&archive=both
- add support for DFROBOT touch controller
https://www.spinics.net/lists/linux-input/msg76457.html - proposal of adding a new driver

There's possibly a newer version of the patch that adds a new driver on a 6.1 kernel here:
https://github.com/Gateworks/linux-venice/commit/5bf0ffcf0352b45c29d33184e933a35dd53f27bb

Is this the same touch controller you are working with?

Best Regards,

Tim

#5 lore raw
Quoted 35 lines · Tim Harvey
Quoted 18 lines · Marc Kleine-Budde
Quoted 16 lines · Marc Kleine-Budde

Hey Tim,

Quoted 12 lines · Tim Harvey

Add support for the following Raspberry Pi displays:
- DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
- DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
- FocalTech FT5406 10pt touch controller (with no interrupt)
- Powertip PH800480T013-IDF02 compatible panel
- Toshiba TC358762 compatible DSI to DBI bridge
- ATTINY based regulator used for backlight controller and panel enable

Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed.

Quoted 8 lines
Quoted 4 lines

I'm just integrating the 7in Raspberry Pi display for a customer on an imx8mp. Do you have a (non-mainline) touch driver that works for the Raspberry Pi display? I might fight some time in this project to work on it.

Replying to myself:

Have a look at drivers/input/touchscreen/edt-ft5x06.c

The specific display I have is the one from DFROBOT which emulates the original Rpi display as far as I know.

I came up with two different approaches, neither of which I got any comments from. I haven't spent any additional time on it and have just been carrying around a custom patch to support it.

Quoted 5 lines

You can find my patches here:
https://patchwork.kernel.org/project/linux-input/list/?series=596977&state=%2A&archive=both
- add support for DFROBOT touch controller
https://www.spinics.net/lists/linux-input/msg76457.html - proposal of adding a new driver

Thanks for the links to the patches.

Quoted 5 lines

There's possibly a newer version of the patch that adds a new driver on a 6.1 kernel here:
https://github.com/Gateworks/linux-venice/commit/5bf0ffcf0352b45c29d33184e933a35dd53f27bb

Is this the same touch controller you are working with?

I'm working with the original 7" RPi display. Currently it's for development use for the customer. Not sure which display they will use in the final product.

regards,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |