From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 06/12] usb: USB_MUSB_SUNXI move to musb-new Kconfig
Date: Wed, 22 Jul 2015 11:17:57 +0200 [thread overview]
Message-ID: <55AF5FC5.7020501@redhat.com> (raw)
In-Reply-To: <1437554735-11728-6-git-send-email-contact@paulk.fr>
Hi,
On 22-07-15 10:45, Paul Kocialkowski wrote:
> Now that the musb-new driver has a Kconfig, we can move Kconfig options to
> enable controllers to it, so that it's easier in e.g. menuconfig.
>
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
> board/sunxi/Kconfig | 9 ---------
> drivers/usb/musb-new/Kconfig | 14 ++++++++++++++
> 2 files changed, 14 insertions(+), 9 deletions(-)
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index 2a1cd3c..9c25d49 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -532,15 +532,6 @@ config VIDEO_LCD_TL059WV5C0
> endchoice
>
>
> -config USB_MUSB_SUNXI
> - bool "Enable sunxi OTG / DRC USB controller in host mode"
> - default n
> - ---help---
> - Say y here to enable support for the sunxi OTG / DRC USB controller
> - used on almost all sunxi boards. Note currently u-boot can only have
> - one usb host controller enabled at a time, so enabling this on boards
> - which also use the ehci host controller will result in build errors.
> -
> config USB_KEYBOARD
> boolean "Enable USB keyboard support"
> default y
> diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig
> index 34a8474..5be072a 100644
> --- a/drivers/usb/musb-new/Kconfig
> +++ b/drivers/usb/musb-new/Kconfig
> @@ -12,3 +12,17 @@ config USB_MUSB_GADGET
> bool "MUSB gadget mode support"
> help
> Enables the MUSB USB dual-role controller in gadget mode.
> +
> +if USB_MUSB_HOST || USB_MUSB_GADGET
> +
> +config USB_MUSB_SUNXI
> + bool "Enable sunxi OTG / DRC USB controller"
> + depends on ARCH_SUNXI
> + default n
> + ---help---
> + Say y here to enable support for the sunxi OTG / DRC USB controller
> + used on almost all sunxi boards. Note currently u-boot can only have
> + one usb host controller enabled at a time, so enabling this on boards
> + which also use the ehci host controller will result in build errors.
> +
> +endif
>
AFAICT this will break MUSB host usage on current sunxi boards, since their
defconfig-s contain CONFIG_USB_MUSB_SUNXI=y but not CONFIG_USB_MUSB_HOST=y
please update all sunxi defconfigs which have CONFIG_USB_MUSB_SUNXI=y to also
set CONFIG_USB_MUSB_HOST=y in this patch to avoid this breakage.
Note all earlier patches in this series look good to me and are:
Acked-by: Hans de Goede <hdegoede@redhat.com>
Regards,
Hans
next prev parent reply other threads:[~2015-07-22 9:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 8:45 [U-Boot] [PATCH 01/12] usb: USB_ARCH_HAS_HCD Kconfig option removal Paul Kocialkowski
2015-07-22 8:45 ` [U-Boot] [PATCH 02/12] usb: Generic USB Kconfig option, that fits both host and gadget Paul Kocialkowski
2015-07-22 14:03 ` Marek Vasut
2015-07-22 8:45 ` [U-Boot] [PATCH 03/12] usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB Paul Kocialkowski
2015-07-22 14:02 ` Marek Vasut
2015-07-22 8:45 ` [U-Boot] [PATCH 04/12] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET Paul Kocialkowski
2015-07-22 14:01 ` Marek Vasut
2015-07-22 8:45 ` [U-Boot] [PATCH 05/12] usb: USB comments in Kconfig for better separation Paul Kocialkowski
2015-07-22 14:01 ` Marek Vasut
2015-07-22 8:45 ` [U-Boot] [PATCH 06/12] usb: USB_MUSB_SUNXI move to musb-new Kconfig Paul Kocialkowski
2015-07-22 9:17 ` Hans de Goede [this message]
2015-07-24 17:14 ` Paul Kocialkowski
2015-07-22 8:45 ` [U-Boot] [PATCH 07/12] usb: USB_KEYBOARD move to usb Kconfig Paul Kocialkowski
2015-07-22 9:22 ` Hans de Goede
2015-07-24 17:18 ` Paul Kocialkowski
2015-07-22 8:45 ` [U-Boot] [PATCH 08/12] sunxi: USB EHCI Kconfig option instead of config define Paul Kocialkowski
2015-07-22 9:31 ` Hans de Goede
2015-07-24 17:19 ` Paul Kocialkowski
2015-07-27 12:31 ` Paul Kocialkowski
2015-07-27 12:56 ` Hans de Goede
2015-07-22 8:45 ` [U-Boot] [PATCH 09/12] sunxi: Kconfig defaults for USB Paul Kocialkowski
2015-07-22 9:37 ` Hans de Goede
2015-07-24 17:21 ` Paul Kocialkowski
2015-07-22 8:45 ` [U-Boot] [PATCH 10/12] sunxi: config update to stick with Kconfig changes Paul Kocialkowski
2015-07-22 9:33 ` Hans de Goede
2015-07-22 8:45 ` [U-Boot] [PATCH 11/12] musb: sunxi: Force EP0 on re-enable Paul Kocialkowski
2015-07-22 9:34 ` Hans de Goede
2015-07-22 8:45 ` [U-Boot] [PATCH 12/12] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support Paul Kocialkowski
2015-07-22 9:34 ` Hans de Goede
2015-07-22 14:03 ` [U-Boot] [PATCH 01/12] usb: USB_ARCH_HAS_HCD Kconfig option removal 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=55AF5FC5.7020501@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.