defconfig: 8910: Enable all required config to make HSUSB functional
Android gadget driver supports multiple USB functions and uses different
interfaces to support the same.
- CONFIG_SMD for USB RMNET function,
- CONFIG_DIAG_CHAR for USB Diag function,
- CONFIG_NET and CONFIG_NETFILTER for USB RNDIS function,
- CONFIG_SOUND, CONFIG_SND and CONFIG_SND_SOC for USB Audio function,
- CONFIG_UNIX, CONFIG_LEGACY_PTYS for netlink socket and to run adbd,
- CONFIG_USB_GADGET and CONFIG_USB_G_ANDROID for USB Android Gadget
driver,
- CONFIG_USB_GADGET_DEBUG_FILES and CONFIG_USB_GADGET_DEBUG_FS for USB
Gadget debug support,
- CONFIG_USB_CI13XXX_MSM for USB Device Controller driver.
Hence enable all above config to get USB enumeration and (DIAG + ADB)
composition with 8910 simulator.
Change-Id: I4dc0519dd32eae6ea2ad282dbecd27fc0d803536
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
diff --git a/arch/arm/configs/msm8910_defconfig b/arch/arm/configs/msm8910_defconfig
index ebcc6f5..a9dadee 100644
--- a/arch/arm/configs/msm8910_defconfig
+++ b/arch/arm/configs/msm8910_defconfig
@@ -35,6 +35,7 @@
CONFIG_CPU_HAS_L2_PMU=y
# CONFIG_MSM_FIQ_SUPPORT is not set
# CONFIG_MSM_PROC_COMM is not set
+CONFIG_MSM_SMD=y
CONFIG_MSM_DIRECT_SCLK_ACCESS=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
@@ -46,6 +47,9 @@
CONFIG_USE_OF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_SUSPEND is not set
+CONFIG_NET=y
+CONFIG_UNIX=y
+CONFIG_NETFILTER=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
# CONFIG_ANDROID_PMEM is not set
@@ -56,15 +60,21 @@
CONFIG_INPUT_UINPUT=y
CONFIG_INPUT_GPIO=m
CONFIG_SERIO_LIBPS2=y
-# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_MSM_HSL=y
CONFIG_SERIAL_MSM_HSL_CONSOLE=y
+CONFIG_DIAG_CHAR=y
CONFIG_HW_RANDOM=y
CONFIG_DEBUG_GPIO=y
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
-# CONFIG_HID_SUPPORT is not set
-# CONFIG_USB_SUPPORT is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_SOC=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DEBUG_FILES=y
+CONFIG_USB_GADGET_DEBUG_FS=y
+CONFIG_USB_CI13XXX_MSM=y
+CONFIG_USB_G_ANDROID=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
# CONFIG_MISC_FILESYSTEMS is not set