]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: exynos: Add OF graph between USB-PHY and MUIC
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 21 Sep 2018 13:13:55 +0000 (15:13 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Fri, 21 Sep 2018 18:06:02 +0000 (20:06 +0200)
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>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi

index a1e3194b74837721b3f6c641f43b67163b60364c..95cbf5f0921dc4d85cde5d30a5b75aa632635390 100644 (file)
@@ -868,6 +868,14 @@ musb_con_to_mhl: endpoint {
                                        };
                                };
                        };
+
+                       ports {
+                               port {
+                                       muic_to_usb: endpoint {
+                                               remote-endpoint = <&usb_to_muic>;
+                                       };
+                               };
+                       };
                };
 
                regulators {
@@ -1283,12 +1291,17 @@ &usbdrd30 {
 
 &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 {