Skip to contentSkip to conversation

sunxi: Enable musb in host mode on the Jesurun Q5

PATCH New Hans de Goede 2 participants 3 messages Aug 4, 2015 – Aug 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Enable musb in host mode on the Jesurun Q5

The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode.

---
 configs/jesurun_q5_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/jesurun_q5_defconfig +3 -0
index a2115b6..46c38e5 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN4I=y
 CONFIG_DRAM_CLK=312
+CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-jesurun-q5"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
@@ -10,3 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y
+CONFIG_USB0_VBUS_PIN="PB9"
Signature · 1 line
2.4.3
#1 lore raw

PATCH 1/1 sunxi: Enable musb in host mode on the Jesurun Q5

Quoted 4 lines · Hans de Goede

The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode.

[..]

configs/jesurun_q5_defconfig CONFIG_ARM=y · line 5

Quoted 5 lines
configs/jesurun_q5_defconfig +1 -0
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN4I=y
 CONFIG_DRAM_CLK=312
+CONFIG_VIDEO_COMPOSITE=y

Did you intend this to be in one of the composite mode patches I just looked at, or maybe a separate patch in that series? It doesn't seem to belong here anyway.

configs/jesurun_q5_defconfig CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)" · line 15

Quoted 6 lines
configs/jesurun_q5_defconfig +2 -0
@@ -10,3 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y
+CONFIG_USB0_VBUS_PIN="PB9"

With the above commit message this hunk:

#2 lore raw

PATCH 1/1 sunxi: Enable musb in host mode on the Jesurun Q5

Hi,

Quoted 6 lines · Ian Campbell
Quoted 4 lines · Hans de Goede

The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode.

[..]

Quoted 10 lines

configs/jesurun_q5_defconfig CONFIG_ARM=y · line 5

Quoted 5 lines
configs/jesurun_q5_defconfig +1 -0
@@ -2,6 +2,7 @@ CONFIG_ARM=y
  CONFIG_ARCH_SUNXI=y
  CONFIG_MACH_SUN4I=y
  CONFIG_DRAM_CLK=312
+CONFIG_VIDEO_COMPOSITE=y

Did you intend this to be in one of the composite mode patches I just looked at, or maybe a separate patch in that series? It doesn't seem to belong here anyway.

Oops, dropped this from this commit as it indeed does not belong here.

Quoted 10 lines

configs/jesurun_q5_defconfig CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)" · line 15

Quoted 6 lines
configs/jesurun_q5_defconfig +2 -0
@@ -10,3 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
  # CONFIG_CMD_FLASH is not set
  # CONFIG_CMD_FPGA is not set
  CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y
+CONFIG_USB0_VBUS_PIN="PB9"

With the above commit message this hunk:

Thanks & Regards,

Hans