* [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support
@ 2026-01-15 2:39 Marek Vasut
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Marek Vasut @ 2026-01-15 2:39 UTC (permalink / raw)
To: dri-devel
Cc: Marek Vasut, Andrzej Hajda, Conor Dooley, David Airlie,
Jernej Skrabec, Jonas Karlman, Joseph Guo, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, devicetree, linux-kernel, linux-renesas-soc
Describe 1..4 DSI lanes as supported. Internally, this bridge is
an ChipOne ICN6211 which loads its register configuration from a
dedicated storage and its I2C does not seem to be accessible. The
ICN6211 supports up to 4 DSI lanes, so this is a hard limit for
this bridge. The lane configuration is preconfigured in the bridge
for each of the WaveShare panels.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Joseph Guo <qijian.guo@nxp.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Robert Foss <rfoss@kernel.org>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
V2: No change
---
.../devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml b/Documentation/devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml
index 5e8498c8303dd..3820dd7e11af1 100644
--- a/Documentation/devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml
@@ -40,9 +40,12 @@ properties:
properties:
data-lanes:
description: array of physical DSI data lane indexes.
+ minItems: 1
items:
- const: 1
- const: 2
+ - const: 3
+ - const: 4
required:
- data-lanes
--
2.51.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-01-15 2:39 [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Marek Vasut
@ 2026-01-15 2:39 ` Marek Vasut
2026-02-06 11:48 ` Marek Vasut
2026-03-03 13:24 ` Luca Ceresoli
2026-01-15 20:01 ` [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Rob Herring (Arm)
2026-03-03 13:42 ` Luca Ceresoli
2 siblings, 2 replies; 11+ messages in thread
From: Marek Vasut @ 2026-01-15 2:39 UTC (permalink / raw)
To: dri-devel
Cc: Marek Vasut, Joseph Guo, Andrzej Hajda, Conor Dooley,
David Airlie, Jernej Skrabec, Jonas Karlman, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, devicetree, linux-kernel, linux-renesas-soc
Parse the data lane count out of DT. Limit the supported data lanes
to 1..4 which is the maximum available DSI pairs on the connector of
any known panels which may use this bridge. Internally, this bridge
is an ChipOne ICN6211 which loads its register configuration from a
dedicated storage and its I2C does not seem to be accessible. The
ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
To avoid any breakage on old DTs where the parsing of data lanes from
DT may fail, fall back to the original hard-coded value of 2 lanes and
warn user.
The lane configuration is preconfigured in the bridge for each of the
WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
others seem to use 2-lane configuration. This is a hardware property,
so the actual count should come from DT.
Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Joseph Guo <qijian.guo@nxp.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Robert Foss <rfoss@kernel.org>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
V2: - Add RB from Joseph
- Update the error print to "Invalid{ +or missing+}"
---
drivers/gpu/drm/bridge/waveshare-dsi.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bridge/waveshare-dsi.c b/drivers/gpu/drm/bridge/waveshare-dsi.c
index 9254446f54958..0497c7ecbc7a5 100644
--- a/drivers/gpu/drm/bridge/waveshare-dsi.c
+++ b/drivers/gpu/drm/bridge/waveshare-dsi.c
@@ -66,7 +66,12 @@ static int ws_bridge_attach_dsi(struct ws_bridge *ws)
dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
MIPI_DSI_CLOCK_NON_CONTINUOUS;
dsi->format = MIPI_DSI_FMT_RGB888;
- dsi->lanes = 2;
+ dsi->lanes = drm_of_get_data_lanes_count_ep(dev->of_node, 0, 0, 1, 4);
+ if (dsi->lanes < 0) {
+ dev_warn(dev, "Invalid or missing DSI lane count %d, falling back to 2 lanes\n",
+ dsi->lanes);
+ dsi->lanes = 2; /* Old DT backward compatibility */
+ }
ret = devm_mipi_dsi_attach(dev, dsi);
if (ret < 0)
--
2.51.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support
2026-01-15 2:39 [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Marek Vasut
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
@ 2026-01-15 20:01 ` Rob Herring (Arm)
2026-03-03 13:42 ` Luca Ceresoli
2 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2026-01-15 20:01 UTC (permalink / raw)
To: Marek Vasut
Cc: Maxime Ripard, Laurent Pinchart, Jernej Skrabec, Conor Dooley,
David Airlie, Jonas Karlman, Simona Vetter, devicetree,
Maarten Lankhorst, Neil Armstrong, Joseph Guo, linux-renesas-soc,
dri-devel, linux-kernel, Krzysztof Kozlowski, Thomas Zimmermann,
Andrzej Hajda, Robert Foss
On Thu, 15 Jan 2026 03:39:42 +0100, Marek Vasut wrote:
> Describe 1..4 DSI lanes as supported. Internally, this bridge is
> an ChipOne ICN6211 which loads its register configuration from a
> dedicated storage and its I2C does not seem to be accessible. The
> ICN6211 supports up to 4 DSI lanes, so this is a hard limit for
> this bridge. The lane configuration is preconfigured in the bridge
> for each of the WaveShare panels.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Andrzej Hajda <andrzej.hajda@intel.com>
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
> Cc: Jonas Karlman <jonas@kwiboo.se>
> Cc: Joseph Guo <qijian.guo@nxp.com>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Maxime Ripard <mripard@kernel.org>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Robert Foss <rfoss@kernel.org>
> Cc: Simona Vetter <simona@ffwll.ch>
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: devicetree@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> ---
> V2: No change
> ---
> .../devicetree/bindings/display/bridge/waveshare,dsi2dpi.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
@ 2026-02-06 11:48 ` Marek Vasut
2026-03-02 21:35 ` Marek Vasut
2026-03-03 13:24 ` Luca Ceresoli
1 sibling, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2026-02-06 11:48 UTC (permalink / raw)
To: dri-devel
Cc: Joseph Guo, Andrzej Hajda, Conor Dooley, David Airlie,
Jernej Skrabec, Jonas Karlman, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, devicetree, linux-kernel, linux-renesas-soc
On 1/15/26 3:39 AM, Marek Vasut wrote:
> Parse the data lane count out of DT. Limit the supported data lanes
> to 1..4 which is the maximum available DSI pairs on the connector of
> any known panels which may use this bridge. Internally, this bridge
> is an ChipOne ICN6211 which loads its register configuration from a
> dedicated storage and its I2C does not seem to be accessible. The
> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>
> To avoid any breakage on old DTs where the parsing of data lanes from
> DT may fail, fall back to the original hard-coded value of 2 lanes and
> warn user.
>
> The lane configuration is preconfigured in the bridge for each of the
> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
> others seem to use 2-lane configuration. This is a hardware property,
> so the actual count should come from DT.
>
> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Is it OK to apply these two patches now ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-02-06 11:48 ` Marek Vasut
@ 2026-03-02 21:35 ` Marek Vasut
2026-03-03 7:56 ` Maxime Ripard
0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2026-03-02 21:35 UTC (permalink / raw)
To: dri-devel
Cc: Joseph Guo, Andrzej Hajda, Conor Dooley, David Airlie,
Jernej Skrabec, Jonas Karlman, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, devicetree, linux-kernel, linux-renesas-soc,
Luca Ceresoli
On 2/6/26 12:48 PM, Marek Vasut wrote:
> On 1/15/26 3:39 AM, Marek Vasut wrote:
>> Parse the data lane count out of DT. Limit the supported data lanes
>> to 1..4 which is the maximum available DSI pairs on the connector of
>> any known panels which may use this bridge. Internally, this bridge
>> is an ChipOne ICN6211 which loads its register configuration from a
>> dedicated storage and its I2C does not seem to be accessible. The
>> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>>
>> To avoid any breakage on old DTs where the parsing of data lanes from
>> DT may fail, fall back to the original hard-coded value of 2 lanes and
>> warn user.
>>
>> The lane configuration is preconfigured in the bridge for each of the
>> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
>> others seem to use 2-lane configuration. This is a hardware property,
>> so the actual count should come from DT.
>>
>> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>
> Is it OK to apply these two patches now ?
Can this be applied now ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-03-02 21:35 ` Marek Vasut
@ 2026-03-03 7:56 ` Maxime Ripard
2026-03-03 12:59 ` Marek Vasut
0 siblings, 1 reply; 11+ messages in thread
From: Maxime Ripard @ 2026-03-03 7:56 UTC (permalink / raw)
To: Marek Vasut
Cc: dri-devel, Joseph Guo, Andrzej Hajda, Conor Dooley, David Airlie,
Jernej Skrabec, Jonas Karlman, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Neil Armstrong, Rob Herring,
Robert Foss, Simona Vetter, Thomas Zimmermann, devicetree,
linux-kernel, linux-renesas-soc, Luca Ceresoli
[-- Attachment #1: Type: text/plain, Size: 1384 bytes --]
On Mon, Mar 02, 2026 at 10:35:31PM +0100, Marek Vasut wrote:
> On 2/6/26 12:48 PM, Marek Vasut wrote:
> > On 1/15/26 3:39 AM, Marek Vasut wrote:
> > > Parse the data lane count out of DT. Limit the supported data lanes
> > > to 1..4 which is the maximum available DSI pairs on the connector of
> > > any known panels which may use this bridge. Internally, this bridge
> > > is an ChipOne ICN6211 which loads its register configuration from a
> > > dedicated storage and its I2C does not seem to be accessible. The
> > > ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
> > >
> > > To avoid any breakage on old DTs where the parsing of data lanes from
> > > DT may fail, fall back to the original hard-coded value of 2 lanes and
> > > warn user.
> > >
> > > The lane configuration is preconfigured in the bridge for each of the
> > > WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
> > > others seem to use 2-lane configuration. This is a hardware property,
> > > so the actual count should come from DT.
> > >
> > > Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
> > > Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> >
> > Is it OK to apply these two patches now ?
>
> Can this be applied now ?
It looks like you have a reviewed-by already, what's stoping you from
applying it yourself?
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-03-03 7:56 ` Maxime Ripard
@ 2026-03-03 12:59 ` Marek Vasut
2026-03-03 13:32 ` Luca Ceresoli
0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2026-03-03 12:59 UTC (permalink / raw)
To: Maxime Ripard
Cc: dri-devel, Joseph Guo, Conor Dooley, David Airlie, Jernej Skrabec,
Jonas Karlman, Krzysztof Kozlowski, Laurent Pinchart,
Maarten Lankhorst, Neil Armstrong, Rob Herring, Robert Foss,
Simona Vetter, Thomas Zimmermann, devicetree, linux-kernel,
linux-renesas-soc, Luca Ceresoli
On 3/3/26 8:56 AM, Maxime Ripard wrote:
> On Mon, Mar 02, 2026 at 10:35:31PM +0100, Marek Vasut wrote:
>> On 2/6/26 12:48 PM, Marek Vasut wrote:
>>> On 1/15/26 3:39 AM, Marek Vasut wrote:
>>>> Parse the data lane count out of DT. Limit the supported data lanes
>>>> to 1..4 which is the maximum available DSI pairs on the connector of
>>>> any known panels which may use this bridge. Internally, this bridge
>>>> is an ChipOne ICN6211 which loads its register configuration from a
>>>> dedicated storage and its I2C does not seem to be accessible. The
>>>> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>>>>
>>>> To avoid any breakage on old DTs where the parsing of data lanes from
>>>> DT may fail, fall back to the original hard-coded value of 2 lanes and
>>>> warn user.
>>>>
>>>> The lane configuration is preconfigured in the bridge for each of the
>>>> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
>>>> others seem to use 2-lane configuration. This is a hardware property,
>>>> so the actual count should come from DT.
>>>>
>>>> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
>>>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>>>
>>> Is it OK to apply these two patches now ?
>>
>> Can this be applied now ?
>
> It looks like you have a reviewed-by already, what's stoping you from
> applying it yourself?
I generally try to avoid applying my own patches, but if that is OK
here, I will apply them ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
2026-02-06 11:48 ` Marek Vasut
@ 2026-03-03 13:24 ` Luca Ceresoli
1 sibling, 0 replies; 11+ messages in thread
From: Luca Ceresoli @ 2026-03-03 13:24 UTC (permalink / raw)
To: Marek Vasut, dri-devel
Cc: Joseph Guo, Andrzej Hajda, Conor Dooley, David Airlie,
Jernej Skrabec, Jonas Karlman, Krzysztof Kozlowski,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, devicetree, linux-kernel, linux-renesas-soc
On Thu Jan 15, 2026 at 3:39 AM CET, Marek Vasut wrote:
> Parse the data lane count out of DT. Limit the supported data lanes
> to 1..4 which is the maximum available DSI pairs on the connector of
> any known panels which may use this bridge. Internally, this bridge
> is an ChipOne ICN6211 which loads its register configuration from a
> dedicated storage and its I2C does not seem to be accessible. The
> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>
> To avoid any breakage on old DTs where the parsing of data lanes from
> DT may fail, fall back to the original hard-coded value of 2 lanes and
> warn user.
>
> The lane configuration is preconfigured in the bridge for each of the
> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
> others seem to use 2-lane configuration. This is a hardware property,
> so the actual count should come from DT.
>
> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-03-03 12:59 ` Marek Vasut
@ 2026-03-03 13:32 ` Luca Ceresoli
2026-03-03 14:15 ` Marek Vasut
0 siblings, 1 reply; 11+ messages in thread
From: Luca Ceresoli @ 2026-03-03 13:32 UTC (permalink / raw)
To: Marek Vasut, Maxime Ripard
Cc: dri-devel, Joseph Guo, Conor Dooley, David Airlie, Jernej Skrabec,
Jonas Karlman, Krzysztof Kozlowski, Laurent Pinchart,
Maarten Lankhorst, Neil Armstrong, Rob Herring, Robert Foss,
Simona Vetter, Thomas Zimmermann, devicetree, linux-kernel,
linux-renesas-soc
Hi Marek,
On Tue Mar 3, 2026 at 1:59 PM CET, Marek Vasut wrote:
> On 3/3/26 8:56 AM, Maxime Ripard wrote:
>> On Mon, Mar 02, 2026 at 10:35:31PM +0100, Marek Vasut wrote:
>>> On 2/6/26 12:48 PM, Marek Vasut wrote:
>>>> On 1/15/26 3:39 AM, Marek Vasut wrote:
>>>>> Parse the data lane count out of DT. Limit the supported data lanes
>>>>> to 1..4 which is the maximum available DSI pairs on the connector of
>>>>> any known panels which may use this bridge. Internally, this bridge
>>>>> is an ChipOne ICN6211 which loads its register configuration from a
>>>>> dedicated storage and its I2C does not seem to be accessible. The
>>>>> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>>>>>
>>>>> To avoid any breakage on old DTs where the parsing of data lanes from
>>>>> DT may fail, fall back to the original hard-coded value of 2 lanes and
>>>>> warn user.
>>>>>
>>>>> The lane configuration is preconfigured in the bridge for each of the
>>>>> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
>>>>> others seem to use 2-lane configuration. This is a hardware property,
>>>>> so the actual count should come from DT.
>>>>>
>>>>> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
>>>>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>>>>
>>>> Is it OK to apply these two patches now ?
>>>
>>> Can this be applied now ?
>>
>> It looks like you have a reviewed-by already, what's stoping you from
>> applying it yourself?
> I generally try to avoid applying my own patches, but if that is OK
> here, I will apply them ?
I fid it a bit weird as well, but it's the common practice in drm-misc, so
I do it when there are enough R-by / A-by.
One thing I'm never sure about is the definition of "enough R-by / A-by"
though. I used to kind of assume at least a maintainer listed in
MAINTAINERS should approve the patch. But that also seems not a rule for
drm-misc, at least for patches that impact only a specific driver and not
core or otherwise shared code, and/or which look "obviously correct".
Based on the above, I'm applying this series right now.
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support
2026-01-15 2:39 [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Marek Vasut
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
2026-01-15 20:01 ` [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Rob Herring (Arm)
@ 2026-03-03 13:42 ` Luca Ceresoli
2 siblings, 0 replies; 11+ messages in thread
From: Luca Ceresoli @ 2026-03-03 13:42 UTC (permalink / raw)
To: dri-devel, Marek Vasut
Cc: Andrzej Hajda, Conor Dooley, David Airlie, Jernej Skrabec,
Jonas Karlman, Joseph Guo, Krzysztof Kozlowski, Laurent Pinchart,
Maarten Lankhorst, Maxime Ripard, Neil Armstrong, Rob Herring,
Robert Foss, Simona Vetter, Thomas Zimmermann, devicetree,
linux-kernel, linux-renesas-soc
On Thu, 15 Jan 2026 03:39:42 +0100, Marek Vasut wrote:
> Describe 1..4 DSI lanes as supported. Internally, this bridge is
> an ChipOne ICN6211 which loads its register configuration from a
> dedicated storage and its I2C does not seem to be accessible. The
> ICN6211 supports up to 4 DSI lanes, so this is a hard limit for
> this bridge. The lane configuration is preconfigured in the bridge
> for each of the WaveShare panels.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support
commit: 2befa6407d5c8b543be32c2276d396db395d9d02
[2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
commit: fca11428425e92bf21d4a7f5865708c5e64430e4
Best regards,
--
Luca Ceresoli <luca.ceresoli@bootlin.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes
2026-03-03 13:32 ` Luca Ceresoli
@ 2026-03-03 14:15 ` Marek Vasut
0 siblings, 0 replies; 11+ messages in thread
From: Marek Vasut @ 2026-03-03 14:15 UTC (permalink / raw)
To: Luca Ceresoli, Maxime Ripard
Cc: dri-devel, Joseph Guo, Conor Dooley, David Airlie, Jernej Skrabec,
Jonas Karlman, Krzysztof Kozlowski, Laurent Pinchart,
Maarten Lankhorst, Neil Armstrong, Rob Herring, Robert Foss,
Simona Vetter, Thomas Zimmermann, devicetree, linux-kernel,
linux-renesas-soc
On 3/3/26 2:32 PM, Luca Ceresoli wrote:
> Hi Marek,
>
> On Tue Mar 3, 2026 at 1:59 PM CET, Marek Vasut wrote:
>> On 3/3/26 8:56 AM, Maxime Ripard wrote:
>>> On Mon, Mar 02, 2026 at 10:35:31PM +0100, Marek Vasut wrote:
>>>> On 2/6/26 12:48 PM, Marek Vasut wrote:
>>>>> On 1/15/26 3:39 AM, Marek Vasut wrote:
>>>>>> Parse the data lane count out of DT. Limit the supported data lanes
>>>>>> to 1..4 which is the maximum available DSI pairs on the connector of
>>>>>> any known panels which may use this bridge. Internally, this bridge
>>>>>> is an ChipOne ICN6211 which loads its register configuration from a
>>>>>> dedicated storage and its I2C does not seem to be accessible. The
>>>>>> ICN6211 also supports up to 4 DSI lanes, so this is a hard limit.
>>>>>>
>>>>>> To avoid any breakage on old DTs where the parsing of data lanes from
>>>>>> DT may fail, fall back to the original hard-coded value of 2 lanes and
>>>>>> warn user.
>>>>>>
>>>>>> The lane configuration is preconfigured in the bridge for each of the
>>>>>> WaveShare panels. The 13.3" DSI panel works with 4-lane configuration,
>>>>>> others seem to use 2-lane configuration. This is a hardware property,
>>>>>> so the actual count should come from DT.
>>>>>>
>>>>>> Reviewed-by: Joseph Guo <qijian.guo@nxp.com>
>>>>>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>>>>>
>>>>> Is it OK to apply these two patches now ?
>>>>
>>>> Can this be applied now ?
>>>
>>> It looks like you have a reviewed-by already, what's stoping you from
>>> applying it yourself?
>> I generally try to avoid applying my own patches, but if that is OK
>> here, I will apply them ?
>
> I fid it a bit weird as well, but it's the common practice in drm-misc, so
> I do it when there are enough R-by / A-by.
>
> One thing I'm never sure about is the definition of "enough R-by / A-by"
> though. I used to kind of assume at least a maintainer listed in
> MAINTAINERS should approve the patch. But that also seems not a rule for
> drm-misc, at least for patches that impact only a specific driver and not
> core or otherwise shared code, and/or which look "obviously correct".
>
> Based on the above, I'm applying this series right now.
Thank you
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-03-03 14:15 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15 2:39 [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Marek Vasut
2026-01-15 2:39 ` [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes Marek Vasut
2026-02-06 11:48 ` Marek Vasut
2026-03-02 21:35 ` Marek Vasut
2026-03-03 7:56 ` Maxime Ripard
2026-03-03 12:59 ` Marek Vasut
2026-03-03 13:32 ` Luca Ceresoli
2026-03-03 14:15 ` Marek Vasut
2026-03-03 13:24 ` Luca Ceresoli
2026-01-15 20:01 ` [PATCH v2 1/2] dt-bindings: display: bridge: waveshare,dsi2dpi: Document 1..4 DSI lane support Rob Herring (Arm)
2026-03-03 13:42 ` Luca Ceresoli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox