* Re: [PATCH] phy: tegra: fix USB dependencies
@ 2020-04-09 13:24 ` Thierry Reding
0 siblings, 0 replies; 8+ messages in thread
From: Thierry Reding @ 2020-04-09 13:24 UTC (permalink / raw)
To: Arnd Bergmann, Greg Kroah-Hartman
Cc: Kishon Vijay Abraham I, Jonathan Hunter, Corentin Labbe,
Nagarjuna Kristam, Thierry Reding, Vidya Sagar, linux-kernel,
linux-tegra
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]
On Wed, Apr 08, 2020 at 10:08:14PM +0200, Arnd Bergmann wrote:
> Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
> missing dependencies:
>
> WARNING: unmet direct dependencies detected for USB_PHY
> Depends on [n]: USB_SUPPORT [=n]
> Selected by [m]:
> - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
>
> WARNING: unmet direct dependencies detected for USB_CONN_GPIO
> Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
> Selected by [m]:
> - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
>
> Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
> Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/phy/tegra/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I sent a similar patch a couple of days ago:
http://patchwork.ozlabs.org/patch/1263865/
This should be applied by Greg on top of the PR that I sent for USB. I
did get the semi-automated "we're in the merge window" reply from Greg,
but I was under the impression that he still applied fixes during the
merge window. It seems like he didn't pick this up yet, though.
Greg, anything I should've done differently for you to notice this?
Thierry
> diff --git a/drivers/phy/tegra/Kconfig b/drivers/phy/tegra/Kconfig
> index a208aca4ba7b..4f8c61863411 100644
> --- a/drivers/phy/tegra/Kconfig
> +++ b/drivers/phy/tegra/Kconfig
> @@ -1,7 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config PHY_TEGRA_XUSB
> tristate "NVIDIA Tegra XUSB pad controller driver"
> - depends on ARCH_TEGRA
> + depends on ARCH_TEGRA && USB_SUPPORT
> select USB_CONN_GPIO
> select USB_PHY
> help
> --
> 2.26.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH] phy: tegra: fix USB dependencies
2020-04-09 13:24 ` Thierry Reding
@ 2020-04-09 13:47 ` Greg Kroah-Hartman
-1 siblings, 0 replies; 8+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-09 13:47 UTC (permalink / raw)
To: Thierry Reding
Cc: Arnd Bergmann, Kishon Vijay Abraham I, Jonathan Hunter,
Corentin Labbe, Nagarjuna Kristam, Thierry Reding, Vidya Sagar,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
On Thu, Apr 09, 2020 at 03:24:35PM +0200, Thierry Reding wrote:
> On Wed, Apr 08, 2020 at 10:08:14PM +0200, Arnd Bergmann wrote:
> > Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
> > missing dependencies:
> >
> > WARNING: unmet direct dependencies detected for USB_PHY
> > Depends on [n]: USB_SUPPORT [=n]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > WARNING: unmet direct dependencies detected for USB_CONN_GPIO
> > Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
> > Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
> > Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
> > ---
> > drivers/phy/tegra/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I sent a similar patch a couple of days ago:
>
> http://patchwork.ozlabs.org/patch/1263865/
>
> This should be applied by Greg on top of the PR that I sent for USB. I
> did get the semi-automated "we're in the merge window" reply from Greg,
> but I was under the impression that he still applied fixes during the
> merge window. It seems like he didn't pick this up yet, though.
>
> Greg, anything I should've done differently for you to notice this?
I try not to apply anything during the merge window...
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH] phy: tegra: fix USB dependencies
@ 2020-04-09 13:47 ` Greg Kroah-Hartman
0 siblings, 0 replies; 8+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-09 13:47 UTC (permalink / raw)
To: Thierry Reding
Cc: Arnd Bergmann, Kishon Vijay Abraham I, Jonathan Hunter,
Corentin Labbe, Nagarjuna Kristam, Thierry Reding, Vidya Sagar,
linux-kernel, linux-tegra
On Thu, Apr 09, 2020 at 03:24:35PM +0200, Thierry Reding wrote:
> On Wed, Apr 08, 2020 at 10:08:14PM +0200, Arnd Bergmann wrote:
> > Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
> > missing dependencies:
> >
> > WARNING: unmet direct dependencies detected for USB_PHY
> > Depends on [n]: USB_SUPPORT [=n]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > WARNING: unmet direct dependencies detected for USB_CONN_GPIO
> > Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
> > Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > drivers/phy/tegra/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I sent a similar patch a couple of days ago:
>
> http://patchwork.ozlabs.org/patch/1263865/
>
> This should be applied by Greg on top of the PR that I sent for USB. I
> did get the semi-automated "we're in the merge window" reply from Greg,
> but I was under the impression that he still applied fixes during the
> merge window. It seems like he didn't pick this up yet, though.
>
> Greg, anything I should've done differently for you to notice this?
I try not to apply anything during the merge window...
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] phy: tegra: fix USB dependencies
2020-04-09 13:24 ` Thierry Reding
@ 2020-04-11 9:01 ` Arnd Bergmann
-1 siblings, 0 replies; 8+ messages in thread
From: Arnd Bergmann @ 2020-04-11 9:01 UTC (permalink / raw)
To: Thierry Reding
Cc: Greg Kroah-Hartman, Kishon Vijay Abraham I, Jonathan Hunter,
Corentin Labbe, Nagarjuna Kristam, Thierry Reding, Vidya Sagar,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
open list:TEGRA ARCHITECTURE SUPPORT
On Thu, Apr 9, 2020 at 3:24 PM Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> On Wed, Apr 08, 2020 at 10:08:14PM +0200, Arnd Bergmann wrote:
> > Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
> > missing dependencies:
> >
> > WARNING: unmet direct dependencies detected for USB_PHY
> > Depends on [n]: USB_SUPPORT [=n]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > WARNING: unmet direct dependencies detected for USB_CONN_GPIO
> > Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
> > Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
> > Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
> > ---
> > drivers/phy/tegra/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I sent a similar patch a couple of days ago:
>
> http://patchwork.ozlabs.org/patch/1263865/
>
> This should be applied by Greg on top of the PR that I sent for USB. I
> did get the semi-automated "we're in the merge window" reply from Greg,
> but I was under the impression that he still applied fixes during the
> merge window. It seems like he didn't pick this up yet, though.
>
> Greg, anything I should've done differently for you to notice this?
FWIW, your patch is correct, mine was wrong as I forgot the "select USB_COMMON".
Arnd
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH] phy: tegra: fix USB dependencies
@ 2020-04-11 9:01 ` Arnd Bergmann
0 siblings, 0 replies; 8+ messages in thread
From: Arnd Bergmann @ 2020-04-11 9:01 UTC (permalink / raw)
To: Thierry Reding
Cc: Greg Kroah-Hartman, Kishon Vijay Abraham I, Jonathan Hunter,
Corentin Labbe, Nagarjuna Kristam, Thierry Reding, Vidya Sagar,
linux-kernel@vger.kernel.org,
open list:TEGRA ARCHITECTURE SUPPORT
On Thu, Apr 9, 2020 at 3:24 PM Thierry Reding <thierry.reding@gmail.com> wrote:
>
> On Wed, Apr 08, 2020 at 10:08:14PM +0200, Arnd Bergmann wrote:
> > Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
> > missing dependencies:
> >
> > WARNING: unmet direct dependencies detected for USB_PHY
> > Depends on [n]: USB_SUPPORT [=n]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > WARNING: unmet direct dependencies detected for USB_CONN_GPIO
> > Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
> > Selected by [m]:
> > - PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
> >
> > Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
> > Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > drivers/phy/tegra/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I sent a similar patch a couple of days ago:
>
> http://patchwork.ozlabs.org/patch/1263865/
>
> This should be applied by Greg on top of the PR that I sent for USB. I
> did get the semi-automated "we're in the merge window" reply from Greg,
> but I was under the impression that he still applied fixes during the
> merge window. It seems like he didn't pick this up yet, though.
>
> Greg, anything I should've done differently for you to notice this?
FWIW, your patch is correct, mine was wrong as I forgot the "select USB_COMMON".
Arnd
^ permalink raw reply [flat|nested] 8+ messages in thread