Skip to contentSkip to conversation

MSI_Primo81_defconfig: enable USB OTG port and keyboard support

PATCH New Karsten Merker 2 participants 2 messages Jun 14, 2015 – Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MSI_Primo81_defconfig: enable USB OTG port and keyboard support

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.

---
 configs/MSI_Primo81_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)
configs/MSI_Primo81_defconfig +6 -0
index 83a95cb..8ae8c71 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 MSI_Primo81_defconfig: enable USB OTG port and keyboard support

Hi,

Quoted 10 lines · Karsten Merker

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.

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

Quoted 19 lines
---
  configs/MSI_Primo81_defconfig | 6 ++++++
  1 file changed, 6 insertions(+)
configs/MSI_Primo81_defconfig +6 -0
index 83a95cb..8ae8c71 100644
@@ -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