Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1347672 > unrolled thread

[PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS

Started bySimon Horman <horms+renesas@verge.net.au>
First post2016-03-02 03:30 +0100
Last post2016-03-03 10:30 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS Simon Horman <horms+renesas@verge.net.au> - 2016-03-02 03:30 +0100
    Re: [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-02 10:40 +0100
      Re: [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS Simon Horman <horms@verge.net.au> - 2016-03-03 01:20 +0100
        Re: [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-03 09:30 +0100
      RE: [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> - 2016-03-03 10:30 +0100

#1347672 — [PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS

FromSimon Horman <horms+renesas@verge.net.au>
Date2016-03-02 03:30 +0100
Subject[PATCH] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS
Message-ID<r84I2-18B-9@gated-at.bofh.it>
Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.

This is part of an ongoing process to migrate from ARCH_SHMOBILE to
ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/phy/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

 Based on v4.5-rc1

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index e7e117d5dbbe..e097ed2dfad9 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -113,14 +113,14 @@ config PHY_MIPHY365X
 
 config PHY_RCAR_GEN2
 	tristate "Renesas R-Car generation 2 USB PHY driver"
-	depends on ARCH_SHMOBILE
+	depends on ARCH_RENESAS
 	depends on GENERIC_PHY
 	help
 	  Support for USB PHY found on Renesas R-Car generation 2 SoCs.
 
 config PHY_RCAR_GEN3_USB2
 	tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
-	depends on OF && ARCH_SHMOBILE
+	depends on OF && ARCH_RENESAS
 	select GENERIC_PHY
 	help
 	  Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
-- 
2.1.4

[toc] | [next] | [standalone]


#1347892

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2016-03-02 10:40 +0100
Message-ID<r8bqb-5KC-27@gated-at.bofh.it>
In reply to#1347672
On Wed, Mar 2, 2016 at 3:25 AM, Simon Horman <horms+renesas@verge.net.au> wrote:
> Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.
>
> This is part of an ongoing process to migrate from ARCH_SHMOBILE to
> ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
> appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -113,14 +113,14 @@ config PHY_MIPHY365X
>
>  config PHY_RCAR_GEN2
>         tristate "Renesas R-Car generation 2 USB PHY driver"
> -       depends on ARCH_SHMOBILE
> +       depends on ARCH_RENESAS
>         depends on GENERIC_PHY
>         help
>           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
>
>  config PHY_RCAR_GEN3_USB2
>         tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
> -       depends on OF && ARCH_SHMOBILE
> +       depends on OF && ARCH_RENESAS

FWIW, you may want to drop the dependency on OF, as this is implied by
ARCH_RENESAS.
Or you can handle that when adding/testing COMPILE_TEST support ;-)

>         select GENERIC_PHY
>         help
>           Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[toc] | [prev] | [next] | [standalone]


#1348633

FromSimon Horman <horms@verge.net.au>
Date2016-03-03 01:20 +0100
Message-ID<r8p9L-7js-1@gated-at.bofh.it>
In reply to#1347892
On Wed, Mar 02, 2016 at 10:36:33AM +0100, Geert Uytterhoeven wrote:
> On Wed, Mar 2, 2016 at 3:25 AM, Simon Horman <horms+renesas@verge.net.au> wrote:
> > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.
> >
> > This is part of an ongoing process to migrate from ARCH_SHMOBILE to
> > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
> > appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
> >
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> > --- a/drivers/phy/Kconfig
> > +++ b/drivers/phy/Kconfig
> > @@ -113,14 +113,14 @@ config PHY_MIPHY365X
> >
> >  config PHY_RCAR_GEN2
> >         tristate "Renesas R-Car generation 2 USB PHY driver"
> > -       depends on ARCH_SHMOBILE
> > +       depends on ARCH_RENESAS
> >         depends on GENERIC_PHY
> >         help
> >           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
> >
> >  config PHY_RCAR_GEN3_USB2
> >         tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
> > -       depends on OF && ARCH_SHMOBILE
> > +       depends on OF && ARCH_RENESAS
> 
> FWIW, you may want to drop the dependency on OF, as this is implied by
> ARCH_RENESAS.
> Or you can handle that when adding/testing COMPILE_TEST support ;-)

So the ideal setup would be as follows?

	depends on ARCH_RENESAS || (OF && COMPILE_TEST)

If so I think I would like to update this patch to:

	depends on ARCH_RENESAS

And then deal with COMPILE_TEST separately: I should probably
sweep the tree for Renesas related drivers that do have a COMPILE_TEST
dependency.

> >         select GENERIC_PHY
> >         help
> >           Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

[toc] | [prev] | [next] | [standalone]


#1348893

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2016-03-03 09:30 +0100
Message-ID<r8wNY-4hQ-9@gated-at.bofh.it>
In reply to#1348633
Hi Simon,

On Thu, Mar 3, 2016 at 1:12 AM, Simon Horman <horms@verge.net.au> wrote:
> On Wed, Mar 02, 2016 at 10:36:33AM +0100, Geert Uytterhoeven wrote:
>> On Wed, Mar 2, 2016 at 3:25 AM, Simon Horman <horms+renesas@verge.net.au> wrote:
>> > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.
>> >
>> > This is part of an ongoing process to migrate from ARCH_SHMOBILE to
>> > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
>> > appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
>> >
>> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
>>
>> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
>>
>> > --- a/drivers/phy/Kconfig
>> > +++ b/drivers/phy/Kconfig
>> > @@ -113,14 +113,14 @@ config PHY_MIPHY365X
>> >
>> >  config PHY_RCAR_GEN2
>> >         tristate "Renesas R-Car generation 2 USB PHY driver"
>> > -       depends on ARCH_SHMOBILE
>> > +       depends on ARCH_RENESAS
>> >         depends on GENERIC_PHY
>> >         help
>> >           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
>> >
>> >  config PHY_RCAR_GEN3_USB2
>> >         tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
>> > -       depends on OF && ARCH_SHMOBILE
>> > +       depends on OF && ARCH_RENESAS
>>
>> FWIW, you may want to drop the dependency on OF, as this is implied by
>> ARCH_RENESAS.
>> Or you can handle that when adding/testing COMPILE_TEST support ;-)
>
> So the ideal setup would be as follows?
>
>         depends on ARCH_RENESAS || (OF && COMPILE_TEST)

I would separate it in two lines: one for hard, and one for soft dependencies:

        depends on OF
        depends on ARCH_RENESAS || COMPILE_TEST

> If so I think I would like to update this patch to:
>
>         depends on ARCH_RENESAS

Fine for me.

> And then deal with COMPILE_TEST separately: I should probably
> sweep the tree for Renesas related drivers that do have a COMPILE_TEST
> dependency.

OK.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[toc] | [prev] | [next] | [standalone]


#1348933

FromYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date2016-03-03 10:30 +0100
Message-ID<r8xK2-4Sk-21@gated-at.bofh.it>
In reply to#1347892
Hi Simon-san,

> Sent: Wednesday, March 02, 2016 6:37 PM
> 
> On Wed, Mar 2, 2016 at 3:25 AM, Simon Horman <horms+renesas@verge.net.au> wrote:
> > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.
> >
> > This is part of an ongoing process to migrate from ARCH_SHMOBILE to
> > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
> > appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
> >
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web