Commit c3d9acc5 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Bjorn Andersson

arm64: dts: qcom: qcs6490-rb3gen2: Enable USB Type-C display

With the ADSP remoteproc loaded pmic_glink can be introduced and
together with the redriver wired up to provide role and orientation
switching signals as well as USB Type-C display on the RB3gen2.
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Tested-By: default avatarKrishna Kurapati PSSNV <quic_kriskura@quicinc.com>
Signed-off-by: default avatarBjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240326-rb3gen2-dp-connector-v2-5-a9f1bc32ecaf@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent a1615efb
......@@ -135,6 +135,49 @@ debug_vm_mem: debug-vm@d0600000 {
};
};
pmic-glink {
compatible = "qcom,qcm6490-pmic-glink", "qcom,pmic-glink";
#address-cells = <1>;
#size-cells = <0>;
connector@0 {
compatible = "usb-c-connector";
reg = <0>;
power-role = "dual";
data-role = "dual";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
pmic_glink_hs_in: endpoint {
remote-endpoint = <&usb_1_dwc3_hs>;
};
};
port@1 {
reg = <1>;
pmic_glink_ss_in: endpoint {
remote-endpoint = <&redriver_usb_con_ss>;
};
};
port@2 {
reg = <2>;
pmic_glink_sbu_in: endpoint {
remote-endpoint = <&redriver_usb_con_sbu>;
};
};
};
};
};
vph_pwr: vph-pwr-regulator {
compatible = "regulator-fixed";
regulator-name = "vph_pwr";
......@@ -496,6 +539,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>;
};
};
};
};
};
......@@ -503,6 +576,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";
};
......@@ -547,7 +629,16 @@ &usb_1 {
};
&usb_1_dwc3 {
dr_mode = "peripheral";
dr_mode = "otg";
usb-role-switch;
};
&usb_1_dwc3_hs {
remote-endpoint = <&pmic_glink_hs_in>;
};
&usb_1_dwc3_ss {
remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
};
&usb_1_hsphy {
......@@ -562,9 +653,23 @@ &usb_1_qmpphy {
vdda-phy-supply = <&vreg_l6b_1p2>;
vdda-pll-supply = <&vreg_l1b_0p912>;
orientation-switch;
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>;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment