* [PATCH v2 1/4] dt-bindings: display: bridge: Add THine THC63LVD827
2026-10-05 9:50 [PATCH v2 0/4] drm/bridge: Add Thine THC63LVD827 LVDS encoder and 10inch LVDS panel on Colibri iMX7 Francesco Dolcini
@ 2026-10-05 9:50 ` Francesco Dolcini
2026-10-05 10:52 ` Conor Dooley
2026-10-05 9:50 ` [PATCH v2 2/4] drm/bridge: Add THine THC63LVD827 LVDS encoder Francesco Dolcini
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Francesco Dolcini @ 2026-10-05 9:50 UTC (permalink / raw)
To: Francesco Dolcini, Andrzej Hajda, Neil Armstrong, Robert Foss,
Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Luca Ceresoli,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
Cc: Francesco Dolcini, dri-devel, devicetree, linux-kernel, imx,
linux-arm-kernel
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Add THine THC63LVD827 DPI to LVDS encoder.
The THC63LVD827 is a simple DPI to LVDS encoder that can be configured
with input pins.
Link: https://www.thine.co.jp/en/products/detail/THC63LVD827.html
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2:
- use folded style for the description
- document the power supplies
---
.../display/bridge/thine,thc63lvd827.yaml | 138 ++++++++++++++++++
MAINTAINERS | 5 +
2 files changed, 143 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml
diff --git a/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml
new file mode 100644
index 000000000000..37d018eee813
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml
@@ -0,0 +1,138 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/bridge/thine,thc63lvd827.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: THine THC63LVD827 DPI to LVDS encoder
+
+maintainers:
+ - Francesco Dolcini <francesco.dolcini@toradex.com>
+
+description: >
+ The THC63LVD827 converts a 24-bit parallel RGB interface plus HSYNC,
+ VSYNC and data-enable to single-link or dual-link LVDS.
+
+ The LVDS output data mapping is configured using the MAP and 6B/8B inputs,
+ that can be controlled by GPIOs.
+
+ The LVDS output link mode (single/dual) is configured using the MODE input.
+
+ The parallel interface pixel clock sample polarity is configurable with the
+ R/F input strap option.
+
+properties:
+ compatible:
+ const: thine,thc63lvd827
+
+ map-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the MAP input. A high level selects Mapping Mode 1
+ and a low level selects Mapping Mode 2.
+
+ mode-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the MODE input. A high level selects single-link
+ LVDS output and a low level selects dual-link LVDS output.
+
+ b6b8-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the 6B/8B input. A high level selects 6-bit (21-bit)
+ mode and a low level selects 8-bit (27-bit) mode.
+
+ powerdown-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the active-low /PDWN input. A high level selects
+ normal operation and a low level power down the chip.
+
+ vcc-supply:
+ description: Power supply for the digital circuitry (1.8V).
+
+ pllvcc-supply:
+ description: Power supply for the PLL circuitry (1.8V).
+
+ lvdsvcc-supply:
+ description: Power supply for the LVDS outputs (1.8V).
+
+ iovcc-supply:
+ description: Power supply for the IO inputs circuitry (1.8V, 2.5V or 3.3V).
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: Parallel RGB input
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml
+ unevaluatedProperties: false
+
+ properties:
+ pclk-sample:
+ description:
+ Sample data on falling (0) or rising (1) edges of the pixel
+ clock signal.
+ enum: [ 0, 1 ]
+ default: 0
+
+ port@1:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: LVDS output 1st link, used in single- and dual-link mode.
+
+ port@2:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Optional LVDS output 2nd link, for dual-link mode.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ lvds-encoder {
+ compatible = "thine,thc63lvd827";
+
+ map-gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
+ mode-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
+ powerdown-gpios = <&gpio4 12 GPIO_ACTIVE_LOW>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ endpoint {
+ pclk-sample = <1>;
+ remote-endpoint = <&dpi_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ endpoint {
+ remote-endpoint = <&lvds_display_in>;
+ };
+ };
+ };
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index b9e03e2960e1..32923e76252b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8721,6 +8721,11 @@ F: Documentation/devicetree/bindings/display/rockchip/rockchip,dw-dp.yaml
F: drivers/gpu/drm/bridge/synopsys/dw-dp.c
F: include/drm/bridge/dw_dp.h
+DRM DRIVER FOR THINE THC63LVD827 DPI TO LVDS BRIDGE
+M: Francesco Dolcini <francesco@dolcini.it>
+S: Maintained
+F: Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml
+
DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE
M: Jagan Teki <jagan@amarulasolutions.com>
S: Maintained
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v2 2/4] drm/bridge: Add THine THC63LVD827 LVDS encoder
2026-10-05 9:50 [PATCH v2 0/4] drm/bridge: Add Thine THC63LVD827 LVDS encoder and 10inch LVDS panel on Colibri iMX7 Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 1/4] dt-bindings: display: bridge: Add THine THC63LVD827 Francesco Dolcini
@ 2026-10-05 9:50 ` Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 3/4] ARM: dts: imx7d-colibri-emmc: Add Toradex Capacitive Touch Display 10" LVDS Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 4/4] ARM: dts: imx6ull-colibri-emmc: " Francesco Dolcini
3 siblings, 0 replies; 6+ messages in thread
From: Francesco Dolcini @ 2026-10-05 9:50 UTC (permalink / raw)
To: Francesco Dolcini, Andrzej Hajda, Neil Armstrong, Robert Foss,
Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Luca Ceresoli,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
Cc: Francesco Dolcini, dri-devel, devicetree, linux-kernel, imx,
linux-arm-kernel
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Add THC63LVD827 DPI to LVDS bridge driver. The driver supports
configuring the LVDS data mapping. As of now only single link LVDS is
supported, dual link support can be added if/when needed.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2:
- use bridge.next_bridge with of_drm_get_bridge_by_endpoint() instead
of a private pointer from devm_drm_of_get_bridge()
- drop unused platform_set_drvdata()
- add power supplies support
- enforce the input pixel clock sampling edge via atomic_check
---
MAINTAINERS | 1 +
drivers/gpu/drm/bridge/Kconfig | 11 ++
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/thc63lvd827.c | 228 +++++++++++++++++++++++++++
4 files changed, 241 insertions(+)
create mode 100644 drivers/gpu/drm/bridge/thc63lvd827.c
diff --git a/MAINTAINERS b/MAINTAINERS
index 32923e76252b..034a58929945 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8725,6 +8725,7 @@ DRM DRIVER FOR THINE THC63LVD827 DPI TO LVDS BRIDGE
M: Francesco Dolcini <francesco@dolcini.it>
S: Maintained
F: Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml
+F: drivers/gpu/drm/bridge/thc63lvd827.c
DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE
M: Jagan Teki <jagan@amarulasolutions.com>
diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index c7da6b02d7b6..75a40fd38ff1 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -362,6 +362,17 @@ config DRM_THINE_THC63LVD1024
help
Thine THC63LVD1024 LVDS/parallel converter driver.
+config DRM_THINE_THC63LVD827
+ tristate "THine THC63LVD827 DPI/LVDS bridge"
+ depends on OF
+ select DRM_KMS_HELPER
+ help
+ Enable support for the THine THC63LVD827 DPI to LVDS bridge.
+
+ The device converts a parallel RGB display interface to an LVDS
+ output for connection to LVDS display panels.
+ The bridge supports configurable JEIDA and VESA LVDS data mapping.
+
config DRM_THEAD_TH1520_DW_HDMI
tristate "T-Head TH1520 DesignWare HDMI bridge"
depends on OF
diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile
index 15cc821d85b7..5d578f7112c8 100644
--- a/drivers/gpu/drm/bridge/Makefile
+++ b/drivers/gpu/drm/bridge/Makefile
@@ -33,6 +33,7 @@ obj-$(CONFIG_DRM_SIMPLE_BRIDGE) += simple-bridge.o
obj-$(CONFIG_DRM_SOLOMON_SSD2825) += ssd2825.o
obj-$(CONFIG_DRM_THEAD_TH1520_DW_HDMI) += th1520-dw-hdmi.o
obj-$(CONFIG_DRM_THINE_THC63LVD1024) += thc63lvd1024.o
+obj-$(CONFIG_DRM_THINE_THC63LVD827) += thc63lvd827.o
obj-$(CONFIG_DRM_TOSHIBA_TC358762) += tc358762.o
obj-$(CONFIG_DRM_TOSHIBA_TC358764) += tc358764.o
obj-$(CONFIG_DRM_TOSHIBA_TC358767) += tc358767.o
diff --git a/drivers/gpu/drm/bridge/thc63lvd827.c b/drivers/gpu/drm/bridge/thc63lvd827.c
new file mode 100644
index 000000000000..02b97d1cc71e
--- /dev/null
+++ b/drivers/gpu/drm/bridge/thc63lvd827.c
@@ -0,0 +1,228 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) Toradex
+ * Author: Francesco Dolcini <francesco.dolcini@toradex.com>
+ */
+
+#include <linux/gpio/consumer.h>
+#include <linux/media-bus-format.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/of_graph.h>
+#include <linux/platform_device.h>
+#include <linux/regulator/consumer.h>
+#include <linux/slab.h>
+
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_bridge.h>
+
+static const struct regulator_bulk_data thc63lvd827_supplies[] = {
+ { .supply = "vcc" },
+ { .supply = "pllvcc" },
+ { .supply = "lvdsvcc" },
+ { .supply = "iovcc" },
+};
+
+struct thc63lvd827 {
+ struct device *dev;
+ struct drm_bridge bridge;
+ struct regulator_bulk_data *supplies;
+
+ struct gpio_desc *map_gpio;
+ struct gpio_desc *mode_gpio;
+ struct gpio_desc *b6b8_gpio;
+ struct gpio_desc *pd_gpio;
+
+ struct drm_bridge_timings timings;
+};
+
+static struct thc63lvd827 *bridge_to_thc63lvd827(struct drm_bridge *bridge)
+{
+ return container_of(bridge, struct thc63lvd827, bridge);
+}
+
+static int thc63lvd827_attach(struct drm_bridge *bridge,
+ struct drm_encoder *encoder,
+ enum drm_bridge_attach_flags flags)
+{
+ return drm_bridge_attach(encoder, bridge->next_bridge, bridge, flags);
+}
+
+static u32 *
+thc63lvd827_atomic_get_input_bus_fmts(struct drm_bridge *bridge,
+ struct drm_bridge_state *bridge_state,
+ struct drm_crtc_state *crtc_state,
+ struct drm_connector_state *conn_state,
+ u32 output_fmt,
+ unsigned int *num_input_fmts)
+{
+ u32 *input_fmts;
+
+ *num_input_fmts = 0;
+
+ input_fmts = kmalloc_obj(*input_fmts);
+ if (!input_fmts)
+ return NULL;
+
+ input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24;
+ *num_input_fmts = 1;
+
+ return input_fmts;
+}
+
+static int thc63lvd827_atomic_check(struct drm_bridge *bridge,
+ struct drm_bridge_state *bridge_state,
+ struct drm_crtc_state *crtc_state,
+ struct drm_connector_state *conn_state)
+{
+ struct thc63lvd827 *thc63lvd827 = bridge_to_thc63lvd827(bridge);
+
+ bridge_state->input_bus_cfg.flags = thc63lvd827->timings.input_bus_flags;
+
+ return 0;
+}
+
+static void thc63lvd827_atomic_pre_enable(struct drm_bridge *bridge,
+ struct drm_atomic_commit *state)
+{
+ struct thc63lvd827 *thc63lvd827 = bridge_to_thc63lvd827(bridge);
+ const struct drm_bridge_state *bridge_state;
+ int b6b8_val, map_val, ret;
+
+ ret = regulator_bulk_enable(ARRAY_SIZE(thc63lvd827_supplies),
+ thc63lvd827->supplies);
+ if (ret) {
+ dev_err(thc63lvd827->dev, "failed to enable regulators: %d\n", ret);
+ return;
+ }
+
+ bridge_state = drm_atomic_get_new_bridge_state(state, bridge);
+
+ /*
+ * 6B/8B: H = 6-bit (21-bit) mode, L = 8-bit (27-bit) mode.
+ * MAP: H = Mapping Mode 1, L = Mapping Mode 2.
+ */
+ switch (bridge_state->output_bus_cfg.format) {
+ case MEDIA_BUS_FMT_RGB666_1X7X3_SPWG:
+ b6b8_val = 1;
+ map_val = 1;
+ break;
+ case MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA:
+ b6b8_val = 0;
+ map_val = 1;
+ break;
+ default:
+ case MEDIA_BUS_FMT_RGB888_1X7X4_SPWG:
+ b6b8_val = 0;
+ map_val = 0;
+ break;
+ }
+
+ gpiod_set_value_cansleep(thc63lvd827->b6b8_gpio, b6b8_val);
+ gpiod_set_value_cansleep(thc63lvd827->map_gpio, map_val);
+ gpiod_set_value_cansleep(thc63lvd827->pd_gpio, 0);
+}
+
+static void thc63lvd827_atomic_post_disable(struct drm_bridge *bridge,
+ struct drm_atomic_commit *state)
+{
+ struct thc63lvd827 *thc63lvd827 = bridge_to_thc63lvd827(bridge);
+ int ret;
+
+ gpiod_set_value_cansleep(thc63lvd827->pd_gpio, 1);
+
+ ret = regulator_bulk_disable(ARRAY_SIZE(thc63lvd827_supplies),
+ thc63lvd827->supplies);
+ if (ret)
+ dev_err(thc63lvd827->dev, "failed to disable regulators: %d\n", ret);
+}
+
+static const struct drm_bridge_funcs thc63lvd827_bridge_funcs = {
+ .attach = thc63lvd827_attach,
+ .atomic_check = thc63lvd827_atomic_check,
+ .atomic_pre_enable = thc63lvd827_atomic_pre_enable,
+ .atomic_post_disable = thc63lvd827_atomic_post_disable,
+ .atomic_get_input_bus_fmts = thc63lvd827_atomic_get_input_bus_fmts,
+ .atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
+ .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
+ .atomic_create_state = drm_atomic_helper_bridge_create_state,
+};
+
+static int thc63lvd827_probe(struct platform_device *pdev)
+{
+ struct device *dev = &pdev->dev;
+ struct thc63lvd827 *thc63lvd827;
+ struct device_node *ep;
+ u32 pclk_sample = 0;
+ int ret;
+
+ thc63lvd827 = devm_drm_bridge_alloc(dev, struct thc63lvd827, bridge,
+ &thc63lvd827_bridge_funcs);
+ if (IS_ERR(thc63lvd827))
+ return PTR_ERR(thc63lvd827);
+
+ thc63lvd827->dev = dev;
+
+ ret = devm_regulator_bulk_get_const(dev, ARRAY_SIZE(thc63lvd827_supplies),
+ thc63lvd827_supplies, &thc63lvd827->supplies);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to get regulators\n");
+
+ thc63lvd827->map_gpio = devm_gpiod_get_optional(dev, "map", GPIOD_OUT_LOW);
+ if (IS_ERR(thc63lvd827->map_gpio))
+ return dev_err_probe(dev, PTR_ERR(thc63lvd827->map_gpio),
+ "failed to get MAP GPIO\n");
+
+ thc63lvd827->mode_gpio = devm_gpiod_get_optional(dev, "mode", GPIOD_OUT_HIGH);
+ if (IS_ERR(thc63lvd827->mode_gpio))
+ return dev_err_probe(dev, PTR_ERR(thc63lvd827->mode_gpio),
+ "failed to get MODE GPIO\n");
+
+ thc63lvd827->b6b8_gpio = devm_gpiod_get_optional(dev, "b6b8", GPIOD_OUT_LOW);
+ if (IS_ERR(thc63lvd827->b6b8_gpio))
+ return dev_err_probe(dev, PTR_ERR(thc63lvd827->b6b8_gpio),
+ "failed to get 6B/8B GPIO\n");
+
+ thc63lvd827->pd_gpio = devm_gpiod_get_optional(dev, "powerdown", GPIOD_OUT_HIGH);
+ if (IS_ERR(thc63lvd827->pd_gpio))
+ return dev_err_probe(dev, PTR_ERR(thc63lvd827->pd_gpio),
+ "failed to get /PDWN GPIO\n");
+
+ thc63lvd827->bridge.next_bridge = of_drm_get_bridge_by_endpoint(dev->of_node, 1, 0);
+ if (IS_ERR(thc63lvd827->bridge.next_bridge))
+ return dev_err_probe(dev, PTR_ERR(thc63lvd827->bridge.next_bridge),
+ "failed to get downstream bridge\n");
+
+ ep = of_graph_get_endpoint_by_regs(dev->of_node, 0, 0);
+ of_property_read_u32(ep, "pclk-sample", &pclk_sample);
+ of_node_put(ep);
+
+ if (pclk_sample == 1)
+ thc63lvd827->timings.input_bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE;
+ else
+ thc63lvd827->timings.input_bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE;
+
+ thc63lvd827->bridge.of_node = dev->of_node;
+ thc63lvd827->bridge.timings = &thc63lvd827->timings;
+ thc63lvd827->bridge.type = DRM_MODE_CONNECTOR_LVDS;
+
+ return devm_drm_bridge_add(dev, &thc63lvd827->bridge);
+}
+
+static const struct of_device_id thc63lvd827_of_match[] = {
+ { .compatible = "thine,thc63lvd827" },
+ { }
+};
+MODULE_DEVICE_TABLE(of, thc63lvd827_of_match);
+
+static struct platform_driver thc63lvd827_driver = {
+ .probe = thc63lvd827_probe,
+ .driver = {
+ .name = "thc63lvd827",
+ .of_match_table = thc63lvd827_of_match,
+ },
+};
+module_platform_driver(thc63lvd827_driver);
+
+MODULE_DESCRIPTION("THine THC63LVD827 DPI to LVDS bridge driver");
+MODULE_LICENSE("GPL");
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v2 3/4] ARM: dts: imx7d-colibri-emmc: Add Toradex Capacitive Touch Display 10" LVDS
2026-10-05 9:50 [PATCH v2 0/4] drm/bridge: Add Thine THC63LVD827 LVDS encoder and 10inch LVDS panel on Colibri iMX7 Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 1/4] dt-bindings: display: bridge: Add THine THC63LVD827 Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 2/4] drm/bridge: Add THine THC63LVD827 LVDS encoder Francesco Dolcini
@ 2026-10-05 9:50 ` Francesco Dolcini
2026-10-05 9:50 ` [PATCH v2 4/4] ARM: dts: imx6ull-colibri-emmc: " Francesco Dolcini
3 siblings, 0 replies; 6+ messages in thread
From: Francesco Dolcini @ 2026-10-05 9:50 UTC (permalink / raw)
To: Francesco Dolcini, Andrzej Hajda, Neil Armstrong, Robert Foss,
Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Luca Ceresoli,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
Cc: Francesco Dolcini, dri-devel, devicetree, linux-kernel, imx,
linux-arm-kernel
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Add a device tree overlay for the Toradex Capacitive Touch Display 10.1"
LVDS connected through the DPI to LVDS transmitter on the Iris v2 carrier
board. The panel is a LogicTechno LT170410-2WHC 10.1" WXGA IPS LCD and
the touch input is provided by an Atmel MaxTouch capacitive touch
controller.
The LVDS transmitter, panel, backlight and LCDIF description is kept in
a separate dtsi shared between the Colibri iMX6ULL and Colibri iMX7
modules, so that it can be reused by the Colibri iMX6ULL overlay. Only
the LVDS transmitter control GPIOs and the Atmel MaxTouch controller
wiring are SoC specific and are described in the overlay itself.
The overlay is also combined with the Iris v2 carrier board device tree
to provide a ready-to-use DTB.
Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2:
- move the LVDS transmitter, panel, backlight and LCDIF description to
a dtsi shared with the Colibri iMX6ULL overlay
- override the lcdif_out endpoint by label instead of redefining it
- rename the panel node to panel-lvds, add SODIMM comments to the
LVDS transmitter control GPIOs
- keep the Makefile dtbs rule separate from the 7" overlays group
---
arch/arm/boot/dts/nxp/imx/Makefile | 6 ++
...ibri-iris-panel-cap-touch-10inch-lvds.dtsi | 70 +++++++++++++++++++
...emmc-iris-panel-cap-touch-10inch-lvds.dtso | 47 +++++++++++++
3 files changed, 123 insertions(+)
create mode 100644 arch/arm/boot/dts/nxp/imx/imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi
create mode 100644 arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile
index c5caca92ea10..dac2e146ed75 100644
--- a/arch/arm/boot/dts/nxp/imx/Makefile
+++ b/arch/arm/boot/dts/nxp/imx/Makefile
@@ -420,6 +420,10 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ulz-14x14-evk.dtb \
imx6ulz-bsh-smm-m2.dtb
+imx7d-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds-dtbs := \
+ imx7d-colibri-emmc-iris-v2.dtb \
+ imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo
+
imx7d-colibri-emmc-aster-panel-cap-touch-7inch-parallel-dtbs := \
imx7d-colibri-emmc-aster.dtb \
imx7d-colibri-emmc-panel-cap-touch-7inch-parallel.dtbo
@@ -459,8 +463,10 @@ dtb-$(CONFIG_SOC_IMX7D) += \
imx7d-colibri-emmc-aster-panel-cap-touch-7inch-parallel.dtb \
imx7d-colibri-emmc-aster-vga.dtb \
imx7d-colibri-emmc-iris.dtb \
+ imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo \
imx7d-colibri-emmc-iris-vga.dtb \
imx7d-colibri-emmc-iris-v2.dtb \
+ imx7d-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds.dtb \
imx7d-colibri-emmc-iris-v2-panel-cap-touch-7inch-parallel.dtb \
imx7d-colibri-emmc-iris-v2-vga.dtb \
imx7d-colibri-emmc-eval-v3.dtb \
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi
new file mode 100644
index 000000000000..e4ea149da9ad
--- /dev/null
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi
@@ -0,0 +1,70 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (c) Toradex
+ *
+ * LVDS transmitter, panel, backlight and LCDIF part of the Toradex Capacitive
+ * Touch Display 10.1" LVDS overlays, connected through the Iris v2 carrier
+ * board X7 / X5 connectors and the on-carrier LVDS transmitter, shared by the
+ * Colibri iMX6ULL eMMC and Colibri iMX7 eMMC overlays.
+ *
+ * The LVDS transmitter control GPIOs and the Atmel MaxTouch controller wiring
+ * are SoC specific and are described by the overlay including this file.
+ *
+ * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
+ * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds
+ * https://developer.toradex.com/hardware/colibri-som-family/carrier-boards/iris-carrier-board/
+ * https://www.toradex.com/products/carrier-board/iris-carrier-board
+ * https://docs.toradex.com/108421-colibri_arm_iris_carrier_board_datasheet.pdf
+ */
+
+&{/} {
+ lvds_encoder: lvds-encoder {
+ compatible = "thine,thc63lvd827";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ lvds_bridge_in: endpoint {
+ pclk-sample = <1>;
+ remote-endpoint = <&lcdif_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ lvds_bridge_out: endpoint {
+ remote-endpoint = <&lvds_panel_in>;
+ };
+ };
+ };
+ };
+
+ panel-lvds {
+ compatible = "logictechno,lt170410-2whc";
+ backlight = <&backlight>;
+ power-supply = <®_3v3>;
+
+ port {
+ lvds_panel_in: endpoint {
+ remote-endpoint = <&lvds_bridge_out>;
+ };
+ };
+ };
+};
+
+&backlight {
+ status = "okay";
+};
+
+&lcdif {
+ status = "okay";
+};
+
+&lcdif_out {
+ remote-endpoint = <&lvds_bridge_in>;
+};
diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso b/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
new file mode 100644
index 000000000000..3d90c0ec8db9
--- /dev/null
+++ b/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
@@ -0,0 +1,47 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (c) Toradex
+ *
+ * Toradex Capacitive Touch Display 10.1" LVDS
+ *
+ * Toradex Capacitive Touch Display 10.1" on Iris v2 carrier board X7 / X5
+ * connectors through on-carrier LVDS transmitter
+ *
+ * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
+ * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds
+ * https://developer.toradex.com/hardware/colibri-som-family/carrier-boards/iris-carrier-board/
+ * https://www.toradex.com/products/carrier-board/iris-carrier-board
+ * https://docs.toradex.com/108421-colibri_arm_iris_carrier_board_datasheet.pdf
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+#include "imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi"
+
+&atmel_mxt_ts {
+ pinctrl-0 = <&pinctrl_atmel_connector>;
+ /* SODIMM 107 / TOUCH_INT# */
+ interrupt-parent = <&gpio2>;
+ interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
+ /* SODIMM 106 / TOUCH_RST# */
+ reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
+
+ status = "okay";
+};
+
+&lvds_encoder {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lvds_transceiver>;
+ /* SODIMM 63 / LVDS_RGB_MODE */
+ b6b8-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 95 / LVDS_COLOR_MAP */
+ map-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 55 / LVDS_CH_MODE */
+ mode-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 99 / LVDS_PWRON */
+ powerdown-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
+};
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v2 4/4] ARM: dts: imx6ull-colibri-emmc: Add Toradex Capacitive Touch Display 10" LVDS
2026-10-05 9:50 [PATCH v2 0/4] drm/bridge: Add Thine THC63LVD827 LVDS encoder and 10inch LVDS panel on Colibri iMX7 Francesco Dolcini
` (2 preceding siblings ...)
2026-10-05 9:50 ` [PATCH v2 3/4] ARM: dts: imx7d-colibri-emmc: Add Toradex Capacitive Touch Display 10" LVDS Francesco Dolcini
@ 2026-10-05 9:50 ` Francesco Dolcini
3 siblings, 0 replies; 6+ messages in thread
From: Francesco Dolcini @ 2026-10-05 9:50 UTC (permalink / raw)
To: Francesco Dolcini, Andrzej Hajda, Neil Armstrong, Robert Foss,
Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Luca Ceresoli,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
Cc: Francesco Dolcini, dri-devel, devicetree, linux-kernel, imx,
linux-arm-kernel
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Add a device tree overlay for the Toradex Capacitive Touch Display 10.1"
LVDS connected through the DPI to LVDS transmitter on the Iris v2 carrier
board. The panel is a LogicTechno LT170410-2WHC 10.1" WXGA IPS LCD and
the touch input is provided by an Atmel MaxTouch capacitive touch
controller.
The LVDS transmitter, panel, backlight and LCDIF description is shared
with the Colibri iMX7 overlay, only the LVDS transmitter control GPIOs
and the Atmel MaxTouch controller wiring are SoC specific.
The overlay is also combined with the Iris v2 carrier board device tree
to provide a ready-to-use DTB.
Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2: new patch
---
arch/arm/boot/dts/nxp/imx/Makefile | 7 +++
...emmc-iris-panel-cap-touch-10inch-lvds.dtso | 49 +++++++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile
index dac2e146ed75..7b838f32c013 100644
--- a/arch/arm/boot/dts/nxp/imx/Makefile
+++ b/arch/arm/boot/dts/nxp/imx/Makefile
@@ -352,6 +352,11 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
imx6sx-udoo-neo-basic.dtb \
imx6sx-udoo-neo-extended.dtb \
imx6sx-udoo-neo-full.dtb
+
+imx6ull-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds-dtbs := \
+ imx6ull-colibri-emmc-iris-v2.dtb \
+ imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo
+
dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ul-14x14-evk.dtb \
imx6ul-ccimx6ulsbcexpress.dtb \
@@ -382,7 +387,9 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ull-colibri-emmc-aster.dtb \
imx6ull-colibri-emmc-eval-v3.dtb \
imx6ull-colibri-emmc-iris.dtb \
+ imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo \
imx6ull-colibri-emmc-iris-v2.dtb \
+ imx6ull-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds.dtb \
imx6ull-colibri-eval-v3.dtb \
imx6ull-colibri-iris.dtb \
imx6ull-colibri-iris-v2.dtb \
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
new file mode 100644
index 000000000000..f698d6768279
--- /dev/null
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso
@@ -0,0 +1,49 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (c) Toradex
+ *
+ * Toradex Capacitive Touch Display 10.1" LVDS
+ *
+ * Toradex Capacitive Touch Display 10.1" on Iris v2 carrier board X7 / X5
+ * connectors through on-carrier LVDS transmitter
+ *
+ * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
+ * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds
+ * https://developer.toradex.com/hardware/colibri-som-family/carrier-boards/iris-carrier-board/
+ * https://www.toradex.com/products/carrier-board/iris-carrier-board
+ * https://docs.toradex.com/108421-colibri_arm_iris_carrier_board_datasheet.pdf
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+#include "imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi"
+
+&atmel_mxt_ts {
+ pinctrl-0 = <&pinctrl_atmel_conn &pinctrl_atmel_snvs_conn>;
+ /* SODIMM 107 / TOUCH_INT# */
+ interrupt-parent = <&gpio5>;
+ interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
+ /* SODIMM 106 / TOUCH_RST# */
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+
+ status = "okay";
+};
+
+/*
+ * The LVDS transmitter control pins are muxed as GPIO by the pinctrl_gpio1,
+ * pinctrl_gpio7 and pinctrl_snvs_gpio1 groups of the module device tree.
+ */
+&lvds_encoder {
+ /* SODIMM 63 / LVDS_RGB_MODE */
+ b6b8-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 95 / LVDS_COLOR_MAP */
+ map-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 55 / LVDS_CH_MODE */
+ mode-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
+ /* SODIMM 99 / LVDS_PWRON */
+ powerdown-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+};
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread