mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] arm64: dts: qcom: sm8550: Add eUSB2 repeater
@ 2022-11-16 13:27 Abel Vesa
  2022-11-16 13:27 ` [RFC PATCH 1/2] arm64: dts: qcom: pm8550b: Add eUSB2 repeater node Abel Vesa
  2022-11-16 13:27 ` [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: " Abel Vesa
  0 siblings, 2 replies; 4+ messages in thread
From: Abel Vesa @ 2022-11-16 13:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: Linux Kernel Mailing List, devicetree, linux-arm-msm

This patchset adds the PMIC eUSB2 repeater and references it via
usb-repeater property in the MTP's eUSB2 PHY.

This patchset depends following patchsets:
[1] https://lore.kernel.org/all/20221116103146.2556846-1-abel.vesa@linaro.org/
[2] https://lore.kernel.org/all/20221116114526.2679041-1-abel.vesa@linaro.org/
[3] https://lore.kernel.org/all/20221116123019.2753230-1-abel.vesa@linaro.org/
[4] https://lore.kernel.org/all/20221116132212.2842655-1-abel.vesa@linaro.org/

Abel Vesa (1):
  arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node

Neil Armstrong (1):
  arm64: dts: qcom: pm8550b: Add eUSB2 repeater node

 arch/arm64/boot/dts/qcom/pm8550b.dtsi   | 5 +++++
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 7 +++++++
 2 files changed, 12 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH 1/2] arm64: dts: qcom: pm8550b: Add eUSB2 repeater node
  2022-11-16 13:27 [RFC PATCH 0/2] arm64: dts: qcom: sm8550: Add eUSB2 repeater Abel Vesa
@ 2022-11-16 13:27 ` Abel Vesa
  2022-11-16 13:27 ` [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: " Abel Vesa
  1 sibling, 0 replies; 4+ messages in thread
From: Abel Vesa @ 2022-11-16 13:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: Linux Kernel Mailing List, devicetree, linux-arm-msm, Neil Armstrong

From: Neil Armstrong <neil.armstrong@linaro.org>

Add nodes for the eUSB2 repeater found on the pm8550b SPMI PMIC.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/pm8550b.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8550b.dtsi b/arch/arm64/boot/dts/qcom/pm8550b.dtsi
index 16bcfb64d735..a15fab7c238b 100644
--- a/arch/arm64/boot/dts/qcom/pm8550b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8550b.dtsi
@@ -55,5 +55,10 @@ pm8550b_gpios: gpio@8800 {
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
+
+		pm8550b_eusb2_repeater: usb-repeater@fd00 {
+			compatible = "qcom,pm8550b-eusb2-repeater";
+			reg = <0xfd00>;
+		};
 	};
 };
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node
  2022-11-16 13:27 [RFC PATCH 0/2] arm64: dts: qcom: sm8550: Add eUSB2 repeater Abel Vesa
  2022-11-16 13:27 ` [RFC PATCH 1/2] arm64: dts: qcom: pm8550b: Add eUSB2 repeater node Abel Vesa
@ 2022-11-16 13:27 ` Abel Vesa
  2022-11-16 13:28   ` Konrad Dybcio
  1 sibling, 1 reply; 4+ messages in thread
From: Abel Vesa @ 2022-11-16 13:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: Linux Kernel Mailing List, devicetree, linux-arm-msm

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: Add eUSB2 repeater node
  2022-11-16 13:27 ` [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: " Abel Vesa
@ 2022-11-16 13:28   ` Konrad Dybcio
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2022-11-16 13:28 UTC (permalink / raw)
  To: Abel Vesa, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: Linux Kernel Mailing List, devicetree, linux-arm-msm



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>;
>   };

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-16 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 13:27 [RFC PATCH 0/2] arm64: dts: qcom: sm8550: Add eUSB2 repeater Abel Vesa
2022-11-16 13:27 ` [RFC PATCH 1/2] arm64: dts: qcom: pm8550b: Add eUSB2 repeater node Abel Vesa
2022-11-16 13:27 ` [RFC PATCH 2/2] arm64: dts: qcom: sm8550-mtp: " Abel Vesa
2022-11-16 13:28   ` Konrad Dybcio

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®