* [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform
@ 2024-12-10 9:11 Xiangxu Yin
2024-12-10 9:11 ` [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 Xiangxu Yin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Xiangxu Yin @ 2024-12-10 9:11 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fange Zhang, Li Liu, Xiangxu Yin, Abhinav Kumar,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel
The patches include:
1.ADD DisplayPort controller and phy nodes to Qualcomm QCS615 dtsi file.
2.Add dp-connector, config hpd-gpios which used for Displayport hotplug detect.
3.Config lane mapping through data-lanes prop.
This patch series depends on below patch series:
- dispcc
https://lore.kernel.org/all/20241108-qcs615-mm-clockcontroller-v3-0-7d3b2d235fdf@quicinc.com/
- dispcc dts
https://lore.kernel.org/lkml/20241108-qcs615-mm-dt-nodes-v1-0-b2669cac0624@quicinc.com/
- display
https://lore.kernel.org/all/20241122-add-display-support-for-qcs615-platform-v3-0-35252e3a51fe@quicinc.com/
- displayport driver
https://lore.kernel.org/all/20241129-add-displayport-support-for-qcs615-platform-v1-0-09a4338d93ef@quicinc.com/
Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com>
---
Xiangxu Yin (2):
arm64: dts: qcom: Add DisplayPort support for QCS615
arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform
arch/arm64/boot/dts/qcom/qcs615-ride.dts | 30 +++++++++
arch/arm64/boot/dts/qcom/qcs615.dtsi | 107 ++++++++++++++++++++++++++++++-
2 files changed, 135 insertions(+), 2 deletions(-)
---
base-commit: 68586ffc0ad47448d0c00a72ba61db66b127c23a
change-id: 20241210-add-displayport-support-to-qcs615-devicetree-1575aa4e299d
Best regards,
--
xiangxuy <quic_xiangxuy@quicinc.com>
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 2024-12-10 9:11 [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform Xiangxu Yin @ 2024-12-10 9:11 ` Xiangxu Yin 2024-12-10 10:38 ` Dmitry Baryshkov 2024-12-10 9:11 ` [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform Xiangxu Yin 2024-12-10 10:03 ` [PATCH 0/2] Add support for DisplayPort on the " Dmitry Baryshkov 2 siblings, 1 reply; 8+ messages in thread From: Xiangxu Yin @ 2024-12-10 9:11 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Xiangxu Yin, Abhinav Kumar, Dmitry Baryshkov Cc: linux-arm-msm, devicetree, linux-kernel Add DisplayPort controller and phy configuration for QCS615 platform. Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 107 ++++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index 0a629c44e960e38891f48a8a021b86a6c1dadea1..dbd6eae267d7470d9b9a6c303eac03b64c3df3fc 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -17,6 +17,7 @@ #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom,rpmhpd.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> +#include <dt-bindings/phy/phy-qcom-qmp.h> / { interrupt-parent = <&intc>; @@ -2889,6 +2890,7 @@ ports { port@0 { reg = <0>; dpu_intf0_out: endpoint { + remote-endpoint = <&mdss_dp0_in>; }; }; @@ -3002,6 +3004,107 @@ mdss_dsi0_phy: phy@ae94400 { status = "disabled"; }; + + mdss_dp0: displayport-controller@ae90000 { + compatible = "qcom,sm6150-dp"; + + reg = <0x0 0xae90000 0x0 0x200>, + <0x0 0xae90200 0x0 0x200>, + <0x0 0xae90400 0x0 0x600>, + <0x0 0xae90a00 0x0 0x600>; + + interrupt-parent = <&mdss>; + interrupts = <12>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; + assigned-clock-parents = <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; + + phys = <&mdss_dp_phy QMP_USB43DP_DP_PHY>; + phy-names = "dp"; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd RPMHPD_CX>; + + #sound-dai-cells = <0>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdss_dp0_in: endpoint { + remote-endpoint = <&dpu_intf0_out>; + }; + }; + + port@1 { + reg = <1>; + mdss_dp0_out: endpoint { + }; + }; + }; + + dp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-270000000 { + opp-hz = /bits/ 64 <270000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-540000000 { + opp-hz = /bits/ 64 <540000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + }; + }; + + mdss_dp_phy: phy@88e9000 { + compatible = "qcom,qcs615-qmp-dp-phy"; + + reg = <0x0 0x88e9000 0x0 0x200>, + <0x0 0x88e9400 0x0 0x10c>, + <0x0 0x88e9800 0x0 0x10c>, + <0x0 0x88e9c00 0x0 0x200>; + + clocks = <&gcc GCC_AHB2PHY_WEST_CLK>, + <&gcc GCC_USB3_SEC_CLKREF_CLK>; + clock-names = "cfg_ahb", + "ref"; + clock-output-names = "dp_phy_link_clk", + "dp_phy_vco_div_clk"; + + resets = <&gcc GCC_USB3_DP_PHY_SEC_BCR>; + reset-names = "phy"; + + qcom,tcsr-reg = <&tcsr 0xb24c>; + + #clock-cells = <1>; + #phy-cells = <1>; + + status = "disabled"; + }; }; dispcc: clock-controller@af00000 { @@ -3013,8 +3116,8 @@ dispcc: clock-controller@af00000 { <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>, <0>, - <0>, - <0>; + <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; #clock-cells = <1>; #reset-cells = <1>; -- 2.34.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 2024-12-10 9:11 ` [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 Xiangxu Yin @ 2024-12-10 10:38 ` Dmitry Baryshkov 2024-12-13 10:31 ` Xiangxu Yin 0 siblings, 1 reply; 8+ messages in thread From: Dmitry Baryshkov @ 2024-12-10 10:38 UTC (permalink / raw) To: Xiangxu Yin Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Abhinav Kumar, linux-arm-msm, devicetree, linux-kernel On Tue, Dec 10, 2024 at 05:11:05PM +0800, Xiangxu Yin wrote: > Add DisplayPort controller and phy configuration for QCS615 platform. > > Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qcs615.dtsi | 107 ++++++++++++++++++++++++++++++++++- > 1 file changed, 105 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi > index 0a629c44e960e38891f48a8a021b86a6c1dadea1..dbd6eae267d7470d9b9a6c303eac03b64c3df3fc 100644 > --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi > +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi > @@ -17,6 +17,7 @@ > #include <dt-bindings/power/qcom-rpmpd.h> > #include <dt-bindings/power/qcom,rpmhpd.h> > #include <dt-bindings/soc/qcom,rpmh-rsc.h> > +#include <dt-bindings/phy/phy-qcom-qmp.h> > > / { > interrupt-parent = <&intc>; > @@ -2889,6 +2890,7 @@ ports { > port@0 { > reg = <0>; > dpu_intf0_out: endpoint { > + remote-endpoint = <&mdss_dp0_in>; > }; > }; > > @@ -3002,6 +3004,107 @@ mdss_dsi0_phy: phy@ae94400 { > > status = "disabled"; > }; > + > + mdss_dp0: displayport-controller@ae90000 { Which order should nodes follow in DT? > + compatible = "qcom,sm6150-dp"; > + > + reg = <0x0 0xae90000 0x0 0x200>, > + <0x0 0xae90200 0x0 0x200>, > + <0x0 0xae90400 0x0 0x600>, > + <0x0 0xae90a00 0x0 0x600>; 0x0ae90000, etc. If it is not written in your company's "upstreaming" document, please update it. If it is written there, why didn't you follow it? > + > + interrupt-parent = <&mdss>; > + interrupts = <12>; > + > + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, > + <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, > + <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, > + <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, > + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; > + clock-names = "core_iface", > + "core_aux", > + "ctrl_link", > + "ctrl_link_iface", > + "stream_pixel"; > + > + assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, > + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; > + assigned-clock-parents = <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, > + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; > + > + phys = <&mdss_dp_phy QMP_USB43DP_DP_PHY>; > + phy-names = "dp"; > + > + operating-points-v2 = <&dp_opp_table>; > + power-domains = <&rpmhpd RPMHPD_CX>; > + > + #sound-dai-cells = <0>; > + > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + mdss_dp0_in: endpoint { > + remote-endpoint = <&dpu_intf0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + mdss_dp0_out: endpoint { > + }; > + }; > + }; > + > + dp_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-160000000 { > + opp-hz = /bits/ 64 <160000000>; > + required-opps = <&rpmhpd_opp_low_svs>; > + }; > + > + opp-270000000 { > + opp-hz = /bits/ 64 <270000000>; > + required-opps = <&rpmhpd_opp_svs>; > + }; > + > + opp-540000000 { > + opp-hz = /bits/ 64 <540000000>; > + required-opps = <&rpmhpd_opp_svs_l1>; > + }; > + }; > + }; > + > + mdss_dp_phy: phy@88e9000 { Also misplaced node. > + compatible = "qcom,qcs615-qmp-dp-phy"; > + > + reg = <0x0 0x88e9000 0x0 0x200>, > + <0x0 0x88e9400 0x0 0x10c>, > + <0x0 0x88e9800 0x0 0x10c>, > + <0x0 0x88e9c00 0x0 0x200>; 0x088e9000, etc. > + > + clocks = <&gcc GCC_AHB2PHY_WEST_CLK>, > + <&gcc GCC_USB3_SEC_CLKREF_CLK>; > + clock-names = "cfg_ahb", > + "ref"; > + clock-output-names = "dp_phy_link_clk", > + "dp_phy_vco_div_clk"; > + > + resets = <&gcc GCC_USB3_DP_PHY_SEC_BCR>; > + reset-names = "phy"; > + > + qcom,tcsr-reg = <&tcsr 0xb24c>; > + > + #clock-cells = <1>; > + #phy-cells = <1>; > + > + status = "disabled"; > + }; > }; > > dispcc: clock-controller@af00000 { > @@ -3013,8 +3116,8 @@ dispcc: clock-controller@af00000 { > <&mdss_dsi0_phy 0>, > <&mdss_dsi0_phy 1>, > <0>, > - <0>, > - <0>; > + <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, > + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; > > #clock-cells = <1>; > #reset-cells = <1>; > > -- > 2.34.1 > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 2024-12-10 10:38 ` Dmitry Baryshkov @ 2024-12-13 10:31 ` Xiangxu Yin 0 siblings, 0 replies; 8+ messages in thread From: Xiangxu Yin @ 2024-12-13 10:31 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Abhinav Kumar, linux-arm-msm, devicetree, linux-kernel On 12/10/2024 6:38 PM, Dmitry Baryshkov wrote: > On Tue, Dec 10, 2024 at 05:11:05PM +0800, Xiangxu Yin wrote: >> Add DisplayPort controller and phy configuration for QCS615 platform. >> >> Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qcs615.dtsi | 107 ++++++++++++++++++++++++++++++++++- >> 1 file changed, 105 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi >> index 0a629c44e960e38891f48a8a021b86a6c1dadea1..dbd6eae267d7470d9b9a6c303eac03b64c3df3fc 100644 >> --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi >> +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi >> @@ -17,6 +17,7 @@ >> #include <dt-bindings/power/qcom-rpmpd.h> >> #include <dt-bindings/power/qcom,rpmhpd.h> >> #include <dt-bindings/soc/qcom,rpmh-rsc.h> >> +#include <dt-bindings/phy/phy-qcom-qmp.h> >> >> / { >> interrupt-parent = <&intc>; >> @@ -2889,6 +2890,7 @@ ports { >> port@0 { >> reg = <0>; >> dpu_intf0_out: endpoint { >> + remote-endpoint = <&mdss_dp0_in>; >> }; >> }; >> >> @@ -3002,6 +3004,107 @@ mdss_dsi0_phy: phy@ae94400 { >> >> status = "disabled"; >> }; >> + >> + mdss_dp0: displayport-controller@ae90000 { > > Which order should nodes follow in DT? > OK, WIll sort by node address. >> + compatible = "qcom,sm6150-dp"; >> + >> + reg = <0x0 0xae90000 0x0 0x200>, >> + <0x0 0xae90200 0x0 0x200>, >> + <0x0 0xae90400 0x0 0x600>, >> + <0x0 0xae90a00 0x0 0x600>; > > 0x0ae90000, etc. If it is not written in your company's "upstreaming" > document, please update it. If it is written there, why didn't you > follow it? > Will fix padding in next patch and update our upstreaming documents. >> + >> + interrupt-parent = <&mdss>; >> + interrupts = <12>; >> + >> + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, >> + <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, >> + <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, >> + <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, >> + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; >> + clock-names = "core_iface", >> + "core_aux", >> + "ctrl_link", >> + "ctrl_link_iface", >> + "stream_pixel"; >> + >> + assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, >> + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; >> + assigned-clock-parents = <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, >> + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; >> + >> + phys = <&mdss_dp_phy QMP_USB43DP_DP_PHY>; >> + phy-names = "dp"; >> + >> + operating-points-v2 = <&dp_opp_table>; >> + power-domains = <&rpmhpd RPMHPD_CX>; >> + >> + #sound-dai-cells = <0>; >> + >> + status = "disabled"; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + mdss_dp0_in: endpoint { >> + remote-endpoint = <&dpu_intf0_out>; >> + }; >> + }; >> + >> + port@1 { >> + reg = <1>; >> + mdss_dp0_out: endpoint { >> + }; >> + }; >> + }; >> + >> + dp_opp_table: opp-table { >> + compatible = "operating-points-v2"; >> + >> + opp-160000000 { >> + opp-hz = /bits/ 64 <160000000>; >> + required-opps = <&rpmhpd_opp_low_svs>; >> + }; >> + >> + opp-270000000 { >> + opp-hz = /bits/ 64 <270000000>; >> + required-opps = <&rpmhpd_opp_svs>; >> + }; >> + >> + opp-540000000 { >> + opp-hz = /bits/ 64 <540000000>; >> + required-opps = <&rpmhpd_opp_svs_l1>; >> + }; >> + }; >> + }; >> + >> + mdss_dp_phy: phy@88e9000 { > > Also misplaced node. > Ok, will fix in next patch. >> + compatible = "qcom,qcs615-qmp-dp-phy"; >> + >> + reg = <0x0 0x88e9000 0x0 0x200>, >> + <0x0 0x88e9400 0x0 0x10c>, >> + <0x0 0x88e9800 0x0 0x10c>, >> + <0x0 0x88e9c00 0x0 0x200>; > > 0x088e9000, etc. > Ok, will fix address padding. >> + >> + clocks = <&gcc GCC_AHB2PHY_WEST_CLK>, >> + <&gcc GCC_USB3_SEC_CLKREF_CLK>; >> + clock-names = "cfg_ahb", >> + "ref"; >> + clock-output-names = "dp_phy_link_clk", >> + "dp_phy_vco_div_clk"; >> + >> + resets = <&gcc GCC_USB3_DP_PHY_SEC_BCR>; >> + reset-names = "phy"; >> + >> + qcom,tcsr-reg = <&tcsr 0xb24c>; >> + >> + #clock-cells = <1>; >> + #phy-cells = <1>; >> + >> + status = "disabled"; >> + }; >> }; >> >> dispcc: clock-controller@af00000 { >> @@ -3013,8 +3116,8 @@ dispcc: clock-controller@af00000 { >> <&mdss_dsi0_phy 0>, >> <&mdss_dsi0_phy 1>, >> <0>, >> - <0>, >> - <0>; >> + <&mdss_dp_phy QMP_USB43DP_DP_LINK_CLK>, >> + <&mdss_dp_phy QMP_USB43DP_DP_VCO_DIV_CLK>; >> >> #clock-cells = <1>; >> #reset-cells = <1>; >> >> -- >> 2.34.1 >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform 2024-12-10 9:11 [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform Xiangxu Yin 2024-12-10 9:11 ` [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 Xiangxu Yin @ 2024-12-10 9:11 ` Xiangxu Yin 2024-12-10 10:48 ` Dmitry Baryshkov 2024-12-10 10:03 ` [PATCH 0/2] Add support for DisplayPort on the " Dmitry Baryshkov 2 siblings, 1 reply; 8+ messages in thread From: Xiangxu Yin @ 2024-12-10 9:11 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Xiangxu Yin, Abhinav Kumar, Dmitry Baryshkov Cc: linux-arm-msm, devicetree, linux-kernel Enable the DisplayPort node, config related regulator, lane mapping, hpd-gpios on the Qualcomm QCS615 RIDE platform. Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> --- arch/arm64/boot/dts/qcom/qcs615-ride.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts index 694719a09ac46bfa2fe34f1883c0970b9d0902be..0ac543577ec1850d6e4f19ff1d64252b00fffae3 100644 --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts @@ -44,6 +44,20 @@ dp_connector_out: endpoint { }; }; }; + + dp2-connector { + compatible = "dp-connector"; + label = "DP2"; + type = "mini"; + + hpd-gpios = <&ioexp 8 GPIO_ACTIVE_HIGH>; + + port { + dp2_connector_in: endpoint { + remote-endpoint = <&mdss_dp0_out>; + }; + }; + }; }; &apps_rsc { @@ -291,6 +305,22 @@ &mdss_dsi0_phy { status = "okay"; }; +&mdss_dp0 { + status = "okay"; +}; + +&mdss_dp0_out { + data-lanes = <3 2 0 1>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; + remote-endpoint = <&dp2_connector_in>; +}; + +&mdss_dp_phy { + vdda-phy-supply = <&vreg_l11a>; + vdda-pll-supply = <&vreg_l5a>; + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; }; -- 2.34.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform 2024-12-10 9:11 ` [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform Xiangxu Yin @ 2024-12-10 10:48 ` Dmitry Baryshkov 2024-12-13 10:37 ` Xiangxu Yin 0 siblings, 1 reply; 8+ messages in thread From: Dmitry Baryshkov @ 2024-12-10 10:48 UTC (permalink / raw) To: Xiangxu Yin Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Abhinav Kumar, linux-arm-msm, devicetree, linux-kernel On Tue, Dec 10, 2024 at 05:11:06PM +0800, Xiangxu Yin wrote: > Enable the DisplayPort node, config related regulator, lane mapping, > hpd-gpios on the Qualcomm QCS615 RIDE platform. > > Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qcs615-ride.dts | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts > index 694719a09ac46bfa2fe34f1883c0970b9d0902be..0ac543577ec1850d6e4f19ff1d64252b00fffae3 100644 > --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts > +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts > @@ -44,6 +44,20 @@ dp_connector_out: endpoint { > }; > }; > }; You mentioned v3 of the display support series. However v3 doesn't contain dp_connector_out label. > + > + dp2-connector { > + compatible = "dp-connector"; > + label = "DP2"; > + type = "mini"; > + > + hpd-gpios = <&ioexp 8 GPIO_ACTIVE_HIGH>; > + > + port { > + dp2_connector_in: endpoint { > + remote-endpoint = <&mdss_dp0_out>; > + }; > + }; > + }; > }; > > &apps_rsc { > @@ -291,6 +305,22 @@ &mdss_dsi0_phy { > status = "okay"; > }; > > +&mdss_dp0 { > + status = "okay"; > +}; > + > +&mdss_dp0_out { > + data-lanes = <3 2 0 1>; This hasn't been agreed upon yet. Please abstain from using the configuration bits that are still in discussion. > + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; > + remote-endpoint = <&dp2_connector_in>; > +}; > + > +&mdss_dp_phy { > + vdda-phy-supply = <&vreg_l11a>; > + vdda-pll-supply = <&vreg_l5a>; > + status = "okay"; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > > -- > 2.34.1 > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform 2024-12-10 10:48 ` Dmitry Baryshkov @ 2024-12-13 10:37 ` Xiangxu Yin 0 siblings, 0 replies; 8+ messages in thread From: Xiangxu Yin @ 2024-12-13 10:37 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Abhinav Kumar, linux-arm-msm, devicetree, linux-kernel On 12/10/2024 6:48 PM, Dmitry Baryshkov wrote: > On Tue, Dec 10, 2024 at 05:11:06PM +0800, Xiangxu Yin wrote: >> Enable the DisplayPort node, config related regulator, lane mapping, >> hpd-gpios on the Qualcomm QCS615 RIDE platform. >> >> Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qcs615-ride.dts | 30 ++++++++++++++++++++++++++++++ >> 1 file changed, 30 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> index 694719a09ac46bfa2fe34f1883c0970b9d0902be..0ac543577ec1850d6e4f19ff1d64252b00fffae3 100644 >> --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> @@ -44,6 +44,20 @@ dp_connector_out: endpoint { >> }; >> }; >> }; > > You mentioned v3 of the display support series. However v3 doesn't > contain dp_connector_out label. > My typo, this patch based v4 of display support, but it not properly updated to the cover. Will update cover info in next patch. >> + >> + dp2-connector { >> + compatible = "dp-connector"; >> + label = "DP2"; >> + type = "mini"; >> + >> + hpd-gpios = <&ioexp 8 GPIO_ACTIVE_HIGH>; >> + >> + port { >> + dp2_connector_in: endpoint { >> + remote-endpoint = <&mdss_dp0_out>; >> + }; >> + }; >> + }; >> }; >> >> &apps_rsc { >> @@ -291,6 +305,22 @@ &mdss_dsi0_phy { >> status = "okay"; >> }; >> >> +&mdss_dp0 { >> + status = "okay"; >> +}; >> + >> +&mdss_dp0_out { >> + data-lanes = <3 2 0 1>; > > This hasn't been agreed upon yet. Please abstain from using the > configuration bits that are still in discussion. > Ok, I'll update next dt patch after the lane mapping discussion. >> + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; >> + remote-endpoint = <&dp2_connector_in>; >> +}; >> + >> +&mdss_dp_phy { >> + vdda-phy-supply = <&vreg_l11a>; >> + vdda-pll-supply = <&vreg_l5a>; >> + status = "okay"; >> +}; >> + >> &qupv3_id_0 { >> status = "okay"; >> }; >> >> -- >> 2.34.1 >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform 2024-12-10 9:11 [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform Xiangxu Yin 2024-12-10 9:11 ` [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 Xiangxu Yin 2024-12-10 9:11 ` [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform Xiangxu Yin @ 2024-12-10 10:03 ` Dmitry Baryshkov 2 siblings, 0 replies; 8+ messages in thread From: Dmitry Baryshkov @ 2024-12-10 10:03 UTC (permalink / raw) To: Xiangxu Yin Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Fange Zhang, Li Liu, Abhinav Kumar, linux-arm-msm, devicetree, linux-kernel On Tue, Dec 10, 2024 at 05:11:04PM +0800, Xiangxu Yin wrote: > The patches include: > 1.ADD DisplayPort controller and phy nodes to Qualcomm QCS615 dtsi file. > 2.Add dp-connector, config hpd-gpios which used for Displayport hotplug detect. > 3.Config lane mapping through data-lanes prop. > > This patch series depends on below patch series: > - dispcc > https://lore.kernel.org/all/20241108-qcs615-mm-clockcontroller-v3-0-7d3b2d235fdf@quicinc.com/ > - dispcc dts > https://lore.kernel.org/lkml/20241108-qcs615-mm-dt-nodes-v1-0-b2669cac0624@quicinc.com/ > - display > https://lore.kernel.org/all/20241122-add-display-support-for-qcs615-platform-v3-0-35252e3a51fe@quicinc.com/ > - displayport driver > https://lore.kernel.org/all/20241129-add-displayport-support-for-qcs615-platform-v1-0-09a4338d93ef@quicinc.com/ No, it doesn't. The DT and the driver can come up separately. > > Signed-off-by: Xiangxu Yin <quic_xiangxuy@quicinc.com> > > --- > Xiangxu Yin (2): > arm64: dts: qcom: Add DisplayPort support for QCS615 > arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform > > arch/arm64/boot/dts/qcom/qcs615-ride.dts | 30 +++++++++ > arch/arm64/boot/dts/qcom/qcs615.dtsi | 107 ++++++++++++++++++++++++++++++- > 2 files changed, 135 insertions(+), 2 deletions(-) > --- > base-commit: 68586ffc0ad47448d0c00a72ba61db66b127c23a > change-id: 20241210-add-displayport-support-to-qcs615-devicetree-1575aa4e299d > > Best regards, > -- > xiangxuy <quic_xiangxuy@quicinc.com> > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-12-13 10:37 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-12-10 9:11 [PATCH 0/2] Add support for DisplayPort on the QCS615 RIDE platform Xiangxu Yin 2024-12-10 9:11 ` [PATCH 1/2] arm64: dts: qcom: Add DisplayPort support for QCS615 Xiangxu Yin 2024-12-10 10:38 ` Dmitry Baryshkov 2024-12-13 10:31 ` Xiangxu Yin 2024-12-10 9:11 ` [PATCH 2/2] arm64: dts: qcom: Enable DisplayPort on QCS615 RIDE platform Xiangxu Yin 2024-12-10 10:48 ` Dmitry Baryshkov 2024-12-13 10:37 ` Xiangxu Yin 2024-12-10 10:03 ` [PATCH 0/2] Add support for DisplayPort on the " Dmitry Baryshkov
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®