diff mbox

[U-Boot] sunxi: Enable musb in host mode on the Jesurun Q5

Message ID 1438725104-19796-1-git-send-email-hdegoede@redhat.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Hans de Goede Aug. 4, 2015, 9:51 p.m. UTC
The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it
in host-only mode.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 configs/jesurun_q5_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Ian Campbell Aug. 5, 2015, 8:09 a.m. UTC | #1
On Tue, 2015-08-04 at 23:51 +0200, Hans de Goede wrote:
> The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it
> in host-only mode.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[..]
> @@ -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.

> @@ -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:

Acked-by: Ian Campbell <ijc@hellion.org.uk>
Hans de Goede Aug. 5, 2015, 3:07 p.m. UTC | #2
Hi,

On 05-08-15 10:09, Ian Campbell wrote:
> On Tue, 2015-08-04 at 23:51 +0200, Hans de Goede wrote:
>> The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it
>> in host-only mode.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> [..]
>> @@ -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.

>> @@ -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:
>
> Acked-by: Ian Campbell <ijc@hellion.org.uk>

Thanks & Regards,

Hans
diff mbox

Patch

diff --git a/configs/jesurun_q5_defconfig b/configs/jesurun_q5_defconfig
index a2115b6..46c38e5 100644
--- a/configs/jesurun_q5_defconfig
+++ b/configs/jesurun_q5_defconfig
@@ -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"