[RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node

Abel Vesa posted 2 patches 3 years, 4 months ago
[RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node
Posted by Abel Vesa 3 years, 4 months ago
Add the PMIC eUSB2 repeater node and add the usb-repeater
property to the eUSB2 PHY to allow it to be controlled by the
PHY driver.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
index 757cf4f7f195..539d75c0566f 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
@@ -414,6 +414,11 @@ data-pins {
 	};
 };
 
+&pm8550b_eusb2_repeater {
+	vdd18-supply = <&vreg_l15b_1p8>;
+	vdd3-supply = <&vreg_l5b_3p1>;
+};
+
 &uart7 {
 	status = "okay";
 };
@@ -429,6 +434,8 @@ &usb_1_dwc3 {
 &usb_1_hsphy {
 	status = "okay";
 
+	usb-repeater = <&pm8550b_eusb2_repeater>;
+
 	vdd-supply = <&vreg_l1e_0p88>;
 	vdda12-supply = <&vreg_l3e_1p2>;
 };
-- 
2.34.1
Re: [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node
Posted by Konrad Dybcio 3 years, 4 months ago

On 16/11/2022 14:27, Abel Vesa wrote:
> Add the PMIC eUSB2 repeater node and add the usb-repeater
> property to the eUSB2 PHY to allow it to be controlled by the
> PHY driver.
> 
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>   arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
> index 757cf4f7f195..539d75c0566f 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
> @@ -414,6 +414,11 @@ data-pins {
>   	};
>   };
>   
> +&pm8550b_eusb2_repeater {
Sorting is off.

Konrad
> +	vdd18-supply = <&vreg_l15b_1p8>;
> +	vdd3-supply = <&vreg_l5b_3p1>;
> +};
> +
>   &uart7 {
>   	status = "okay";
>   };
> @@ -429,6 +434,8 @@ &usb_1_dwc3 {
>   &usb_1_hsphy {
>   	status = "okay";
>   
> +	usb-repeater = <&pm8550b_eusb2_repeater>;
> +
>   	vdd-supply = <&vreg_l1e_0p88>;
>   	vdda12-supply = <&vreg_l3e_1p2>;
>   };