linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Correct bad gpio naming
@ 2012-01-22 17:57 Roland Stigge
  2012-01-22 19:31 ` Grant Likely
  2012-01-24 15:59 ` Wolfram Sang
  0 siblings, 2 replies; 7+ messages in thread
From: Roland Stigge @ 2012-01-22 17:57 UTC (permalink / raw)
  To: linux, linux-arm-kernel, grant.likely, linus.walleij
  Cc: Roland Stigge, linux-kernel

One of the GPIO names in drivers/gpio/gpio-lpc32xx.c
was bad. Renaming gpi000 -> gpio00

Signed-off-by: Roland Stigge <stigge@antcom.de>

diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
index 5b69480..ddfacc5 100644
--- a/drivers/gpio/gpio-lpc32xx.c
+++ b/drivers/gpio/gpio-lpc32xx.c
@@ -96,7 +96,7 @@ static const char *gpio_p2_names[LPC32XX_GPIO_P2_MAX] = {
 };
  static const char *gpio_p3_names[LPC32XX_GPIO_P3_MAX] = {
-	"gpi000", "gpio01", "gpio02", "gpio03",
+	"gpio00", "gpio01", "gpio02", "gpio03",
 	"gpio04", "gpio05"
 };


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

* Re: [PATCH] Correct bad gpio naming
  2012-01-22 17:57 [PATCH] Correct bad gpio naming Roland Stigge
@ 2012-01-22 19:31 ` Grant Likely
  2012-01-24 15:59 ` Wolfram Sang
  1 sibling, 0 replies; 7+ messages in thread
From: Grant Likely @ 2012-01-22 19:31 UTC (permalink / raw)
  To: Roland Stigge; +Cc: linux, linux-arm-kernel, linus.walleij, linux-kernel

On Sun, Jan 22, 2012 at 06:57:57PM +0100, Roland Stigge wrote:
> One of the GPIO names in drivers/gpio/gpio-lpc32xx.c
> was bad. Renaming gpi000 -> gpio00
> 
> Signed-off-by: Roland Stigge <stigge@antcom.de>

Applied.  Careful though, this patch was corrupt (missing carriage
return before 'static' and had to be applied by hand.

g.

> 
> diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
> index 5b69480..ddfacc5 100644
> --- a/drivers/gpio/gpio-lpc32xx.c
> +++ b/drivers/gpio/gpio-lpc32xx.c
> @@ -96,7 +96,7 @@ static const char *gpio_p2_names[LPC32XX_GPIO_P2_MAX] = {
>  };
>   static const char *gpio_p3_names[LPC32XX_GPIO_P3_MAX] = {
> -	"gpi000", "gpio01", "gpio02", "gpio03",
> +	"gpio00", "gpio01", "gpio02", "gpio03",
>  	"gpio04", "gpio05"
>  };
> 

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

* Re: [PATCH] Correct bad gpio naming
  2012-01-22 17:57 [PATCH] Correct bad gpio naming Roland Stigge
  2012-01-22 19:31 ` Grant Likely
@ 2012-01-24 15:59 ` Wolfram Sang
  2012-01-24 16:32   ` Roland Stigge
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2012-01-24 15:59 UTC (permalink / raw)
  To: Roland Stigge
  Cc: linux, linux-arm-kernel, grant.likely, linus.walleij,
	linux-kernel, Kevin Wells

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Sun, Jan 22, 2012 at 06:57:57PM +0100, Roland Stigge wrote:
> One of the GPIO names in drivers/gpio/gpio-lpc32xx.c
> was bad. Renaming gpi000 -> gpio00
> 
> Signed-off-by: Roland Stigge <stigge@antcom.de>

Since you are modifying LPC32xx :) Which kernel version do you run? I
was trying to get a board up with 3.0 (not booting) and 3.3-rc1 (build
breakage). I even thought about removing that mach, since vital parts
seem to be missing (Net, NAND) or broken. So, I am interested if there
are still users.

CCing Kevin Wells, too: Any plans from NXP?

Thanks,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [PATCH] Correct bad gpio naming
  2012-01-24 15:59 ` Wolfram Sang
@ 2012-01-24 16:32   ` Roland Stigge
  2012-01-24 19:25     ` LPC32xx status (Re: [PATCH] Correct bad gpio naming) Wolfram Sang
  0 siblings, 1 reply; 7+ messages in thread
From: Roland Stigge @ 2012-01-24 16:32 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux, linux-arm-kernel, grant.likely, linus.walleij,
	linux-kernel, Kevin Wells

Hi,

On 01/24/2012 04:59 PM, Wolfram Sang wrote:
> On Sun, Jan 22, 2012 at 06:57:57PM +0100, Roland Stigge wrote:
>> One of the GPIO names in drivers/gpio/gpio-lpc32xx.c was bad.
>> Renaming gpi000 -> gpio00
>> 
>> Signed-off-by: Roland Stigge <stigge@antcom.de>
> 
> Since you are modifying LPC32xx :) Which kernel version do you run?
> I was trying to get a board up with 3.0 (not booting) and 3.3-rc1
> (build breakage). I even thought about removing that mach, since
> vital parts seem to be missing (Net, NAND) or broken. So, I am
> interested if there are still users.

I'm actively maintaining an LPC32xx machine line (WORK Microwave GmbH
devices) at http://git.antcom.de/ - feel free to merge from there.

For me, it works fine with Linux 3.2.0.

The repo includes some additional features like NAND (esp. MLC
controller, while NXP implemented an SLC driver), High Speed UARTs and
ADC. Some of those are not yet integrated mainline, but I'm willing to
help here. Looks like I will maintain it anyway for the next few years.

Expect the first one of the drivers to be submitted soon, I will do
them one by one.

Thanks for keeping LPC32xx :-)

Roland

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

* LPC32xx status (Re: [PATCH] Correct bad gpio naming)
  2012-01-24 16:32   ` Roland Stigge
@ 2012-01-24 19:25     ` Wolfram Sang
  2012-01-24 20:38       ` Roland Stigge
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2012-01-24 19:25 UTC (permalink / raw)
  To: Roland Stigge
  Cc: linux, linux-arm-kernel, grant.likely, linus.walleij,
	linux-kernel, Kevin Wells

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]


> > Since you are modifying LPC32xx :) Which kernel version do you run?
> > I was trying to get a board up with 3.0 (not booting) and 3.3-rc1
> > (build breakage). I even thought about removing that mach, since
> > vital parts seem to be missing (Net, NAND) or broken. So, I am
> > interested if there are still users.
> 
> I'm actively maintaining an LPC32xx machine line (WORK Microwave GmbH
> devices) at http://git.antcom.de/ - feel free to merge from there.

Cool, best answer I could get \o/

> Expect the first one of the drivers to be submitted soon, I will do
> them one by one.

I think the first step should be adding a generic defconfig and make sure this
builds and boots (I think I have a phy3250 somewhere, so I could test). After
that new drivers would make sense. IIRC clock.c was pretty broken, we needed
hacks to get USB working with a 2.6.35. I also see that your tree modifies it.

Kevin: Are you with us?

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: LPC32xx status (Re: [PATCH] Correct bad gpio naming)
  2012-01-24 19:25     ` LPC32xx status (Re: [PATCH] Correct bad gpio naming) Wolfram Sang
@ 2012-01-24 20:38       ` Roland Stigge
  2012-01-24 21:09         ` Wolfram Sang
  0 siblings, 1 reply; 7+ messages in thread
From: Roland Stigge @ 2012-01-24 20:38 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux, linux-arm-kernel, grant.likely, linus.walleij,
	linux-kernel, Kevin Wells

On 24/01/12 20:25, Wolfram Sang wrote:
>> Expect the first one of the drivers to be submitted soon, I will
>> do them one by one.
> 
> I think the first step should be adding a generic defconfig and
> make sure this builds and boots (I think I have a phy3250
> somewhere, so I could test). After that new drivers would make
> sense. IIRC clock.c was pretty broken, we needed hacks to get USB
> working with a 2.6.35. I also see that your tree modifies it.

I see that you are already at it ;-) - for the others: On the server
"git.antcom.de", I meant repository "linux-2.6.git", branch "work92105".

Unfortunately, I currently don't have a phy3250, but can check
tomorrow with colleagues.

I guess the work92105_defconfig is only useful once the drivers
currently missing in mainline are merged. Or is there an arm specific
tree I should update from?

Thanks in advance!

Roland

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

* Re: LPC32xx status (Re: [PATCH] Correct bad gpio naming)
  2012-01-24 20:38       ` Roland Stigge
@ 2012-01-24 21:09         ` Wolfram Sang
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2012-01-24 21:09 UTC (permalink / raw)
  To: Roland Stigge
  Cc: linux, linux-arm-kernel, grant.likely, linus.walleij,
	linux-kernel, Kevin Wells

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]


> Unfortunately, I currently don't have a phy3250, but can check
> tomorrow with colleagues.

Shouldn't matter that much, or? Once the core support is back and works for
your board, others could test with their boards.

> I guess the work92105_defconfig is only useful once the drivers
> currently missing in mainline are merged. Or is there an arm specific
> tree I should update from?

You can keep the work92105_defconfig in your tree, but we'd need to introduce a
lpc32xx_defconfig. That should start with a minimal (but working) config and
can be extended once the drivers are in place.

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2012-01-24 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-22 17:57 [PATCH] Correct bad gpio naming Roland Stigge
2012-01-22 19:31 ` Grant Likely
2012-01-24 15:59 ` Wolfram Sang
2012-01-24 16:32   ` Roland Stigge
2012-01-24 19:25     ` LPC32xx status (Re: [PATCH] Correct bad gpio naming) Wolfram Sang
2012-01-24 20:38       ` Roland Stigge
2012-01-24 21:09         ` Wolfram Sang

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).