diff mbox

[U-Boot] MSI_Primo81_defconfig: enable USB OTG port and keyboard support

Message ID 1434276522-11198-1-git-send-email-merker@debian.org
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Karsten Merker June 14, 2015, 10:08 a.m. UTC
The MSI Primo 81 is an Allwinner A31s-based tablet on which the
OTG port is the only accessible USB interface.  The existing
defconfig had VGA console on the LCD enabled, but was missing
keyboard support because the prerequisites for that (sunxi MUSB
support and AXP221 GPIO support) had not been available before.
All previously missing dependencies are available now, so this
patch enables keyboard support and its prerequisites in the
defconfig.

Signed-off-by: Karsten Merker <merker@debian.org>
---
 configs/MSI_Primo81_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Hans de Goede June 17, 2015, 1:27 p.m. UTC | #1
Hi,

On 14-06-15 12:08, Karsten Merker wrote:
> The MSI Primo 81 is an Allwinner A31s-based tablet on which the
> OTG port is the only accessible USB interface.  The existing
> defconfig had VGA console on the LCD enabled, but was missing
> keyboard support because the prerequisites for that (sunxi MUSB
> support and AXP221 GPIO support) had not been available before.
> All previously missing dependencies are available now, so this
> patch enables keyboard support and its prerequisites in the
> defconfig.
>
> Signed-off-by: Karsten Merker <merker@debian.org>

Thanks I've added this to my local tree, I will likely send out
a pull-req for v2015.07 with a few fixes including this one soon.

Regards,

Hans

> ---
>   configs/MSI_Primo81_defconfig | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig
> index 83a95cb..8ae8c71 100644
> --- a/configs/MSI_Primo81_defconfig
> +++ b/configs/MSI_Primo81_defconfig
> @@ -17,3 +17,9 @@ CONFIG_VIDEO_LCD_SPI_CS="PH9"
>   CONFIG_VIDEO_LCD_SPI_SCLK="PH10"
>   CONFIG_VIDEO_LCD_SPI_MOSI="PH11"
>   CONFIG_VIDEO_LCD_SPI_MISO="PH12"
> +CONFIG_AXP_GPIO=y
> +CONFIG_DM_GPIO=y
> +CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
> +CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
> +CONFIG_USB_MUSB_SUNXI=y
> +CONFIG_USB_KEYBOARD=y
>
diff mbox

Patch

diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig
index 83a95cb..8ae8c71 100644
--- a/configs/MSI_Primo81_defconfig
+++ b/configs/MSI_Primo81_defconfig
@@ -17,3 +17,9 @@  CONFIG_VIDEO_LCD_SPI_CS="PH9"
 CONFIG_VIDEO_LCD_SPI_SCLK="PH10"
 CONFIG_VIDEO_LCD_SPI_MOSI="PH11"
 CONFIG_VIDEO_LCD_SPI_MISO="PH12"
+CONFIG_AXP_GPIO=y
+CONFIG_DM_GPIO=y
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB_MUSB_SUNXI=y
+CONFIG_USB_KEYBOARD=y