From 2a743e3ece0b01454229a442778ea8904696e212 Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Sat, 6 Feb 2016 23:53:44 +0800 Subject: [PATCH 1/6] ARM: sunxi_defconfig: Enable sunxi IR driver A consumer IR receiver is commonly found on Allwinner SoC based development boards and set top boxes. The driver has been available for some time. Enable it by default. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index a9a81a714be4..7d2e7bf81a47 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -92,6 +92,10 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_AXP20X=y CONFIG_REGULATOR_GPIO=y +CONFIG_MEDIA_SUPPORT=y +CONFIG_MEDIA_RC_SUPPORT=y +CONFIG_RC_DEVICES=y +CONFIG_IR_SUNXI=y CONFIG_FB=y CONFIG_FB_SIMPLE=y CONFIG_FRAMEBUFFER_CONSOLE=y From d027595be1fd4115e5e6ce4a0ec5f0fd2a82901f Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Sat, 6 Feb 2016 23:53:45 +0800 Subject: [PATCH 2/6] ARM: sunxi_defconfig: Enable A10 audio codec driver The A10 audio codec driver supports the on-chip audio codec found on Allwinner A10, A10s, A13, A20 SoCs. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 7d2e7bf81a47..efa12c88fe1c 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -100,6 +100,10 @@ CONFIG_FB=y CONFIG_FB_SIMPLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_SOC=y +CONFIG_SND_SUN4I_CODEC=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_PLATFORM=y From 401d32a995d1f374ade9d517f16458c82a6bc6fd Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Sat, 6 Feb 2016 23:53:47 +0800 Subject: [PATCH 3/6] ARM: sunxi_defconfig: Enable INPUT_EVDEV so axp20x-pek can be used sunxi_defconfig already enables INPUT_AXP20X_PEK, but the device is not exposed to userspace. Enable INPUT_EVDEV so it is. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index efa12c88fe1c..a55c48e27309 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -58,6 +58,7 @@ CONFIG_STMMAC_ETH=y # CONFIG_NET_VENDOR_WIZNET is not set # CONFIG_WLAN is not set # CONFIG_INPUT_MOUSEDEV is not set +CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_SUN4I_LRADC=y # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_TOUCHSCREEN=y From 44c23163140964a607c4eb19fc8a85ffa34fa05b Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Sat, 6 Feb 2016 23:53:49 +0800 Subject: [PATCH 4/6] ARM: multi_v7_defconfig: Enable MUSB HDRC driver with Allwinner glue Allwinner SoCs typically have a Mentor Graphics Inventra MUSB high speed dual role controller for USB OTG. Now that the issue with MUSB and USB gadget registration order has been resolved, we can enable this driver in dual role mode. This patch only enables the driver core and Allwinner platform support. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 314f6be2dca2..442025629ee9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -591,6 +591,8 @@ CONFIG_USB_OHCI_EXYNOS=m CONFIG_USB_R8A66597_HCD=m CONFIG_USB_RENESAS_USBHS=m CONFIG_USB_STORAGE=y +CONFIG_USB_MUSB_HDRC=m +CONFIG_USB_MUSB_SUNXI=m CONFIG_USB_DWC3=y CONFIG_USB_DWC2=m CONFIG_USB_CHIPIDEA=y From 0813ce0a49113d2b7ce2275a99396d6444090343 Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Sat, 6 Feb 2016 23:53:48 +0800 Subject: [PATCH 5/6] ARM: multi_v7_defconfig: Enable A10 audio codec driver as module The A10 audio codec driver supports the on-chip audio codec found on Allwinner A10, A10s, A13, A20 SoCs. Build it as a module, since it is not critical. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 442025629ee9..b500f18d0c35 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -559,6 +559,7 @@ CONFIG_SND_SOC_ROCKCHIP_RT5645=m CONFIG_SND_SOC_SH4_FSI=m CONFIG_SND_SOC_RCAR=m CONFIG_SND_SOC_RSRC_CARD=m +CONFIG_SND_SUN4I_CODEC=m CONFIG_SND_SOC_SAMSUNG=m CONFIG_SND_SOC_SNOW=m CONFIG_SND_SOC_ODROIDX2=m From 3d0ddadbe6dde5639f565e3456ae112679e288af Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Tue, 9 Feb 2016 23:31:27 +0800 Subject: [PATCH 6/6] ARM: sunxi_defconfig: Enable MUSB HDRC driver with Allwinner glue Allwinner SoCs typically have a Mentor Graphics Inventra MUSB dual role controller for USB OTG. Now that the issue with MUSB and USB gadget registration order has been resolved, we can enable this driver in dual role mode. This requires the NOP USB transceiver driver, which is also enabled. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index a55c48e27309..81a1b92fd4e6 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -110,6 +110,10 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_MUSB_HDRC=y +CONFIG_USB_MUSB_SUNXI=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_GADGET=y CONFIG_MMC=y CONFIG_MMC_SUNXI=y CONFIG_NEW_LEDS=y