devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Bjorn Andersson <quic_bjorande@quicinc.com>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Rob Clark <robdclark@gmail.com>,
	Abhinav Kumar <quic_abhinavk@quicinc.com>,
	Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>,
	Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Kalyan Thota <quic_kalyant@quicinc.com>,
	Jessica Zhang <quic_jesszhan@quicinc.com>,
	Kuogee Hsieh <quic_khsieh@quicinc.com>,
	Johan Hovold <johan+linaro@kernel.org>,
	Sankeerth Billakanti <quic_sbillaka@quicinc.com>,
	linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
	freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 13/13] arm64: dts: qcom: sa8295-adp: Enable DP instances
Date: Mon, 5 Dec 2022 14:02:36 -0600	[thread overview]
Message-ID: <20221205200236.2t25pv5abrgkrt5k@builder.lan> (raw)
In-Reply-To: <b58f6935-b6ac-128b-2fec-a06dccc3210f@linaro.org>

On Mon, Dec 05, 2022 at 07:09:45PM +0100, Konrad Dybcio wrote:
> On 05/12/2022 18:44, Bjorn Andersson wrote:
> > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
[..]
> > +&mdss0_dp2 {
> > +	status = "okay";
> status should go last.
> 

Thanks for pointing that out. Would be nice if the computer told me
that...somehow...

> > +
> > +	data-lanes = <0 1 2 3>;
> > +
> > +	ports {
> > +		port@1 {
> > +			reg = <1>;
> > +			mdss0_dp2_phy_out: endpoint {
> That's quite a lot of indentation.. couldn't these endpoints be defined in
> the SoC DT?
> 

The alternative would be to have the description of each DP controller
split over multiple nodes and rely on the reader to stitch together the
view of the node based on the label.
Based on the naming of these labels they would at least be adjacent, so
it wouldn't be that bad.

But I feel that there is enough DP-controller nodes in this board
already; I've yet to describe the two USB Type-C controllers or the two
DSI-DP bridges.
So I don't know if it's worth optimizing indentation-level within each
node like this.


And we will end up mixing this optimization between DP controllers, USB
Type-C nodes, QMP nodes, DSI-DP bridges.

Regards,
Bjorn

  reply	other threads:[~2022-12-05 20:02 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 17:44 [PATCH v4 00/13] drm/msm: Add SC8280XP support Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 01/13] dt-bindings: display/msm: Add binding for SC8280XP MDSS Bjorn Andersson
2022-12-05 21:08   ` Rob Herring
2022-12-05 17:44 ` [PATCH v4 02/13] drm/msm/dpu: Introduce SC8280XP Bjorn Andersson
2022-12-07 14:49   ` Dmitry Baryshkov
2022-12-07 16:28     ` Bjorn Andersson
2022-12-07 20:04       ` Dmitry Baryshkov
2022-12-05 17:44 ` [PATCH v4 03/13] drm/msm: Introduce SC8280XP MDSS Bjorn Andersson
2022-12-05 20:59   ` Dmitry Baryshkov
2022-12-05 17:44 ` [PATCH v4 04/13] dt-bindings: msm/dp: Add SDM845 and SC8280XP compatibles Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 05/13] drm/msm/dp: Stop using DP id as index in desc Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 06/13] drm/msm/dp: Add DP and EDP compatibles for SC8280XP Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 07/13] drm/msm/dp: Add SDM845 DisplayPort instance Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 08/13] drm/msm/dp: Implement hpd_notify() Bjorn Andersson
2022-12-05 21:02   ` Dmitry Baryshkov
2022-12-05 21:29   ` Dmitry Baryshkov
2022-12-05 22:23     ` Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 09/13] drm/msm/dp: Don't enable HPD interrupts for edp Bjorn Andersson
2022-12-05 21:07   ` Dmitry Baryshkov
2022-12-05 21:11     ` Dmitry Baryshkov
2022-12-05 17:44 ` [PATCH v4 10/13] drm/msm/dp: Rely on hpd_enable/disable callbacks Bjorn Andersson
2022-12-05 21:11   ` Dmitry Baryshkov
2022-12-05 17:44 ` [PATCH v4 11/13] arm64: dts: qcom: sc8280xp: Define some of the display blocks Bjorn Andersson
2022-12-05 17:44 ` [PATCH v4 12/13] arm64: dts: qcom: sc8280xp-crd: Enable EDP Bjorn Andersson
2022-12-05 21:23   ` Dmitry Baryshkov
2022-12-05 17:44 ` [PATCH v4 13/13] arm64: dts: qcom: sa8295-adp: Enable DP instances Bjorn Andersson
2022-12-05 18:09   ` Konrad Dybcio
2022-12-05 20:02     ` Bjorn Andersson [this message]
2022-12-05 20:09       ` Konrad Dybcio

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=20221205200236.2t25pv5abrgkrt5k@builder.lan \
    --to=andersson@kernel.org \
    --cc=airlied@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=johan+linaro@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_abhinavk@quicinc.com \
    --cc=quic_bjorande@quicinc.com \
    --cc=quic_jesszhan@quicinc.com \
    --cc=quic_kalyant@quicinc.com \
    --cc=quic_khsieh@quicinc.com \
    --cc=quic_sbillaka@quicinc.com \
    --cc=robdclark@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sean@poorly.run \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).