From 7193f42d1f5a66c97db3cb0d5a544df78dda2d6e Mon Sep 17 00:00:00 2001 From: Hoegeun Kwon Date: Thu, 27 Oct 2022 19:53:47 +0900 Subject: [PATCH] overlays: Add dwc2-tizen-overlay Add g-extcon-always-on value, Set extcon state for dwc2 cable as always true. Signed-off-by: Dongwoo Lee Signed-off-by: Hoegeun Kwon Signed-off-by: Marek Szyprowski Change-Id: Ibd209a402978343eeb6af3d4597a80d48f53f019 --- arch/arm/boot/dts/overlays/Makefile | 1 + arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile index 6b60068b125c..6ea9611e1a86 100644 --- a/arch/arm/boot/dts/overlays/Makefile +++ b/arch/arm/boot/dts/overlays/Makefile @@ -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 index 000000000000..d2a929fd0d1d --- /dev/null +++ b/arch/arm/boot/dts/overlays/dwc2-tizen-overlay.dts @@ -0,0 +1,14 @@ +/dts-v1/; +/plugin/; + +#include "dwc2-overlay.dts" + +/{ + compatible = "brcm,bcm2835"; + + fragment@0 { + dwc2_usb: __overlay__ { + g-extcon-always-on; + }; + }; +}; -- 2.34.1