]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1e80100-hp-x14: drop bogus USB retimer
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 28 Mar 2025 08:41:54 +0000 (09:41 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 16 May 2025 20:45:18 +0000 (21:45 +0100)
Jens reported that the sanity checks added to the new ps883x USB retimer
driver breaks USB and display on the HP X14. Turns out the X14 only has
a retimer on one of the ports, but this initially went unnoticed due to
the missing sanity check (and error handling) in the retimer driver.

Drop the non-existing retimer from the devicetree to enable the second
USB port and the display subsystem.

Note that this also matches the ACPI tables.

Fixes: 6f18b8d4142c ("arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook X Laptop 14")
Cc: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Tested-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250328084154.16759-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts

index 9562b7e1603ee8e8852f7d9d586453b1a6ff9d9c..10b3af5e79fb6493cd6b6c661de6a801e40092f7 100644 (file)
                                        reg = <1>;
 
                                        pmic_glink_ss1_ss_in: endpoint {
-                                               remote-endpoint = <&retimer_ss1_ss_out>;
-                                       };
-                               };
-
-                               port@2 {
-                                       reg = <2>;
-
-                                       pmic_glink_ss1_con_sbu_in: endpoint {
-                                               remote-endpoint = <&retimer_ss1_con_sbu_out>;
+                                               remote-endpoint = <&usb_1_ss1_qmpphy_out>;
                                        };
                                };
                        };
                regulator-boot-on;
        };
 
-       vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
-               compatible = "regulator-fixed";
-
-               regulator-name = "VREG_RTMR1_1P15";
-               regulator-min-microvolt = <1150000>;
-               regulator-max-microvolt = <1150000>;
-
-               gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-
-               pinctrl-0 = <&usb1_pwr_1p15_reg_en>;
-               pinctrl-names = "default";
-
-               regulator-boot-on;
-       };
-
-       vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
-               compatible = "regulator-fixed";
-
-               regulator-name = "VREG_RTMR1_1P8";
-               regulator-min-microvolt = <1800000>;
-               regulator-max-microvolt = <1800000>;
-
-               gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-
-               pinctrl-0 = <&usb1_pwr_1p8_reg_en>;
-               pinctrl-names = "default";
-
-               regulator-boot-on;
-       };
-
-       vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
-               compatible = "regulator-fixed";
-
-               regulator-name = "VREG_RTMR1_3P3";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-
-               gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-
-               pinctrl-0 = <&usb1_pwr_3p3_reg_en>;
-               pinctrl-names = "default";
-
-               regulator-boot-on;
-       };
-
        vreg_vph_pwr: regulator-vph-pwr {
                compatible = "regulator-fixed";
 
        };
 };
 
-&i2c7 {
-       clock-frequency = <400000>;
-
-       status = "okay";
-
-       typec-mux@8 {
-               compatible = "parade,ps8830";
-               reg = <0x8>;
-
-               clocks = <&rpmhcc RPMH_RF_CLK4>;
-
-               vdd-supply = <&vreg_rtmr1_1p15>;
-               vdd33-supply = <&vreg_rtmr1_3p3>;
-               vdd33-cap-supply = <&vreg_rtmr1_3p3>;
-               vddar-supply = <&vreg_rtmr1_1p15>;
-               vddat-supply = <&vreg_rtmr1_1p15>;
-               vddio-supply = <&vreg_rtmr1_1p8>;
-
-               reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
-
-               pinctrl-0 = <&rtmr1_default>;
-               pinctrl-names = "default";
-
-               orientation-switch;
-               retimer-switch;
-
-               ports {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       port@0 {
-                               reg = <0>;
-
-                               retimer_ss1_ss_out: endpoint {
-                                       remote-endpoint = <&pmic_glink_ss1_ss_in>;
-                               };
-                       };
-
-                       port@1 {
-                               reg = <1>;
-
-                               retimer_ss1_ss_in: endpoint {
-                                       remote-endpoint = <&usb_1_ss1_qmpphy_out>;
-                               };
-                       };
-
-                       port@2 {
-                               reg = <2>;
-
-                               retimer_ss1_con_sbu_out: endpoint {
-                                       remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
-                               };
-                       };
-
-               };
-       };
-};
-
 &i2c8 {
        clock-frequency = <400000>;
 
                };
        };
 
-       rtmr1_default: rtmr1-reset-n-active-state {
-               pins = "gpio176";
-               function = "gpio";
-               drive-strength = <2>;
-               bias-disable;
-       };
-
        tpad_default: tpad-default-state {
                pins = "gpio3";
                function = "gpio";
                };
        };
 
-       usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
-               pins = "gpio188";
-               function = "gpio";
-               drive-strength = <2>;
-               bias-disable;
-       };
-
-       usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state {
-               pins = "gpio175";
-               function = "gpio";
-               drive-strength = <2>;
-               bias-disable;
-       };
-
-       usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state {
-               pins = "gpio186";
-               function = "gpio";
-               drive-strength = <2>;
-               bias-disable;
-       };
-
        wcd_default: wcd-reset-n-active-state {
                pins = "gpio191";
                function = "gpio";
 };
 
 &usb_1_ss1_qmpphy_out {
-       remote-endpoint = <&retimer_ss1_ss_in>;
+       remote-endpoint = <&pmic_glink_ss1_ss_in>;
 };
 
 &usb_mp {