From: neil.armstrong@linaro.org
To: Bjorn Andersson <quic_bjorande@quicinc.com>,
Rob Clark <robdclark@gmail.com>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
cros-qcom-dts-watchers@chromium.org,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 8/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB Type-C display
Date: Thu, 22 Feb 2024 10:33:19 +0100 [thread overview]
Message-ID: <dd9fa912-203a-4089-ac15-a73658aa2a09@linaro.org> (raw)
In-Reply-To: <20240221-rb3gen2-dp-connector-v1-8-dc0964ef7d96@quicinc.com>
On 22/02/2024 00:19, Bjorn Andersson wrote:
> With MDSS, pmic_glink, and the redriver in place, wire up the various
> components to enable USB Type-C display on the RB3gen2.
>
> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 63 +++++++++++++++++++++++++++-
> 1 file changed, 61 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> index 171ed979d55f..4bf1c6351467 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> @@ -149,7 +149,15 @@ port@1 {
> reg = <1>;
>
> pmic_glink_ss_in: endpoint {
> - remote-endpoint = <&usb_1_dwc3_ss>;
> + remote-endpoint = <&redriver_usb_con_ss>;
> + };
> + };
> +
> + port@2 {
> + reg = <2>;
> +
> + pmic_glink_sbu_in: endpoint {
> + remote-endpoint = <&redriver_usb_con_sbu>;
> };
> };
> };
> @@ -476,6 +484,36 @@ typec-mux@1c {
>
> retimer-switch;
> orientation-switch;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + redriver_usb_con_ss: endpoint {
> + remote-endpoint = <&pmic_glink_ss_in>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + redriver_phy_con_ss: endpoint {
> + remote-endpoint = <&usb_dp_qmpphy_out>;
> + data-lanes = <0 1 2 3>;
> + };
> + };
> +
> + port@2 {
> + reg = <2>;
> +
> + redriver_usb_con_sbu: endpoint {
> + remote-endpoint = <&pmic_glink_sbu_in>;
> + };
> + };
Nice to see the SBU switching works :-)
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
> + };
> };
> };
>
> @@ -483,6 +521,15 @@ &mdss {
> status = "okay";
> };
>
> +&mdss_dp {
> + status = "okay";
> +};
> +
> +&mdss_dp_out {
> + data-lanes = <0 1>;
> + remote-endpoint = <&usb_dp_qmpphy_dp_in>;
> +};
> +
> &mdss_edp {
> status = "okay";
> };
> @@ -534,7 +581,7 @@ &usb_1_dwc3_hs {
> };
>
> &usb_1_dwc3_ss {
> - remote-endpoint = <&pmic_glink_ss_in>;
> + remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
> };
>
> &usb_1_hsphy {
> @@ -554,6 +601,18 @@ &usb_1_qmpphy {
> status = "okay";
> };
>
> +&usb_dp_qmpphy_out {
> + remote-endpoint = <&redriver_phy_con_ss>;
> +};
> +
> +&usb_dp_qmpphy_usb_ss_in {
> + remote-endpoint = <&usb_1_dwc3_ss>;
> +};
> +
> +&usb_dp_qmpphy_dp_in {
> + remote-endpoint = <&mdss_dp_out>;
> +};
> +
> &wifi {
> memory-region = <&wlan_fw_mem>;
> };
>
next prev parent reply other threads:[~2024-02-22 9:33 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 23:19 [PATCH 0/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable two displays Bjorn Andersson
2024-02-21 23:19 ` [PATCH 1/9] drm/msm/dp: Add DP support to combo instance in SC7280 Bjorn Andersson
2024-02-21 23:38 ` Dmitry Baryshkov
2024-02-22 3:47 ` Bjorn Andersson
2024-02-22 4:01 ` Dmitry Baryshkov
2024-02-22 21:25 ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 2/9] arm64: dts: qcom: sc7280: Make eDP/DP controller default DP Bjorn Andersson
2024-02-21 23:43 ` Dmitry Baryshkov
2024-02-22 8:55 ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 3/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode Bjorn Andersson
2024-02-21 23:41 ` Dmitry Baryshkov
2024-02-22 8:56 ` Konrad Dybcio
2024-02-22 9:04 ` Dmitry Baryshkov
2024-02-22 9:28 ` Konrad Dybcio
2024-02-22 9:46 ` Dmitry Baryshkov
2024-02-22 10:02 ` Konrad Dybcio
2024-02-22 15:04 ` Bjorn Andersson
2024-02-22 17:32 ` Dmitry Baryshkov
2024-02-26 15:56 ` Doug Anderson
2024-02-22 18:32 ` Abhinav Kumar
2024-02-22 8:56 ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 4/9] arm64: dts: qcom: qcs6490-rb3gen2: Add DP output Bjorn Andersson
2024-02-21 23:46 ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 5/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable adsp and cdsp Bjorn Andersson
2024-02-21 23:42 ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 6/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB role switching Bjorn Andersson
2024-02-21 23:50 ` Dmitry Baryshkov
2024-02-22 3:51 ` Bjorn Andersson
2024-02-22 16:11 ` Krishna Kurapati PSSNV
2024-02-21 23:19 ` [PATCH 7/9] arm64: dts: qcom: qcs6490-rb3gen2: Introduce USB redriver Bjorn Andersson
2024-02-21 23:50 ` Dmitry Baryshkov
2024-02-22 8:58 ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 8/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB Type-C display Bjorn Andersson
2024-02-22 9:33 ` neil.armstrong [this message]
2024-02-21 23:19 ` [PATCH 9/9] arm64: defconfig: Enable sc7280 display and gpu clock controllers Bjorn Andersson
2024-02-21 23:43 ` Dmitry Baryshkov
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=dd9fa912-203a-4089-ac15-a73658aa2a09@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--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=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_bjorande@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh@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
all inboxes | Powered by JetHome®