All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Behún" <kabel@kernel.org>
To: Chris Packham <judge.packham@gmail.com>
Cc: "Tom Rini" <trini@konsulko.com>, u-boot <u-boot@lists.denx.de>,
	"Marek Vasut" <marex@denx.de>, "Stefan Roese" <sr@denx.de>,
	"Marek Behún" <marek.behun@nic.cz>
Subject: Re: [PATCH 4/4] Convert CONFIG_USB_EHCI_IS_TDI to Kconfig
Date: Wed, 18 May 2022 10:07:22 +0200	[thread overview]
Message-ID: <20220518100722.5bc1a46b@thinkpad> (raw)
In-Reply-To: <CAFOYHZDZAU28NtiHn9Uv801=efT_Hxn=ppK5schGv_2DVMVinw@mail.gmail.com>

On Wed, 18 May 2022 16:44:32 +1200
Chris Packham <judge.packham@gmail.com> wrote:

> Hi Marek,
> 
> On Sun, Oct 10, 2021 at 2:28 AM Marek Behún <kabel@kernel.org> wrote:
> >
> > From: Marek Behún <marek.behun@nic.cz>
> >
> > On mvebu this is defined if and only if !ARM64.
> >  
> 
> I'm working on a 64-bit MVEBU board which I'll hopefully be submitting
> soon (just getting the Linux stuff sorted first). Was there any
> particular reason you added the !ARM64 ? My board appears to need
> CONFIG_USB_EHCI_IS_TDI=y. I can make the condition more complicated if
> necessary but it might just be easier to remove the !ARM64.

It was because only arm32 boards defined it in the config headers when
I was converting. So I converted it so that Kconfig selected that if
!ARM64.

> > Otherwise it is defined for boards with ARCH_MX23, ARCH_TEGRA and
> > ARCH_ZYNQ, and also for SOC_AR934X (tplink_wdr4300).
> >
> > Signed-off-by: Marek Behún <marek.behun@nic.cz>
> > ---  
> 
> <snip>
> 
> > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> > index be5e4b994d..ccecb5a3b0 100644
> > --- a/drivers/usb/host/Kconfig
> > +++ b/drivers/usb/host/Kconfig
> > @@ -139,6 +139,9 @@ config USB_EHCI_HCD
> >
> >  if USB_EHCI_HCD
> >
> > +config USB_EHCI_IS_TDI
> > +       bool
> > +
> >  config USB_EHCI_ATMEL
> >         bool  "Support for Atmel on-chip EHCI USB controller"
> >         depends on ARCH_AT91
> > @@ -150,6 +153,7 @@ config USB_EHCI_MARVELL
> >         bool "Support for Marvell on-chip EHCI USB controller"
> >         depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
> >         default y
> > +       select USB_EHCI_IS_TDI if !ARM64  
> 
> Here I'm thinking about something like if !ARM64 || ALLEYCAT_5

Sure, if you need this, do this. Just make sure it does not get
selected for boards that don't need it.

Marek

  reply	other threads:[~2022-05-18  8:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09 13:27 [PATCH 1/4] Rename CONFIG_EHCI_IS_TDI to CONFIG_USB_EHCI_IS_TDI Marek Behún
2021-10-09 13:27 ` [PATCH 2/4] Convert CONFIG_USB_EHCI_MXS to Kconfig Marek Behún
2021-10-15 18:02   ` Tom Rini
2021-10-09 13:27 ` [PATCH 3/4] Drop CONFIG_USB_EHCI_KIRKWOOD Marek Behún
2021-10-15 18:03   ` Tom Rini
2021-10-09 13:27 ` [PATCH 4/4] Convert CONFIG_USB_EHCI_IS_TDI to Kconfig Marek Behún
2021-10-15 18:03   ` Tom Rini
2022-05-18  4:44   ` Chris Packham
2022-05-18  8:07     ` Marek Behún [this message]
2021-10-15 18:02 ` [PATCH 1/4] Rename CONFIG_EHCI_IS_TDI to CONFIG_USB_EHCI_IS_TDI Tom Rini

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=20220518100722.5bc1a46b@thinkpad \
    --to=kabel@kernel.org \
    --cc=judge.packham@gmail.com \
    --cc=marek.behun@nic.cz \
    --cc=marex@denx.de \
    --cc=sr@denx.de \
    --cc=trini@konsulko.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.