From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Tengfei Fan <quic_tengfan@quicinc.com>,
agross@kernel.org, andersson@kernel.org,
konrad.dybcio@linaro.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
tglx@linutronix.de
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, -cc=kernel@quicinc.com
Subject: Re: [PATCH 15/16] arm64: dts: qcom: sm8550-aim300: add pmic glink port/endpoints
Date: Fri, 17 Nov 2023 12:32:51 +0200 [thread overview]
Message-ID: <e3e27fec-8ab9-4331-a5aa-2958dd630b11@linaro.org> (raw)
In-Reply-To: <20231117101817.4401-16-quic_tengfan@quicinc.com>
On 17/11/2023 12:18, Tengfei Fan wrote:
> Add nodes to support Type-C USB/DP functionality.
>
> On this platform, a Type-C redriver is added to the SuperSpeed graph.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 88 +++++++++++++++++++++-
> 1 file changed, 87 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> index 6dc3040b9f76..f3c558dd40f1 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> @@ -100,7 +100,15 @@
> reg = <1>;
>
> pmic_glink_ss_in: endpoint {
> - remote-endpoint = <&usb_1_dwc3_ss>;
> + remote-endpoint = <&redriver_ss_out>;
> + };
> + };
> +
> + port@2 {
> + reg = <2>;
> +
> + pmic_glink_sbu: endpoint {
> + remote-endpoint = <&fsa4480_sbu_mux>;
> };
> };
> };
> @@ -519,6 +527,62 @@
> };
> };
>
> +&i2c_master_hub_0 {
> + status = "okay";
> +};
> +
> +&i2c_hub_2 {
> + status = "okay";
> +
> + typec-mux@42 {
> + compatible = "fcs,fsa4480";
> + reg = <0x42>;
> +
> + vcc-supply = <&vreg_bob1>;
> +
> + mode-switch;
> + orientation-switch;
> +
> + port {
> + fsa4480_sbu_mux: endpoint {
> + remote-endpoint = <&pmic_glink_sbu>;
> + };
> + };
> + };
> +
> + typec-retimer@1c {
> + compatible = "onnn,nb7vpq904m";
> + reg = <0x1c>;
> +
> + vcc-supply = <&vreg_l15b_1p8>;
> +
> + orientation-switch;
> + retimer-switch;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + redriver_ss_out: endpoint {
> + remote-endpoint = <&pmic_glink_ss_in>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + redriver_ss_in: endpoint {
> + data-lanes = <3 2 1 0>;
> + remote-endpoint = <&usb_dp_qmpphy_out>;
> + };
> + };
> + };
> + };
> +};
> +
> &gcc {
> clocks = <&bi_tcxo_div2>, <&sleep_clk>,
> <&pcie0_phy>,
> @@ -552,6 +616,16 @@
> status = "okay";
> };
>
> +&mdss_dp0 {
> + status = "okay";
> +};
> +
> +&mdss_dp0_out {
> + data-lanes = <0 1>;
Why? Are you really limited to two lanes for DP by the hardware?
> + remote-endpoint = <&usb_dp_qmpphy_dp_in>;
> +};
> +
> +
> &mdss_dsi0 {
> vdda-supply = <&vreg_l3e_1p2>;
> status = "okay";
> @@ -861,6 +935,18 @@
> status = "okay";
> };
>
> +&usb_dp_qmpphy_dp_in {
> + remote-endpoint = <&mdss_dp0_out>;
> +};
> +
> +&usb_dp_qmpphy_out {
> + remote-endpoint = <&redriver_ss_in>;
> +};
> +
> +&usb_dp_qmpphy_usb_ss_in {
> + remote-endpoint = <&usb_1_dwc3_ss>;
> +};
> +
> &xo_board {
> clock-frequency = <76800000>;
> };
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-11-17 10:32 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 10:18 [PATCH 00/16] arm64: qcom: add sm8550-aim300 board support Tengfei Fan
2023-11-17 10:18 ` [PATCH 01/16] dt-bindings: arm: qcom: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:22 ` Krzysztof Kozlowski
2023-11-20 8:53 ` Krzysztof Kozlowski
2023-11-21 0:30 ` Tengfei Fan
2023-11-21 7:18 ` Krzysztof Kozlowski
2023-11-22 19:35 ` Konrad Dybcio
2023-11-24 2:31 ` Tengfei Fan
2023-11-24 7:47 ` Krzysztof Kozlowski
2023-11-24 10:11 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 02/16] dt-bindings: interrupt-controller: qcom,pdc: document qcom,sm8550-pdc Tengfei Fan
2023-11-17 10:23 ` Krzysztof Kozlowski
2023-11-21 0:33 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 03/16] arm64: dts: qcom: sm8550: update Soundwire node name Tengfei Fan
2023-11-17 10:24 ` Krzysztof Kozlowski
2023-11-21 0:35 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 04/16] arm64: dts: qcom: sm8550: remove address/size-cells from pwm Tengfei Fan
2023-11-17 10:25 ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 05/16] arm64: dts: qcom: sm8550: remove address/size-cells from mdss_dsi1 Tengfei Fan
2023-11-17 10:24 ` Dmitry Baryshkov
2023-11-17 10:28 ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 06/16] arm64: dts: qcom: sm8550-aim300: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:28 ` Dmitry Baryshkov
2023-11-21 0:38 ` Tengfei Fan
2023-11-21 2:52 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 07/16] arm64: dts: qcom: sm8550-aim300: add PCIe0 Tengfei Fan
2023-11-17 10:29 ` Dmitry Baryshkov
2023-11-17 10:41 ` neil.armstrong
2023-11-18 0:08 ` Konrad Dybcio
2023-11-19 17:59 ` Neil Armstrong
2023-11-21 0:40 ` Tengfei Fan
2023-11-17 10:30 ` Krzysztof Kozlowski
2023-11-21 0:51 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 08/16] arm64: dts: qcom: sm8550-aim300: add WCD9385 audio-codec Tengfei Fan
2023-11-17 10:31 ` Krzysztof Kozlowski
2023-11-21 0:54 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 09/16] arm64: dts: qcom: sm8550-aim300: add flash LEDs Tengfei Fan
2023-11-17 10:34 ` Krzysztof Kozlowski
2023-11-21 0:54 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel Tengfei Fan
2023-11-17 10:30 ` Dmitry Baryshkov
2023-11-21 0:56 ` Tengfei Fan
2023-11-17 10:31 ` Krzysztof Kozlowski
2023-11-21 1:01 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 11/16] arm64: dts: qcom: sm8550-aim300: add notification RGB LED Tengfei Fan
2023-11-17 10:31 ` Krzysztof Kozlowski
2023-11-21 1:01 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 12/16] arm64: dts: qcom: sm8550-aim300: enable PMIC Volume and Power buttons Tengfei Fan
2023-11-17 10:32 ` Krzysztof Kozlowski
2023-11-21 1:03 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 13/16] arm64: dts: qcom: sm8550-aim300: add WSA8845 speakers Tengfei Fan
2023-11-17 10:33 ` Krzysztof Kozlowski
2023-11-21 1:04 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 14/16] arm64: dts: qcom: sm8550-aim300: add sound card Tengfei Fan
2023-11-17 10:33 ` Krzysztof Kozlowski
2023-11-21 1:04 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 15/16] arm64: dts: qcom: sm8550-aim300: add pmic glink port/endpoints Tengfei Fan
2023-11-17 10:32 ` Dmitry Baryshkov [this message]
2023-11-21 1:06 ` Tengfei Fan
2023-11-28 8:11 ` Tengfei Fan
2023-12-13 10:04 ` Dmitry Baryshkov
2024-02-21 7:48 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 16/16] arm64: dts: qcom: sm8550-aim300: add bluetooth support Tengfei Fan
2023-11-17 10:33 ` Krzysztof Kozlowski
2023-11-21 1:06 ` Tengfei Fan
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=e3e27fec-8ab9-4331-a5aa-2958dd630b11@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=-cc=kernel@quicinc.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.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_tengfan@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox