From: Hoegeun Kwon Date: Thu, 27 Oct 2022 10:55:48 +0000 (+0900) Subject: rpi4: boot: config: Add dwc2-tizen driver config X-Git-Tag: accepted/tizen/unified/20230118.172025~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5084e1ea3b3d57ee895c89734d4363cae1193bbd;p=platform%2Fkernel%2Flinux-rpi.git rpi4: boot: config: Add dwc2-tizen driver config Add dwc2-tizen driver config for using dwc2-tizen dts by overlays dtb. Alwo, If dwc2 mode is set to otg, forcing dwc2 mode as peripheral is proceeded in the early boot time, but since tizen configures the gadget with configfs after system is prepared. It causes enumeration problem. To prevent it, default mode will be fixed as peripheral. Actully, since type-c usb port is only used as power-source and peripheral port, it is more precise setting though. Change-Id: I53266309475c397db14f212d81ee64ec1d933a45 Signed-off-by: Dongwoo Lee Signed-off-by: Hoegeun Kwon --- diff --git a/rpi4/boot/config.txt b/rpi4/boot/config.txt index bfca726..fd8bb13 100644 --- a/rpi4/boot/config.txt +++ b/rpi4/boot/config.txt @@ -63,6 +63,9 @@ max_framebuffers=2 # Disable ID_SC and ID_SD pins to use UART2 force_eeprom_read=0 +# Enable dwc2 driver +dtoverlay=dwc2-tizen,dr_mode=peripheral + kernel=u-boot.bin [all] diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index 86225a9..5be1b88 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -63,6 +63,9 @@ max_framebuffers=2 # Disable ID_SC and ID_SD pins to use UART2 force_eeprom_read=0 +# Enable dwc2 driver +dtoverlay=dwc2-tizen,dr_mode=peripheral + kernel=u-boot.bin [all]