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 v5 15/15] sunxi: ohci: Add ohci usb host controller support
Date: Wed, 13 May 2015 14:40:29 +0200	[thread overview]
Message-ID: <5553463D.4090904@redhat.com> (raw)
In-Reply-To: <CAPnjgZ3svoA+0qCaDAxuGN-ZVAy=9Oz1Ktfbh8pV2LNnOQBG5w@mail.gmail.com>

Hi,

On 13-05-15 00:39, Simon Glass wrote:
> Hi Hans,
>
> On 12 May 2015 at 01:23, Hans de Goede <hdegoede@redhat.com> wrote:
>>
>> Hi Simon,
>>
>>
>> On 12-05-15 00:37, Simon Glass wrote:
>>>
>>> On 10 May 2015 at 06:10, Hans de Goede <hdegoede@redhat.com> wrote:
>>>>
>>>> This commit adds support for the OHCI companion controller, which makes
>>>> usb-1 devices directly plugged into to usb root port work.
>>>>
>>>> Note for now this switches usb-keyboard support for sunxi back from int-queue
>>>> support to the old interrupt polling method. Adding int-queue support to the
>>>> ohci code and switching back to int-queue support is in the works.
>>>>
>>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>>> Acked-by: Marek Vasut <marex@denx.de>
>>>> Acked-by: Ian Campbell <ijc@hellion.org.uk>
>>>> ---
>>>>    arch/arm/include/asm/arch-sunxi/clock_sun4i.h |   2 +
>>>>    arch/arm/include/asm/arch-sunxi/clock_sun6i.h |   2 +
>>>>    drivers/usb/host/Makefile                     |   1 +
>>>>    drivers/usb/host/ohci-sunxi.c                 | 104 ++++++++++++++++++++++++++
>>>>    include/configs/sunxi-common.h                |   5 +-
>>>>    5 files changed, 113 insertions(+), 1 deletion(-)
>>>>    create mode 100644 drivers/usb/host/ohci-sunxi.c
>>>
>>>
>>> Applied to u-boot-dm, thanks!
>>
>>
>> Thanks for merging this series!
>>
>> Can you pick up these patches from yesterday too ? They have already
>> been reviewed and acked by Marek, and they sit on to of
>> this series :
>>
>> http://patchwork.ozlabs.org/patch/471001/
>> http://patchwork.ozlabs.org/patch/471004/
>> http://patchwork.ozlabs.org/patch/471003/
>> http://patchwork.ozlabs.org/patch/471005/
>>
>> Note the last one has queue misspelled (twice) in the commit
>> msg you may want to amend that.
>
> I get a build error with M5485BFE. I stopped the build after that so
> there may be others.
>
> 21: sunxi: Change usb-kbd interrupt polling to use an usb interrupt queue
>        m68k:  +   M5485BFE
> -make[2]: *** [drivers/usb/musb-new/musb_host.o] Interrupt
> -make[1]: *** [drivers/usb/musb-new] Interrupt
> -make: *** wait: No child processes.  Stop.
> -make[2]: *** Deleting file `drivers/mmc/mmc.o'
> -make[2]: *** [drivers/mmc/mmc.o] Interrupt
> -make[1]: *** [drivers/mmc] Interrupt
> +../drivers/usb/host/ohci-hcd.c:1637:46: error: 'struct usb_device'
> has no member named 'dev'
> +../drivers/usb/host/ohci-hcd.c: In function '_ohci_poll_int_queue':
> +../drivers/usb/host/ohci-hcd.c:1683:46: error: 'struct usb_device'
> has no member named 'dev'
> +make[2]: *** [drivers/usb/host/ohci-hcd.o] Error 1
> +make[1]: *** [drivers/usb/host] Error 2
> +make: *** [sub-make] Error 2
> w+../drivers/usb/host/ohci-hcd.c: In function '_ohci_create_int_queue':
> w+../drivers/usb/host/ohci-hcd.c:1637:2: warning: implicit declaration
> of function 'usb_get_bus' [-Wimplicit-function-declaration]
>
> Actually, it found these also:
>
>         arm:  +   pm9g45 at91sam9g20ek_2mmc_nandflash
>        m68k:  +   M5485BFE
>     powerpc:  +   PLU405 MPC8641HPCN_36BIT digsy_mtc_rev5 PMC440 yosemite
>
> Am I missing a patch perhaps?

No, this is my bad, I did not test building with any configs which have
CONFIG_DM_USB=n

A v2 of this set with this fixed is coming up.

Regards,

Hans

  reply	other threads:[~2015-05-13 12:40 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-10 12:10 [U-Boot] [PATCH v5 00/15] usb: ohci dm support & add sunxi ehci + ohci support Hans de Goede
2015-05-10 12:10 ` [U-Boot] [PATCH v5 01/15] usb: Fix handover of full-speed devices from ehci to companion Hans de Goede
2015-05-10 16:12   ` Marek Vasut
2015-05-11 22:36     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 02/15] usb: usb_control_msg() propagate controller error code Hans de Goede
2015-05-10 16:13   ` Marek Vasut
2015-05-11 22:36     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 03/15] usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errors Hans de Goede
2015-05-10 16:13   ` Marek Vasut
2015-05-11 22:36     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 04/15] usb: Stop reset procedure when a dev is handed over to a companion hcd Hans de Goede
2015-05-10 16:13   ` Marek Vasut
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 05/15] dm: usb: Prefix ehci interrupt-queue functions with _ehci_ Hans de Goede
2015-05-10 21:58   ` Simon Glass
2015-05-11 18:27     ` Hans de Goede
2015-05-10 12:10 ` [U-Boot] [PATCH v5 06/15] dm: usb: Add support for interrupt queues to the dm usb code Hans de Goede
2015-05-11 22:37   ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 07/15] dm: usb: Move printing of usb scan status to usb_scan_bus() Hans de Goede
2015-05-11 22:37   ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 08/15] dm: usb: Add support for companion controllers Hans de Goede
2015-05-11 22:33   ` Simon Glass
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 09/15] dm: usb: Do not scan companion buses if no devices where handed over Hans de Goede
2015-05-11 22:33   ` Simon Glass
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 10/15] usb: ohci: Do not resubmit and leak urbs for interrupt packets Hans de Goede
2015-05-11 22:37   ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 11/15] usb: ohci: Remove unnecessary delays from hc_start and power power-on paths Hans de Goede
2015-05-10 16:11   ` Marek Vasut
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 12/15] usb: ohci: Skip unnecessary mdelay(1) calls in various places Hans de Goede
2015-05-10 16:12   ` Marek Vasut
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 13/15] usb: ohci: Add dm support Hans de Goede
2015-05-11 22:37   ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 14/15] sunxi: ehci: Convert to the driver-model Hans de Goede
2015-05-10 12:22   ` Ian Campbell
2015-05-11 22:37     ` Simon Glass
2015-05-10 12:10 ` [U-Boot] [PATCH v5 15/15] sunxi: ohci: Add ohci usb host controller support Hans de Goede
2015-05-11 22:37   ` Simon Glass
2015-05-12  7:23     ` Hans de Goede
2015-05-12 22:39       ` Simon Glass
2015-05-13 12:40         ` Hans de Goede [this message]
2015-05-13 19:55           ` Simon Glass

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=5553463D.4090904@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