All of lore.kernel.org
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select ULPI support
Date: Mon, 25 Jun 2018 14:57:25 +0200	[thread overview]
Message-ID: <1529931445.9910.15.camel@pengutronix.de> (raw)
In-Reply-To: <1529930043-6387-2-git-send-email-festevam@gmail.com>

Am Montag, den 25.06.2018, 09:34 -0300 schrieb Fabio Estevam:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> Select CONFIG_USB_CHIPIDEA_ULPI and CONFIG_USB_ULPI_BUS so that
> USB ULPI can be functional on some boards like imx51-babbge.
> 
> This fixes a kernel hang in 4.18-rc1 on i.mx51-babbage when
> the bootloader does not initialize USB.

If the kernel hangs without those options, we might want to have a
check for them in the driver, so it aborts the initialization with a
big warning if the port is using ULPI mode and those options aren't
selected.

Regards,
Lucas

> Suggested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> ?arch/arm/configs/imx_v6_v7_defconfig | 2 ++
> ?1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig
> b/arch/arm/configs/imx_v6_v7_defconfig
> index d14de86..2da678c 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -300,6 +300,7 @@ CONFIG_USB_STORAGE=y
> ?CONFIG_USB_CHIPIDEA=y
> ?CONFIG_USB_CHIPIDEA_UDC=y
> ?CONFIG_USB_CHIPIDEA_HOST=y
> +CONFIG_USB_CHIPIDEA_ULPI=y
> ?CONFIG_USB_SERIAL=m
> ?CONFIG_USB_SERIAL_GENERIC=y
> ?CONFIG_USB_SERIAL_FTDI_SIO=m
> @@ -336,6 +337,7 @@ CONFIG_USB_GADGETFS=m
> ?CONFIG_USB_FUNCTIONFS=m
> ?CONFIG_USB_MASS_STORAGE=m
> ?CONFIG_USB_G_SERIAL=m
> +CONFIG_USB_ULPI_BUS=y
> ?CONFIG_MMC=y
> ?CONFIG_MMC_SDHCI=y
> ?CONFIG_MMC_SDHCI_PLTFM=y

  reply	other threads:[~2018-06-25 12:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 12:34 [PATCH 1/2] ARM: imx_v6_v7_defconfig: Re-sync defconfig Fabio Estevam
2018-06-25 12:34 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select ULPI support Fabio Estevam
2018-06-25 12:57   ` Lucas Stach [this message]
2018-06-25 13:07     ` Fabio Estevam
2018-07-01 13:20   ` Shawn Guo
2018-07-01 13:24     ` Fabio Estevam
2018-07-03  2:02   ` Shawn Guo
2018-07-03  2:07     ` Shawn Guo
2018-07-03 13:10   ` Shawn Guo
2018-07-03 13:12     ` Fabio Estevam

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=1529931445.9910.15.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.