linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
@ 2020-10-12 15:40 Andy Shevchenko
  2020-11-09 12:13 ` Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andy Shevchenko @ 2020-10-12 15:40 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio
  Cc: Andy Shevchenko

The default by generic header is the same, hence drop unnecessary definition.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/sh/include/asm/gpio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
index 351918894e86..d643250f0a0f 100644
--- a/arch/sh/include/asm/gpio.h
+++ b/arch/sh/include/asm/gpio.h
@@ -16,7 +16,6 @@
 #include <cpu/gpio.h>
 #endif
 
-#define ARCH_NR_GPIOS 512
 #include <asm-generic/gpio.h>
 
 #ifdef CONFIG_GPIOLIB
-- 
2.28.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-10-12 15:40 [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Andy Shevchenko
@ 2020-11-09 12:13 ` Andy Shevchenko
  2020-11-11 16:45   ` Rob Landley
  2021-01-01 14:24 ` John Paul Adrian Glaubitz
  2021-01-18 20:11 ` John Paul Adrian Glaubitz
  2 siblings, 1 reply; 10+ messages in thread
From: Andy Shevchenko @ 2020-11-09 12:13 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

On Mon, Oct 12, 2020 at 06:40:50PM +0300, Andy Shevchenko wrote:
> The default by generic header is the same, hence drop unnecessary definition.

Any comment on this?

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/sh/include/asm/gpio.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
> index 351918894e86..d643250f0a0f 100644
> --- a/arch/sh/include/asm/gpio.h
> +++ b/arch/sh/include/asm/gpio.h
> @@ -16,7 +16,6 @@
>  #include <cpu/gpio.h>
>  #endif
>  
> -#define ARCH_NR_GPIOS 512
>  #include <asm-generic/gpio.h>
>  
>  #ifdef CONFIG_GPIOLIB
> -- 
> 2.28.0
> 

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-11-09 12:13 ` Andy Shevchenko
@ 2020-11-11 16:45   ` Rob Landley
  2020-12-28 21:36     ` Andy Shevchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Landley @ 2020-11-11 16:45 UTC (permalink / raw)
  To: Andy Shevchenko, Yoshinori Sato, Rich Felker, linux-sh,
	Bartosz Golaszewski, linux-gpio

On 11/9/20 6:13 AM, Andy Shevchenko wrote:
> On Mon, Oct 12, 2020 at 06:40:50PM +0300, Andy Shevchenko wrote:
>> The default by generic header is the same, hence drop unnecessary definition.
> 
> Any comment on this?

Acked-by: Rob Landley <rob@landley.net>

It's in the stack I forwarded to Rich to look at this weekend.

Rob

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-11-11 16:45   ` Rob Landley
@ 2020-12-28 21:36     ` Andy Shevchenko
  2021-01-01 13:51       ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Andy Shevchenko @ 2020-12-28 21:36 UTC (permalink / raw)
  To: Rob Landley
  Cc: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

On Wed, Nov 11, 2020 at 10:45:38AM -0600, Rob Landley wrote:
> On 11/9/20 6:13 AM, Andy Shevchenko wrote:
> > On Mon, Oct 12, 2020 at 06:40:50PM +0300, Andy Shevchenko wrote:
> >> The default by generic header is the same, hence drop unnecessary definition.
> > 
> > Any comment on this?
> 
> Acked-by: Rob Landley <rob@landley.net>

Thanks!

> It's in the stack I forwarded to Rich to look at this weekend.

Unfortunately I still do not see this in the latest Linux Next.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-12-28 21:36     ` Andy Shevchenko
@ 2021-01-01 13:51       ` John Paul Adrian Glaubitz
  2021-01-02  2:12         ` Rob Landley
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-01-01 13:51 UTC (permalink / raw)
  To: Andy Shevchenko, Rob Landley
  Cc: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

Hi Andy!

On 12/28/20 10:36 PM, Andy Shevchenko wrote:
> On Wed, Nov 11, 2020 at 10:45:38AM -0600, Rob Landley wrote:
>> On 11/9/20 6:13 AM, Andy Shevchenko wrote:
>>> On Mon, Oct 12, 2020 at 06:40:50PM +0300, Andy Shevchenko wrote:
>>>> The default by generic header is the same, hence drop unnecessary definition.
>>>
>>> Any comment on this?
>>
>> Acked-by: Rob Landley <rob@landley.net>
> 
> Thanks!
> 
>> It's in the stack I forwarded to Rich to look at this weekend.
> 
> Unfortunately I still do not see this in the latest Linux Next.

Rich already mentioned that he planned to pick up any patches the next
weeks/days.

I'm currently testing all the patches recently posted for any regressions.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-10-12 15:40 [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Andy Shevchenko
  2020-11-09 12:13 ` Andy Shevchenko
@ 2021-01-01 14:24 ` John Paul Adrian Glaubitz
  2021-01-18 20:11 ` John Paul Adrian Glaubitz
  2 siblings, 0 replies; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-01-01 14:24 UTC (permalink / raw)
  To: Andy Shevchenko, Yoshinori Sato, Rich Felker, linux-sh,
	Bartosz Golaszewski, linux-gpio

Hi Andy!

On 10/12/20 5:40 PM, Andy Shevchenko wrote:
> The default by generic header is the same, hence drop unnecessary definition.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/sh/include/asm/gpio.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
> index 351918894e86..d643250f0a0f 100644
> --- a/arch/sh/include/asm/gpio.h
> +++ b/arch/sh/include/asm/gpio.h
> @@ -16,7 +16,6 @@
>  #include <cpu/gpio.h>
>  #endif
>  
> -#define ARCH_NR_GPIOS 512
>  #include <asm-generic/gpio.h>
>  
>  #ifdef CONFIG_GPIOLIB
> 

Verified on my SH-7785LCR board. Boots fine.

Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2021-01-01 13:51       ` John Paul Adrian Glaubitz
@ 2021-01-02  2:12         ` Rob Landley
  2021-01-18 20:20           ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Landley @ 2021-01-02  2:12 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz, Andy Shevchenko
  Cc: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

On 1/1/21 7:51 AM, John Paul Adrian Glaubitz wrote:
> Hi Andy!
> 
> On 12/28/20 10:36 PM, Andy Shevchenko wrote:
>> On Wed, Nov 11, 2020 at 10:45:38AM -0600, Rob Landley wrote:
>>> On 11/9/20 6:13 AM, Andy Shevchenko wrote:
>>>> On Mon, Oct 12, 2020 at 06:40:50PM +0300, Andy Shevchenko wrote:
>>>>> The default by generic header is the same, hence drop unnecessary definition.
>>>>
>>>> Any comment on this?
>>>
>>> Acked-by: Rob Landley <rob@landley.net>
>>
>> Thanks!
>>
>>> It's in the stack I forwarded to Rich to look at this weekend.
>>
>> Unfortunately I still do not see this in the latest Linux Next.
> 
> Rich already mentioned that he planned to pick up any patches the next
> weeks/days.
> 
> I'm currently testing all the patches recently posted for any regressions.

I spoke to him on wednesday and he said he was working on it.

Rob

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2020-10-12 15:40 [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Andy Shevchenko
  2020-11-09 12:13 ` Andy Shevchenko
  2021-01-01 14:24 ` John Paul Adrian Glaubitz
@ 2021-01-18 20:11 ` John Paul Adrian Glaubitz
  2 siblings, 0 replies; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-01-18 20:11 UTC (permalink / raw)
  To: Andy Shevchenko, Yoshinori Sato, Rich Felker, linux-sh,
	Bartosz Golaszewski, linux-gpio

On 10/12/20 5:40 PM, Andy Shevchenko wrote:
> The default by generic header is the same, hence drop unnecessary definition.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/sh/include/asm/gpio.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
> index 351918894e86..d643250f0a0f 100644
> --- a/arch/sh/include/asm/gpio.h
> +++ b/arch/sh/include/asm/gpio.h
> @@ -16,7 +16,6 @@
>  #include <cpu/gpio.h>
>  #endif
>  
> -#define ARCH_NR_GPIOS 512
>  #include <asm-generic/gpio.h>
>  
>  #ifdef CONFIG_GPIOLIB

Acked-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2021-01-02  2:12         ` Rob Landley
@ 2021-01-18 20:20           ` John Paul Adrian Glaubitz
  2021-01-18 23:44             ` Rob Landley
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-01-18 20:20 UTC (permalink / raw)
  To: Rob Landley, Andy Shevchenko
  Cc: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

Hi Rob!

On 1/2/21 3:12 AM, Rob Landley wrote:
>> Rich already mentioned that he planned to pick up any patches the next
>> weeks/days.
>>
>> I'm currently testing all the patches recently posted for any regressions.
> 
> I spoke to him on wednesday and he said he was working on it.

Any news on this? I have tested or acked all patches now that I found on the
list that are not applied yet. I can assemble a list of these if necessary.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
  2021-01-18 20:20           ` John Paul Adrian Glaubitz
@ 2021-01-18 23:44             ` Rob Landley
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Landley @ 2021-01-18 23:44 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz, Andy Shevchenko
  Cc: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski, linux-gpio

On 1/18/21 2:20 PM, John Paul Adrian Glaubitz wrote:
> Hi Rob!
> 
> On 1/2/21 3:12 AM, Rob Landley wrote:
>>> Rich already mentioned that he planned to pick up any patches the next
>>> weeks/days.
>>>
>>> I'm currently testing all the patches recently posted for any regressions.
>>
>> I spoke to him on wednesday and he said he was working on it.
> 
> Any news on this? I have tested or acked all patches now that I found on the
> list that are not applied yet. I can assemble a list of these if necessary.

I spoke to him on the 13th and he said he was working on it, just like I spoke
to him on the 6th and he said he was working on it. And so on for a few months now.

Assembling a list wouldn't hurt, but I've assembled a list at him multiple
times. I suspect what I need to do is assemble a git tree and submit a pull request.

Rob

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-18 23:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 15:40 [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Andy Shevchenko
2020-11-09 12:13 ` Andy Shevchenko
2020-11-11 16:45   ` Rob Landley
2020-12-28 21:36     ` Andy Shevchenko
2021-01-01 13:51       ` John Paul Adrian Glaubitz
2021-01-02  2:12         ` Rob Landley
2021-01-18 20:20           ` John Paul Adrian Glaubitz
2021-01-18 23:44             ` Rob Landley
2021-01-01 14:24 ` John Paul Adrian Glaubitz
2021-01-18 20:11 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).