From: Michael Walle <mwalle@kernel.org>
To: Tony Lindgren <tony@atomide.com>
Cc: Laurent.pinchart@ideasonboard.com, airlied@gmail.com,
andrzej.hajda@intel.com, daniel@ffwll.ch,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
ivo.g.dimitrov.75@gmail.com, jernej.skrabec@gmail.com,
jonas@kwiboo.se, maarten.lankhorst@linux.intel.com,
merlijn@wizzup.org, mripard@kernel.org,
neil.armstrong@linaro.org, pavel@ucw.cz, philipp@uvos.xyz,
rfoss@kernel.org, sam@ravnborg.org, simhavcs@gmail.com,
sre@kernel.org, tzimmermann@suse.de,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Subject: Re: [PATCH 2/6] drm/bridge: tc358775: Fix getting dsi host data lanes
Date: Mon, 27 Nov 2023 15:31:44 +0100 [thread overview]
Message-ID: <48e9584ca904397ac0b0771d7e8b81ba@kernel.org> (raw)
In-Reply-To: <20231127131947.GE5166@atomide.com>
+ dt maintainers
>> I actually have the same fix, but with one additional detail, which
>> I'm
>> unsure about though: This looks at the data-lanes property of the
>> *remote*
>> endpoint whereas other bridge drivers (see tc358767, ti-sn65dsi83,
>> lt8912b,
>> anx7625) look at the local endpoint and I'm not sure what is correct.
>
> Yes I've been wondering about that too. Let's just move it over to the
> bridge node? We could produce a warning if the dsi host node has the
> data-lanes property.. No current in kernel users AFAIK.
I haven't found any in-tree users either. In my patch, I first try the
remote
end and then the local end. But thinking more about it I don't think
this is correct. Maybe we can do it the other way around, first try
data-lanes of the local endpoint and if not found, then try the remote
one. That way, we would at least be backwards compatible in the driver.
And for the dt-bindings, make it mandatory to have a local data-lanes.
-michael
> FYI, for omapdrm, we already have a legacy dt property "lanes" for the
> wiring that tells number of lanes used and the order of the lanes.
>
> Regards,
>
> Tony
WARNING: multiple messages have this Message-ID (diff)
From: Michael Walle <mwalle@kernel.org>
To: Tony Lindgren <tony@atomide.com>
Cc: pavel@ucw.cz, dri-devel@lists.freedesktop.org,
Laurent.pinchart@ideasonboard.com, andrzej.hajda@intel.com,
sam@ravnborg.org, ivo.g.dimitrov.75@gmail.com, rfoss@kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
jernej.skrabec@gmail.com, simhavcs@gmail.com,
devicetree@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
jonas@kwiboo.se, merlijn@wizzup.org, mripard@kernel.org,
Rob Herring <robh+dt@kernel.org>,
philipp@uvos.xyz, neil.armstrong@linaro.org, sre@kernel.org,
tzimmermann@suse.de
Subject: Re: [PATCH 2/6] drm/bridge: tc358775: Fix getting dsi host data lanes
Date: Mon, 27 Nov 2023 15:31:44 +0100 [thread overview]
Message-ID: <48e9584ca904397ac0b0771d7e8b81ba@kernel.org> (raw)
In-Reply-To: <20231127131947.GE5166@atomide.com>
+ dt maintainers
>> I actually have the same fix, but with one additional detail, which
>> I'm
>> unsure about though: This looks at the data-lanes property of the
>> *remote*
>> endpoint whereas other bridge drivers (see tc358767, ti-sn65dsi83,
>> lt8912b,
>> anx7625) look at the local endpoint and I'm not sure what is correct.
>
> Yes I've been wondering about that too. Let's just move it over to the
> bridge node? We could produce a warning if the dsi host node has the
> data-lanes property.. No current in kernel users AFAIK.
I haven't found any in-tree users either. In my patch, I first try the
remote
end and then the local end. But thinking more about it I don't think
this is correct. Maybe we can do it the other way around, first try
data-lanes of the local endpoint and if not found, then try the remote
one. That way, we would at least be backwards compatible in the driver.
And for the dt-bindings, make it mandatory to have a local data-lanes.
-michael
> FYI, for omapdrm, we already have a legacy dt property "lanes" for the
> wiring that tells number of lanes used and the order of the lanes.
>
> Regards,
>
> Tony
next prev parent reply other threads:[~2023-11-27 14:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 16:32 [PATCH 1/6] dt-bindings: tc358775: Add support for tc358765 Tony Lindgren
2023-11-26 16:32 ` Tony Lindgren
2023-11-26 16:32 ` [PATCH 2/6] drm/bridge: tc358775: Fix getting dsi host data lanes Tony Lindgren
2023-11-26 16:32 ` Tony Lindgren
2023-11-26 17:18 ` [PATCH 3/6] drm/bridge: tc358775: Add jeida-24 support Tony Lindgren
2023-11-26 18:17 ` [PATCH 4/6] drm/bridge: tc358775: Add burst and low-power modes Tony Lindgren
2023-11-26 18:56 ` [PATCH 5/6] drm/bridge: tc358775: Add support for tc358765 Tony Lindgren
2023-11-26 19:15 ` [PATCH 6/6] drm/bridge: tc358775: Configure hs_rate and lp_rate Tony Lindgren
2023-11-27 13:25 ` [PATCH 3/6] drm/bridge: tc358775: Add jeida-24 support Michael Walle
2023-11-27 13:25 ` Michael Walle
2023-11-27 13:40 ` Tony Lindgren
2023-11-27 13:40 ` Tony Lindgren
2023-11-27 13:09 ` [PATCH 2/6] drm/bridge: tc358775: Fix getting dsi host data lanes Michael Walle
2023-11-27 13:09 ` Michael Walle
2023-11-27 13:19 ` Tony Lindgren
2023-11-27 13:19 ` Tony Lindgren
2023-11-27 14:31 ` Michael Walle [this message]
2023-11-27 14:31 ` Michael Walle
2023-11-27 15:06 ` Tony Lindgren
2023-11-27 15:06 ` Tony Lindgren
2023-11-27 7:18 ` [PATCH 1/6] dt-bindings: tc358775: Add support for tc358765 Krzysztof Kozlowski
2023-11-27 7:18 ` Krzysztof Kozlowski
2023-11-27 12:44 ` Michael Walle
2023-11-27 12:44 ` Michael Walle
2023-11-27 13:07 ` Tony Lindgren
2023-11-27 13:07 ` Tony Lindgren
2023-11-27 13:21 ` Alexander Stein
2023-11-27 13:21 ` Alexander Stein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48e9584ca904397ac0b0771d7e8b81ba@kernel.org \
--to=mwalle@kernel.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=merlijn@wizzup.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=pavel@ucw.cz \
--cc=philipp@uvos.xyz \
--cc=rfoss@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=simhavcs@gmail.com \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.