* [PATCH v3] arm64: dts: exynos: add OF graph between USB-PHY and MUIC
[not found] <CGME20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f@eucas1p2.samsung.com>
@ 2018-09-21 13:13 ` Andrzej Hajda
2018-09-21 18:07 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Hajda @ 2018-09-21 13:13 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Andrzej Hajda, Bartlomiej Zolnierkiewicz, Marek Szyprowski,
open list : DESIGNWARE USB3 DRD IP DRIVER,
open list : OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-samsung-soc
OF graph describes USB data lanes between USB-PHY and respective MUIC.
Since graph is present and DWC driver can use it to get extcon, obsolete
extcon property can be removed.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
v3:
- removed #address-cells/#size-cells from ports node.
Hi Krzysztof,
This is next version of the patch I forgot. I have addressed your comments,
I hope correctly :)
Regards
Andrzej
---
.../boot/dts/exynos/exynos5433-tm2-common.dtsi | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index a1e3194b7483..95cbf5f0921d 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -868,6 +868,14 @@
};
};
};
+
+ ports {
+ port {
+ muic_to_usb: endpoint {
+ remote-endpoint = <&usb_to_muic>;
+ };
+ };
+ };
};
regulators {
@@ -1283,12 +1291,17 @@
&usbdrd_dwc3 {
dr_mode = "otg";
- extcon = <&muic>;
};
&usbdrd30_phy {
vbus-supply = <&safeout1_reg>;
status = "okay";
+
+ port {
+ usb_to_muic: endpoint {
+ remote-endpoint = <&muic_to_usb>;
+ };
+ };
};
&xxti {
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread