public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support
Date: Wed, 14 Jan 2015 08:48:15 +0100	[thread overview]
Message-ID: <54B61F3F.7010109@redhat.com> (raw)
In-Reply-To: <1421179161.11796.163.camel@hellion.org.uk>

Hi,

On 13-01-15 20:59, Ian Campbell wrote:
> On Sun, 2015-01-11 at 20:34 +0100, Hans de Goede wrote:
>> Hookup OTG USB controller support and enable the otg controller + USB-keyb
>> on various tablets.
>>
>> This allows tablet owners to interact with u-boot without needing to solder
>> a serial console onto their tablet PCB.
>
> Looks good, except I can't for the life of me find where
> CONFIG_MUSB_GADGET is ever set for a sunxi platform.
>
> I suspect it's just there in preparation for some future gadget mode
> work (what we care about here is host mode), is that right?

Right, in theory we have everything in place for gadget mode when this
patch-set lands and all someone needs to do is add a Kconfig option
for it. Note I do not plan to work on that ATM, only so much hours
in a day, etc. but I do invite others who are interested in this
to take a look at the gadget stuff and patches are welcome :)

>
> If so: Acked-by: Ian Campbell <ijc@hellion.org.uk>
>
>> +#if defined(CONFIG_MUSB_HOST) || defined(CONFIG_MUSB_GADGET)
>
> Not just #ifdef CONFIG_USB_MUSB_SUNXI? (Ack either way)

This is the construct the other MUSB users use in their board code,
but yes either would work.

Regards,

Hans

  reply	other threads:[~2015-01-14  7:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 19:34 [U-Boot] [PATCH 00/17] sunxi: musb otg controller support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 01/17] sunxi: axp221: Protect axp221_init against multiple calls Hans de Goede
2015-01-13 18:49   ` Ian Campbell
2015-01-14  8:21     ` Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 02/17] sunxi: axp221: Add support for controlling the drivebus pin Hans de Goede
2015-01-13 18:52   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 03/17] sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg Hans de Goede
2015-01-13 18:55   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 04/17] sunxi: usbc: Add support for usb0 to the common usbc code Hans de Goede
2015-01-13 18:57   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 05/17] sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin Hans de Goede
2015-01-13 18:58   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 06/17] usb: Fix usb_kbd_deregister when console-muxing is used Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 07/17] usb: Add an interval parameter to create_int_queue Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 08/17] usb: Do not log an error when no devices is plugged into a root-hub-less hcd Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 09/17] musb-new: Add register defines for different reg layout on sunxi Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 10/17] musb-new: Add sunxi musb controller support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 11/17] musb-new: Use time based timeouts rather then cpu-cycles based timeouts Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 12/17] musb-new: Fix interrupt transfers not working Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 13/17] musb-new: Fix reset sequence when in host mode Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 14/17] musb-new: Properly remove a transfer from the schedule on timeout Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 15/17] musb-new: Add urb and hep parameters to construct_urb Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 16/17] musb-new: Add interrupt queue support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support Hans de Goede
2015-01-13 19:59   ` Ian Campbell
2015-01-14  7:48     ` Hans de Goede [this message]
2015-01-31  2:54   ` Siarhei Siamashka
2015-02-09  3:54     ` Siarhei Siamashka
2015-02-09 22:10       ` Michal Suchanek
2015-02-10  8:24         ` Hans de Goede
2015-01-12  2:59 ` [U-Boot] [PATCH 00/17] sunxi: musb otg " Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B61F3F.7010109@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox