From: Abel Vesa Date: Tue, 22 Apr 2025 11:25:22 +0000 (+0300) Subject: arm64: dts: qcom: x1e001de-devkit: Describe USB retimers resets pin configs X-Git-Tag: v6.16-rc1~97^2~20^2~37 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f76fdcd2550991c854a698a9f881b1579455fc0a;p=linux-block.git arm64: dts: qcom: x1e001de-devkit: Describe USB retimers resets pin configs Currently, on the X Elite Devkit, the pin configuration of the reset gpios for all three PS8830 USB retimers are left configured by the bootloader. Fix that by describing their pin configuration. Fixes: 019e1ee32fec ("arm64: dts: qcom: x1e001de-devkit: Enable external DP support") Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa Reviewed-by: Johan Hovold Link: https://lore.kernel.org/r/20250422-x1e001de-devkit-dts-fix-retimer-gpios-v2-1-0129c4f2b6d7@linaro.org Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts b/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts index 4693e4c9986a..e17e5fd66f7e 100644 --- a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts +++ b/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts @@ -789,6 +789,9 @@ reset-gpios = <&tlmm 185 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&rtmr2_default>; + pinctrl-names = "default"; + orientation-switch; retimer-switch; @@ -843,6 +846,9 @@ reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&rtmr0_default>; + pinctrl-names = "default"; + retimer-switch; orientation-switch; @@ -897,6 +903,9 @@ reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&rtmr1_default>; + pinctrl-names = "default"; + retimer-switch; orientation-switch; @@ -1018,6 +1027,15 @@ }; &pm8550_gpios { + rtmr0_default: rtmr0-reset-n-active-state { + pins = "gpio10"; + function = "normal"; + power-source = <1>; /* 1.8 V */ + bias-disable; + input-disable; + output-enable; + }; + usb0_3p3_reg_en: usb0-3p3-reg-en-state { pins = "gpio11"; function = "normal"; @@ -1205,6 +1223,20 @@ }; }; + rtmr1_default: rtmr1-reset-n-active-state { + pins = "gpio176"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + rtmr2_default: rtmr2-reset-n-active-state { + pins = "gpio185"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + rtmr1_1p15_reg_en: rtmr1-1p15-reg-en-state { pins = "gpio188"; function = "gpio";