From nobody Fri Sep 25 02:09:14 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 448AA5678F2; Thu, 17 Sep 2026 14:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653658; cv=none; b=g+Q+qjdJ/hpFi33aEawpVZN4oLUuMN6SKOTyEdLPld+nrPj6V7snppDV4baxNj+4/Iy37wUq7SWVG9WdtswzMRdUAzYv8LTAP3q+dr/9dOniDyQQozo71hncls4Y21POmFSv4jAsvzVTPiR1oHgWa0iOhANX/KhhurRMf0tZwSE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653658; c=relaxed/simple; bh=HjGKnLXmM/pZvSr+7lUDLroI/aE6p3IZyf8xeSRC0/M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QmdFdXdrMryqi/mKTUDJ1o59ID6uK/kT9X6jOFRgtw+vgX4mo6b1ns341FeVhCW3OsFmlhs+B3sPC6QMSRONxn57WfeREuBKPHyLRJpFU9LAtY5+nGv2UsKP0FHN+tHAQow6KYE2NuAzlVS0AN9GEffOqHfpRwTezga4YQgtzEI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=LQtryhQO; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="LQtryhQO" Received: from francesco-nb.. (xcpe-178-82-167-143.dyn.res.sunrise.net [178.82.167.143]) by mail11.truemail.it (Postfix) with ESMTPA id C631E227EA; Thu, 17 Sep 2026 16:00:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1789653651; bh=JJ+u9N0IVMNFM/Z0N49U31h73iEiUichEwKQu4MgjTo=; h=From:To:Subject; b=LQtryhQODYGsTRK0Z+111hA5x+GCNYdaduOJ4eAB52xvmx1LrZ41Ly2YdHtzGTsGm wZ2/cNGC+xE7ydPKkAUVJ1mupDnhZSU1Vj1EphFtRmwrnyqdR7fEwfRvTHTpvCP9Ls kYb15/UsB7HN1Kv7NAsyPyhiwQn8K08loGYluaU0cA9ABUAAoo89IvNAqevgzjwBtz Cwpw78UPPqvzC8ysCBYJaq6X6rSJ7rg3N92AvffjRUPKE4pSXLNTpZvdKY9KXAa5DP vYN6AX6FoUkfuMos6XDOm+7lBesXlZCOdrFn4xVctfrlGCytSA779G2e5gTplKvO+X LPa6hVg4orAuw== From: Francesco Dolcini To: Marek Vasut , Stefan Agner , 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@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Andrzej Hajda , Neil Armstrong , Robert Foss , Alexander Stein , Krzysztof Kozlowski Subject: [PATCH v5 1/4] dt-bindings: lcdif: Add endpoint bus-width property Date: Thu, 17 Sep 2026 16:00:36 +0200 Message-ID: <20260917140042.118181-2-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260917140042.118181-1-francesco@dolcini.it> References: <20260917140042.118181-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini The DPI output of the LCD interface can be configured with a bus width of 16, 18, or 24 bits. Introduce a bus-width property to the output endpoint, specifying the number of parallel RGB bits connected. Reviewed-by: Frank Li Acked-by: Alexander Stein Reviewed-by: Krzysztof Kozlowski Reviewed-by: Luca Ceresoli Signed-off-by: Francesco Dolcini --- v5: add ack/rev by tags v4: use /schemas/graph.yaml#/$defs/port-base v3: use video-interfaces.yaml v2: use the common bus-width property instead of the legacy interface-pix-f= mt --- .../devicetree/bindings/display/fsl,lcdif.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Doc= umentation/devicetree/bindings/display/fsl,lcdif.yaml index 2dd0411ec651..89cea0c14cf1 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -68,9 +68,19 @@ properties: maxItems: 1 =20 port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: The LCDIF output port =20 + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml + unevaluatedProperties: false + + properties: + bus-width: + enum: [ 16, 18, 24 ] + display: $ref: /schemas/types.yaml#/definitions/phandle description: phandle to display panel --=20 2.47.3 From nobody Fri Sep 25 02:09:14 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA2C1566C44; Thu, 17 Sep 2026 14:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653658; cv=none; b=U+oV+uOBcKPJC+7ykWQZvuAG/5XJ9SmetxrIYRo5S06vch18vz7R5GvD/r8bEmTqULqgaCSPoLkrwKzuS8qP/6eVkmSAudKBFJZor97b7p5wGvmVH6ocrrP5fKewtyRMNeKEozCRZmMox9toHSbDJXQkLxXJ94flSyoDlEMgzfw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653658; c=relaxed/simple; bh=Nxn3UfogLVPnBjUzPTCMjqm6Wq4HeD4QSjMTq+sxU5E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UA586R5UirVBeOHcB/dvPMJp8RbHsEMFHJksE3pUf9uQTvBO9IDgbTKMdGZOA9cySLGtQxiR/wUX2WnUBARl0oTxCaUkNPhFliXdfsuMceMmYfF4nLae+iDFYnDquGSHhm3ERUyxgOKrYEwcqvxauNym0ecEVJiJxqzjApGc2Z0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=z2m1W13s; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="z2m1W13s" Received: from francesco-nb.. (xcpe-178-82-167-143.dyn.res.sunrise.net [178.82.167.143]) by mail11.truemail.it (Postfix) with ESMTPA id 0A6ED2282D; Thu, 17 Sep 2026 16:00:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1789653653; bh=cb96GaT2UcuRzLPsQMdrt7Itu40lc0yhplAWhST9MqE=; h=From:To:Subject; b=z2m1W13s7Y6oMflIZChFD/KvG8EczvC2rz9nJfoih/euCjY18Ddw2TBJ9KGoEXE33 zSK8VQc68LcHCwoPHt8Vl4TnCBXYKvmQnbsRw9zR6J5aM0XY5OnSYuO773kDq9w0dq LUEbIhVT31x5xDCoZKVXG8TXjPpDfRWFV7V+ziwyRrltANiopvfxxitY8DYn6jysdl xRT00OymGIf/C2F1m9hsIGhR72y9E+Mp7tREsb6RU4/Fn41uXRKu0RPoaurA441yFO b8/B1TekyGjulIq/FLfYVogjusPeyJkejQAECSdSupQYAaTXhShCWGrjaupDOCRHPR yesFXZWaTRX2g== From: Francesco Dolcini To: Marek Vasut , Stefan Agner , 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@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Andrzej Hajda , Neil Armstrong , Robert Foss , Alexander Stein Subject: [PATCH v5 2/4] drm: mxsfb: Add optional DPI output bus-width configuration Date: Thu, 17 Sep 2026 16:00:37 +0200 Message-ID: <20260917140042.118181-3-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260917140042.118181-1-francesco@dolcini.it> References: <20260917140042.118181-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini LCDIF programs LCD_DATABUS_WIDTH from the selected media bus format. The format reported by the downstream panel or bridge describes the display input, but it does not describe how the LCDIF data pins are physically wired on the board. These can differ. For example, a 16-bit LCDIF bus can be connected to a 24-bit display by wiring the available color bits to the corresponding display inputs. In that case, using the display's 24-bit format to configure LCDIF selects the wrong data-bus mode and changes the assignment of color bits on the LCD_DATA pins. Read the optional bus-width endpoint property from the LCDIF output port and use it to select the media bus format used to configure LCDIF. This allows the LCDIF bus mode to describe the physical interface independently of the downstream display format. When the property is absent, continue using the format reported by the downstream display device, preserving the previous behavior. The devicetree binding restricts bus-width to 16, 18 or 24; any other value means the devicetree is broken, so fail the probe instead of silently falling back to the previous behavior. Signed-off-by: Francesco Dolcini Reviewed-by: Alexander Stein Reviewed-by: Frank Li Reviewed-by: Luca Ceresoli Tested-by: Alexander Stein # TQMa6UL[L]x Tested-by: Luca Ceresoli --- v5: fail probe on invalid bus-width instead of falling back to the previous behavior; factor the property parsing into its own mxsfb_of_bus_fmt() helper. Drop the r-b/t-b tags below since they were given for the previous silent-fallback behavior and for a different code shape; needs re-review. v4: add r-b and t-b tags v3: improve commit message and make it clear that the code assumes that the DT is correct, when the DT contains an invalid property value, the code safely fall-back to the previous behavior v2: use the common bus-width property instead of the legacy interface-pix-f= mt Dropped for v5: Reviewed-by: Frank Li Reviewed-by: Alexander Stein Tested-by: Alexander Stein # TQMa6UL[L]x --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 43 +++++++++++++++++++++++++++++++ drivers/gpu/drm/mxsfb/mxsfb_drv.h | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 12 +++++++++ 3 files changed, 57 insertions(+) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxsfb/mxsf= b_drv.c index 8b4a500347fb..641691fc92c8 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c @@ -12,7 +12,10 @@ #include #include #include +#include #include +#include +#include #include #include #include @@ -207,11 +210,41 @@ static void mxsfb_irq_uninstall(struct drm_device *de= v) free_irq(mxsfb->irq, dev); } =20 +static int mxsfb_of_bus_fmt(const struct device_node *ep, u32 *bus_format) +{ + u32 bus_width; + int ret; + + ret =3D of_property_read_u32(ep, "bus-width", &bus_width); + if (ret =3D=3D -EINVAL) + return 0; + if (ret) + return ret; + + switch (bus_width) { + case 16: + *bus_format =3D MEDIA_BUS_FMT_RGB565_1X16; + break; + case 18: + *bus_format =3D MEDIA_BUS_FMT_RGB666_1X18; + break; + case 24: + *bus_format =3D MEDIA_BUS_FMT_RGB888_1X24; + break; + default: + return -EINVAL; + } + + return 0; +} + static int mxsfb_load(struct drm_device *drm, const struct mxsfb_devdata *devdata) { struct platform_device *pdev =3D to_platform_device(drm->dev); + struct device_node *np =3D pdev->dev.of_node; struct mxsfb_drm_private *mxsfb; + struct device_node *ep; int ret; =20 mxsfb =3D devm_kzalloc(&pdev->dev, sizeof(*mxsfb), GFP_KERNEL); @@ -238,6 +271,16 @@ static int mxsfb_load(struct drm_device *drm, if (IS_ERR(mxsfb->clk_disp_axi)) mxsfb->clk_disp_axi =3D NULL; =20 + ep =3D of_graph_get_next_endpoint(np, NULL); + if (ep) { + ret =3D mxsfb_of_bus_fmt(ep, &mxsfb->bus_format); + of_node_put(ep); + if (ret) { + dev_err(drm->dev, "Invalid bus-width endpoint property\n"); + return ret; + } + } + ret =3D dma_set_mask_and_coherent(drm->dev, DMA_BIT_MASK(32)); if (ret) return ret; diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.h b/drivers/gpu/drm/mxsfb/mxsf= b_drv.h index d160d921b25f..bdc47ce5be79 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.h +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.h @@ -46,6 +46,8 @@ struct mxsfb_drm_private { struct drm_connector *connector; struct drm_bridge *bridge; =20 + u32 bus_format; + bool crc_active; }; =20 diff --git a/drivers/gpu/drm/mxsfb/mxsfb_kms.c b/drivers/gpu/drm/mxsfb/mxsf= b_kms.c index d8ebebc5314b..1d78c486d147 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_kms.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_kms.c @@ -386,6 +386,18 @@ static void mxsfb_crtc_atomic_enable(struct drm_crtc *= crtc, if (!bus_format) bus_format =3D MEDIA_BUS_FMT_RGB888_1X24; =20 + /* + * Prefer the bus format derived from the OF graph endpoint "bus-width" + * property when available. Otherwise, use the bus format reported by + * the downstream bridge or panel. + * + * This supports mismatched display and interface bus widths, such as + * a 24-bit panel connected through an 18-bit interface or an 18-bit + * panel connected through a 24-bit interface. + */ + if (mxsfb->bus_format) + bus_format =3D mxsfb->bus_format; + mxsfb_crtc_mode_set_nofb(mxsfb, bridge_state, bus_format); =20 /* Write cur_buf as well to avoid an initial corrupt frame */ --=20 2.47.3 From nobody Fri Sep 25 02:09:14 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 687E855C319; Thu, 17 Sep 2026 14:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653659; cv=none; b=pVuFLmcoBKsTCAFiIqh7/Y/E1rRLYxZwK/4Y5Es/QjjLNoN2MYebH0CHI9DMBmMAJrXyEJsyOYoMJqp092kaOjJ5I6IDK+YY0PjE6/p+nv7FcofkDiovicQ3n7wr/ZMayvI+2xg4IbDgIRqmH+ZI9GuaJ4RJPnZAlNBTLLAyXIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653659; c=relaxed/simple; bh=qr4ZMoF0xnAVzuY6CyLri6Kg+fDyZQ33aAoaaVdMcvg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=giqJ56yQWosEWLi8ZD93RjCY9JPEPATOg89RMz8HrV8CJ6GtXVXiBdl3tfgIk7xI9VEah7+fNuH0zkF+VZ3YsUhXj30Wf3JPyLHc7vVJOedVyiZeud4kAQY5+mqj6R9TzgzZWLnnFsUFyWfwvgy0Ej20WVgTxc98eBjFl8NHJMs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=TtipBJko; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="TtipBJko" Received: from francesco-nb.. (xcpe-178-82-167-143.dyn.res.sunrise.net [178.82.167.143]) by mail11.truemail.it (Postfix) with ESMTPA id 282F622817; Thu, 17 Sep 2026 16:00:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1789653654; bh=PFbHrnCbgfpqZStiZJ8Sb/nHDFg7+/3mGwQ68I1HP3A=; h=From:To:Subject; b=TtipBJkoMi6cb3iVLiD7pa++jODJA5EF5UJJPbuB9G6kDhgrasJYojd+g6IDXKSFf u7BGs/ZojQDywBeGS0BBpSeSaMlGYE3MXoYcuYNvRL+yMMYRjF8ED2I3jNt8J9rYiy uJHbWWqGoEcb88/dq1g8IzYQG+wWNizk5rBGXEEm8/4yILdEneOa584tOTyz7Y1SDm HXxHTw7d23EXswFiPYpgDJjH6UJro2SqFlktKmRtDlpc+NWA639jJFdfECov5xzc11 cGJJUFBwQXHI63P3x0zuSBVHpicWZrhQTL9qso4uu66THawaE32dNtIiS0i8dBzzyT p2aZV/IBs/LeA== From: Francesco Dolcini To: Marek Vasut , Stefan Agner , 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@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Andrzej Hajda , Neil Armstrong , Robert Foss Subject: [PATCH v5 3/4] ARM: dts: imx6ull-colibri: Set LCDIF bus width Date: Thu, 17 Sep 2026 16:00:38 +0200 Message-ID: <20260917140042.118181-4-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260917140042.118181-1-francesco@dolcini.it> References: <20260917140042.118181-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini The Colibri family standard defines an 18-bit parallel RGB interface on the edge connector. The additional six LCDIF data signals required for a 24-bit interface are mapped to module-specific pins whose location is not fixed across the Colibri family and which may not be available at all. Generic Colibri carrier boards can therefore only rely on an 18-bit interface. Set the LCDIF bus-width property accordingly. A 24-bit interface can still be used by a specific carrier and module combination by overriding the property in the carrier board device tree. Link: https://docs.toradex.com/104446-colibri-arm-som-imx6ull-datasheet.pdf Reviewed-by: Luca Ceresoli Signed-off-by: Francesco Dolcini --- v5: improved commit message, added rev-by v4: no changes v3: no changes v2: use the common bus-width property instead of the legacy interface-pix-f= mt --- arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi b/arch/arm/boot= /dts/nxp/imx/imx6ull-colibri.dtsi index ec3c1e7301f4..1eb1cf2d7395 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi @@ -229,6 +229,7 @@ &lcdif { =20 port { lcdif_out: endpoint { + bus-width =3D <18>; remote-endpoint =3D <&lcd_panel_in>; }; }; --=20 2.47.3 From nobody Fri Sep 25 02:09:14 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F39E4DAFAF; Thu, 17 Sep 2026 14:00:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653659; cv=none; b=jvY8uRqqRjhiWb+ezPlsN54D++AJcJQAy5PYFOAeW2dZlKdZijwipGPevi3C/8GoBgwWz5XfcjoQzjuKPoTwp9nUqswhnSQVMvcA+hjS6rmKC8Hpgv7rac0AWhVOCTPMk3X90iFZruPkPvzOB1scrEWWOa4gctMiWJsxCQk7bO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789653659; c=relaxed/simple; bh=kr8DC1yojJk9nG43YgDicPPWVcN0PW9KjVsyZqPW4LQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PKSZiyFECCSDHMj+fFIPG4r9pDquKkUMzj+B656PBkX4sVsXEreaBwxAXWbKGNABbyy3OeABHj6kglVYsCWEdfYdptvDptenf8ENv+F+BP5MYMzVc/bX4We1SOZ1zCkyEYU4hXowu9iSL7vBBQiELyVsx9/PV4e8ZiRL4Z34JgM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=o8DF/4JR; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="o8DF/4JR" Received: from francesco-nb.. (xcpe-178-82-167-143.dyn.res.sunrise.net [178.82.167.143]) by mail11.truemail.it (Postfix) with ESMTPA id 470F322814; Thu, 17 Sep 2026 16:00:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1789653655; bh=skm3Fsv3AnGbhO2KEqDrMKHxJwSa91rKkWRnJk3LvDI=; h=From:To:Subject; b=o8DF/4JRMTOHW/jpaD2ArSG6uCfSEZWqONE15xTIfEKOz+uu5wfDl61IegBEq7kOf LJl9AVBg5PS61g0BImpy/hPT/bCcFZRI4nd/Ov4cXdtdNSj5ZwcEULd4Zlc7MA6Yq7 VP8veGsMYmhiC0gcxdkEF6B/1dcVk3bihQMeeZ4l5nOuMtt4BjAuIKvWZaJGe9kGpy dR+h/exB7vpWQ/8bZP3p3ZYlf5CPejusB8UlErEiUi1nCuG+taHIGaS7Ckxlg271qz +tWKOLTfjtamlzO88VAQedwN/4xJUK09qAiuvbWNLQtOH6C5/9oYy47211flVHzp0o RaBzuZ/4nORjQ== From: Francesco Dolcini To: Marek Vasut , Stefan Agner , 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@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Andrzej Hajda , Neil Armstrong , Robert Foss Subject: [PATCH v5 4/4] ARM: dts: imx7-colibri: Set LCDIF bus width Date: Thu, 17 Sep 2026 16:00:39 +0200 Message-ID: <20260917140042.118181-5-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260917140042.118181-1-francesco@dolcini.it> References: <20260917140042.118181-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini The Colibri family standard defines an 18-bit parallel RGB interface on the edge connector. The additional six LCDIF data signals required for a 24-bit interface are mapped to module-specific pins whose location is not fixed across the Colibri family and which may not be available at all. Generic Colibri carrier boards can therefore only rely on an 18-bit interface. Set the LCDIF bus-width property accordingly. A 24-bit interface can still be used by a specific carrier and module combination by overriding the property in the carrier board device tree. Link: https://docs.toradex.com/103125-colibri-arm-som-imx7-datasheet.pdf Reviewed-by: Luca Ceresoli Signed-off-by: Francesco Dolcini --- v5: improved commit message, added rev-by v4: no changes v3: no changes v2: use the common bus-width property instead of the legacy interface-pix-f= mt --- arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi b/arch/arm/boot/dt= s/nxp/imx/imx7-colibri.dtsi index 8666dcd7fe97..c4088d3c5ab1 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi @@ -537,6 +537,7 @@ &lcdif { =20 port { lcdif_out: endpoint { + bus-width =3D <18>; remote-endpoint =3D <&lcd_panel_in>; }; }; --=20 2.47.3