diff mbox series

[11/16] configs: Enable USB Gadget on rock-pi-n8

Message ID 20200720185120.671064-12-jagan@amarulasolutions.com (mailing list archive)
State New, archived
Headers show
Series board: Add new features for ROCKPi N8/N10 | expand

Commit Message

Jagan Teki July 20, 2020, 6:51 p.m. UTC
From: Suniel Mahesh <sunil@amarulasolutions.com>

Enable fastboot and USB gadget related config options for
rock-pi-n8 target which hosts RK3288-VMARC-SOM .

Note: Connect the Host USB cable (Type A) to rock-pi-n8
USB 3.0 port on carrier board for fastboot.

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 configs/rock-pi-n8-rk3288_defconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig
index 4cbb07d870..aafa2cac2a 100644
--- a/configs/rock-pi-n8-rk3288_defconfig
+++ b/configs/rock-pi-n8-rk3288_defconfig
@@ -11,6 +11,7 @@  CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEBUG_UART_BASE=0xff690000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
+# CONFIG_ANDROID_BOOT_IMAGE is not set
 CONFIG_USE_PREBOOT=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb"
@@ -71,4 +72,6 @@  CONFIG_USB_DWC2=y
 CONFIG_ROCKCHIP_USB2_PHY=y
 CONFIG_USB_KEYBOARD=y
 # CONFIG_USB_KEYBOARD_FN_KEYS is not set
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_ERRNO_STR=y