From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/6] arm64: dts: qcom: sm8450-hdk: Add QMP & DP to SuperSpeed graph
Date: Thu, 4 May 2023 08:54:10 +0200 [thread overview]
Message-ID: <beb24bbe-034e-128b-0a77-84981574adb7@linaro.org> (raw)
In-Reply-To: <20230503-topic-sm8450-graphics-dp-next-v1-4-d1ee9397f2a6@linaro.org>
On 3.05.2023 15:10, Neil Armstrong wrote:
> With support for the QMP combo phy to react to USB Type-C switch events,
> introduce it as the next hop for the SuperSpeed lanes of the Type-C
> connector, and connect the output of the DisplayPort controller
> to the QMP combo phy.
>
> This allows the TCPM to perform orientation switching of both USB and
> DisplayPort signals.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
same comments as p3
Konrad
> arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 71 ++++++++++++++++++++++++++++++++-
> 1 file changed, 69 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> index e931545a2cac..52a14ae0321b 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> @@ -114,9 +114,18 @@ port@1 {
> reg = <1>;
>
> pmic_glink_ss_in: endpoint {
> - remote-endpoint = <&usb_1_dwc3_ss>;
> + remote-endpoint = <&usb_1_qmpphy_out>;
> };
> };
> +
> + port@2 {
> + reg = <2>;
> +
> + pmic_glink_sbu: endpoint {
> + remote-endpoint = <&fsa4480_sbu_mux>;
> + };
> + };
> +
> };
> };
> };
> @@ -494,6 +503,36 @@ lt9611_out: endpoint {
> };
> };
>
> +&i2c5 {
> + status = "okay";
> + clock-frequency = <100000>;
> +
> + fsa4480@42 {
> + compatible = "fcs,fsa4480";
> + reg = <0x42>;
> +
> + interrupts-extended = <&tlmm 2 IRQ_TYPE_LEVEL_LOW>;
> +
> + vcc-supply = <&vreg_bob>;
> + mode-switch;
> + orientation-switch;
> + svid = /bits/ 16 <0xff01>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + fsa4480_sbu_mux: endpoint {
> + remote-endpoint = <&pmic_glink_sbu>;
> + };
> + };
> + };
> + };
> +};
> +
> &mdss {
> status = "okay";
> };
> @@ -513,6 +552,20 @@ &mdss_dsi0_phy {
> status = "okay";
> };
>
> +&mdss_dp0 {
> + status = "okay";
> +
> + ports {
> + port@1 {
> + reg = <1>;
> + mdss_dp0_out: endpoint {
> + data-lanes = <0 1>;
> + remote-endpoint = <&usb_1_qmpphy_dp_in>;
> + };
> + };
> + };
> +};
> +
> &mdss_mdp {
> status = "okay";
> };
> @@ -766,7 +819,7 @@ &usb_1_dwc3_hs {
> };
>
> &usb_1_dwc3_ss {
> - remote-endpoint = <&pmic_glink_ss_in>;
> + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
> };
>
> &usb_1_hsphy {
> @@ -782,6 +835,20 @@ &usb_1_qmpphy {
>
> vdda-phy-supply = <&vreg_l6b_1p2>;
> vdda-pll-supply = <&vreg_l1b_0p91>;
> +
> + orientation-switch;
> +};
> +
> +&usb_1_qmpphy_out {
> + remote-endpoint = <&pmic_glink_ss_in>;
> +};
> +
> +&usb_1_qmpphy_usb_ss_in {
> + remote-endpoint = <&usb_1_dwc3_ss>;
> +};
> +
> +&usb_1_qmpphy_dp_in {
> + remote-endpoint = <&mdss_dp0_out>;
> };
>
> &vamacro {
>
next prev parent reply other threads:[~2023-05-04 6:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 13:10 [PATCH 0/6] arm64: qcom: sm84[34]50: enable DP altmode on USB-C Connector Neil Armstrong
2023-05-03 13:10 ` [PATCH 1/6] arm64: dts: qcom: sm8350: add ports subnodes in usb1 qmpphy node Neil Armstrong
2023-05-04 7:38 ` Konrad Dybcio
2023-05-04 12:57 ` Neil Armstrong
2023-05-04 15:39 ` Neil Armstrong
2023-05-03 13:10 ` [PATCH 2/6] arm64: dts: qcom: sm8450: " Neil Armstrong
2023-05-03 13:10 ` [PATCH 3/6] arm64: dts: qcom: sm8350-hdk: Add QMP & DP to SuperSpeed graph Neil Armstrong
2023-05-03 16:28 ` Krzysztof Kozlowski
2023-05-04 6:53 ` Konrad Dybcio
2023-05-04 12:55 ` Neil Armstrong
2023-05-03 13:10 ` [PATCH 4/6] arm64: dts: qcom: sm8450-hdk: " Neil Armstrong
2023-05-04 6:54 ` Konrad Dybcio [this message]
2023-05-03 13:10 ` [PATCH 5/6] arm64: defconfig: enable FSA4480 driver as module Neil Armstrong
2023-05-03 16:29 ` Krzysztof Kozlowski
2023-05-03 13:10 ` [PATCH 6/6] qcom: pmic_glink: enable altmode for SM8450 Neil Armstrong
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=beb24bbe-034e-128b-0a77-84981574adb7@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=will@kernel.org \
/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®