overlays: Add dwc2-tizen-overlay
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 27 Oct 2022 10:53:47 +0000 (19:53 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 12 Nov 2024 04:03:14 +0000 (13:03 +0900)
Add g-extcon-always-on value,
Set extcon state for dwc2 cable as always true.

Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ibd209a402978343eeb6af3d4597a80d48f53f019

arch/arm/boot/dts/overlays/Makefile
arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts [new file with mode: 0644]

index 6b60068b125c1506736fe3cb37a90352e3b6de6b..6ea9611e1a86f3c90638466c67ae732cea9a9d51 100644 (file)
@@ -60,6 +60,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
        draws.dtbo \
        dwc-otg.dtbo \
        dwc2.dtbo \
+       dwc2-tizen.dtbo \
        edt-ft5406.dtbo \
        enc28j60.dtbo \
        enc28j60-spi2.dtbo \
diff --git a/arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts b/arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts
new file mode 100644 (file)
index 0000000..d2a929f
--- /dev/null
@@ -0,0 +1,14 @@
+/dts-v1/;
+/plugin/;
+
+#include "dwc2-overlay.dts"
+
+/{
+       compatible = "brcm,bcm2835";
+
+       fragment@0 {
+               dwc2_usb: __overlay__ {
+                       g-extcon-always-on;
+               };
+       };
+};