public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver
@ 2009-06-29 12:45 Dieter Kiermaier
  2009-06-29 12:45 ` [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Dieter Kiermaier
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dieter Kiermaier @ 2009-06-29 12:45 UTC (permalink / raw)
  To: u-boot

Hi again,

Here is my first out of 2 patches which adds gpio support to arch/kirkwood.
Any suggestions?

Cheers,
Dieter

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

* [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
@ 2009-06-29 12:45 ` Dieter Kiermaier
  2009-07-08 22:48   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 10+ messages in thread
From: Dieter Kiermaier @ 2009-06-29 12:45 UTC (permalink / raw)
  To: u-boot

Hi,

patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
Any comments are welcome!

Dieter

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

* [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver
  2009-06-29 12:45 [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Dieter Kiermaier
  2009-06-29 12:45 ` [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Dieter Kiermaier
@ 2009-07-08 22:47 ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-09  5:41   ` Heiko Schocher
  2009-07-22 22:20 ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 1 reply; 10+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-07-08 22:47 UTC (permalink / raw)
  To: u-boot

On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> Hi again,
> 
> Here is my first out of 2 patches which adds gpio support to arch/kirkwood.
> Any suggestions?
> 
> Cheers,
> Dieter
> 
> 
> >From fcdea0c7bba3c25a1fb183bbcaf6d1a4ec32a157 Mon Sep 17 00:00:00 2001
> From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> Date: Mon, 29 Jun 2009 14:22:13 +0200
> Subject: [PATCH] Kirkwood: add Marvell Kirkwood gpio driver
> 
> 
> Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
looks fine
Prafulla & nico for you?

Best Regards,
J.

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

* [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
  2009-06-29 12:45 ` [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Dieter Kiermaier
@ 2009-07-08 22:48   ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-09  6:13     ` Dieter Kiermaier
  2009-07-09  6:55     ` Dieter Kiermaier
  0 siblings, 2 replies; 10+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-07-08 22:48 UTC (permalink / raw)
  To: u-boot

On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> Hi,
> 
> patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
> Any comments are welcome!
> 
> Dieter
> 
> 
> >From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001
> From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> Date: Mon, 29 Jun 2009 14:29:15 +0200
> Subject: [PATCH] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
> 
> 
> Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> ---
>  board/Marvell/sheevaplug/sheevaplug.c |    1 +
>  include/configs/sheevaplug.h          |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c
> index 547126a..fa28fea 100644
> --- a/board/Marvell/sheevaplug/sheevaplug.c
> +++ b/board/Marvell/sheevaplug/sheevaplug.c
> @@ -26,6 +26,7 @@
>  #include <miiphy.h>
>  #include <asm/arch/kirkwood.h>
>  #include <asm/arch/mpp.h>
> +#include <asm/arch/gpio.h>
>  #include "sheevaplug.h"
>  
>  DECLARE_GLOBAL_DATA_PTR;
> diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
> index e62353c..7455c29 100644
> --- a/include/configs/sheevaplug.h
> +++ b/include/configs/sheevaplug.h
> @@ -43,6 +43,7 @@
>  #define CONFIG_MD5	/* get_random_hex on krikwood needs MD5 support */
>  #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
>  #define CONFIG_KIRKWOOD_EGIGA_INIT	/* Enable GbePort0/1 for kernel */
> +#define CONFIG_KIRKWOOD_GPIO		/* Enable GPIO Support */
>  #define CONFIG_KIRKWOOD_USBPHY_INIT	/* Enable USB PHY init for kernel */
>  #define CONFIG_KIRKWOOD_RGMII_PAD_1V8	/* Set RGMII Pad voltage to 1.8V */
why do you need it??

Best Regards,
J.

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

* [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver
  2009-07-08 22:47 ` [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Jean-Christophe PLAGNIOL-VILLARD
@ 2009-07-09  5:41   ` Heiko Schocher
  2009-07-09  6:18     ` Prafulla Wadaskar
  0 siblings, 1 reply; 10+ messages in thread
From: Heiko Schocher @ 2009-07-09  5:41 UTC (permalink / raw)
  To: u-boot

Hello Jean-Christophe,

Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
>> Hi again,
>>
>> Here is my first out of 2 patches which adds gpio support to arch/kirkwood.
>> Any suggestions?
>>
>> Cheers,
>> Dieter
>>
>>
>> >From fcdea0c7bba3c25a1fb183bbcaf6d1a4ec32a157 Mon Sep 17 00:00:00 2001
>> From: Dieter Kiermaier <dk-arm-linux@gmx.de>
>> Date: Mon, 29 Jun 2009 14:22:13 +0200
>> Subject: [PATCH] Kirkwood: add Marvell Kirkwood gpio driver
>>
>>
>> Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> looks fine
> Prafulla & nico for you?

I actually tested this driver on the suen3 board with the i2c
bitbang driver and it works fine :-), so I do a:

Tested-by: Heiko Schocher <hs@denx.de>

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
  2009-07-08 22:48   ` Jean-Christophe PLAGNIOL-VILLARD
@ 2009-07-09  6:13     ` Dieter Kiermaier
  2009-07-09  6:55     ` Dieter Kiermaier
  1 sibling, 0 replies; 10+ messages in thread
From: Dieter Kiermaier @ 2009-07-09  6:13 UTC (permalink / raw)
  To: u-boot

Jean,

> On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> > Hi,
> > 
> > patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
> > Any comments are welcome!
> > 
> > Dieter
> > 
> > 
> > >From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001
> > From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> > Date: Mon, 29 Jun 2009 14:29:15 +0200
> > Subject: [PATCH] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
> > 
> > 
> > Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> > ---
> >  board/Marvell/sheevaplug/sheevaplug.c |    1 +
> >  include/configs/sheevaplug.h          |    1 +
> >  2 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c
> > index 547126a..fa28fea 100644
> > --- a/board/Marvell/sheevaplug/sheevaplug.c
> > +++ b/board/Marvell/sheevaplug/sheevaplug.c
> > @@ -26,6 +26,7 @@
> >  #include <miiphy.h>
> >  #include <asm/arch/kirkwood.h>
> >  #include <asm/arch/mpp.h>
> > +#include <asm/arch/gpio.h>
> >  #include "sheevaplug.h"
> >  
> >  DECLARE_GLOBAL_DATA_PTR;
> > diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
> > index e62353c..7455c29 100644
> > --- a/include/configs/sheevaplug.h
> > +++ b/include/configs/sheevaplug.h
> > @@ -43,6 +43,7 @@
> >  #define CONFIG_MD5	/* get_random_hex on krikwood needs MD5 support */
> >  #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
> >  #define CONFIG_KIRKWOOD_EGIGA_INIT	/* Enable GbePort0/1 for kernel */
> > +#define CONFIG_KIRKWOOD_GPIO		/* Enable GPIO Support */
> >  #define CONFIG_KIRKWOOD_USBPHY_INIT	/* Enable USB PHY init for kernel */
> >  #define CONFIG_KIRKWOOD_RGMII_PAD_1V8	/* Set RGMII Pad voltage to 1.8V */
> why do you need it??
I fear it is of no need - it seems it is left from some earlier testing :(
Should i repost the patch?

Thanks,
Dieter

> 
> Best Regards,
> J.
> 

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

* [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver
  2009-07-09  5:41   ` Heiko Schocher
@ 2009-07-09  6:18     ` Prafulla Wadaskar
  0 siblings, 0 replies; 10+ messages in thread
From: Prafulla Wadaskar @ 2009-07-09  6:18 UTC (permalink / raw)
  To: u-boot

 

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Heiko Schocher
> Sent: Thursday, July 09, 2009 11:11 AM
> To: Jean-Christophe PLAGNIOL-VILLARD
> Cc: Nicolas Pitre; u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH1/2] Kirkwood: add Marvell 
> Kirkwood gpio driver
> 
> Hello Jean-Christophe,
> 
> Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> >> Hi again,
> >>
> >> Here is my first out of 2 patches which adds gpio support 
> to arch/kirkwood.
> >> Any suggestions?
> >>
> >> Cheers,
> >> Dieter
> >>
> >>
> >> >From fcdea0c7bba3c25a1fb183bbcaf6d1a4ec32a157 Mon Sep 17 00:00:00 
> >> >2001
> >> From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> >> Date: Mon, 29 Jun 2009 14:22:13 +0200
> >> Subject: [PATCH] Kirkwood: add Marvell Kirkwood gpio driver
> >>
> >>
> >> Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> > looks fine
> > Prafulla & nico for you?
Okay, Ack, mostly code coming from Linux :-)

Regards..
Prafulla . .

> 
> I actually tested this driver on the suen3 board with the i2c 
> bitbang driver and it works fine :-), so I do a:
> 
> Tested-by: Heiko Schocher <hs@denx.de>
> 
> bye
> Heiko
> -- 
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, 
> Germany _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

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

* [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
  2009-07-08 22:48   ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-09  6:13     ` Dieter Kiermaier
@ 2009-07-09  6:55     ` Dieter Kiermaier
  2009-07-09  7:13       ` Prafulla Wadaskar
  1 sibling, 1 reply; 10+ messages in thread
From: Dieter Kiermaier @ 2009-07-09  6:55 UTC (permalink / raw)
  To: u-boot

Hi Jean, hi Prafulla,

here the corrected version.

Many thanks,
Dieter

> On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> > Hi,
> > 
> > patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
> > Any comments are welcome!
> > 
> > Dieter
> > 
> > 
> > >From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001
> > From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> > Date: Mon, 29 Jun 2009 14:29:15 +0200
> > Subject: [PATCH] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
> > 
> > 
> > Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> > ---
> >  board/Marvell/sheevaplug/sheevaplug.c |    1 +
> >  include/configs/sheevaplug.h          |    1 +
> >  2 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c
> > index 547126a..fa28fea 100644
> > --- a/board/Marvell/sheevaplug/sheevaplug.c
> > +++ b/board/Marvell/sheevaplug/sheevaplug.c
> > @@ -26,6 +26,7 @@
> >  #include <miiphy.h>
> >  #include <asm/arch/kirkwood.h>
> >  #include <asm/arch/mpp.h>
> > +#include <asm/arch/gpio.h>
> >  #include "sheevaplug.h"
> >  
> >  DECLARE_GLOBAL_DATA_PTR;
> > diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
> > index e62353c..7455c29 100644
> > --- a/include/configs/sheevaplug.h
> > +++ b/include/configs/sheevaplug.h
> > @@ -43,6 +43,7 @@
> >  #define CONFIG_MD5	/* get_random_hex on krikwood needs MD5 support */
> >  #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
> >  #define CONFIG_KIRKWOOD_EGIGA_INIT	/* Enable GbePort0/1 for kernel */
> > +#define CONFIG_KIRKWOOD_GPIO		/* Enable GPIO Support */
> >  #define CONFIG_KIRKWOOD_USBPHY_INIT	/* Enable USB PHY init for kernel */
> >  #define CONFIG_KIRKWOOD_RGMII_PAD_1V8	/* Set RGMII Pad voltage to 1.8V */
> why do you need it??
> 
> Best Regards,
> J.
> 

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

* [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
  2009-07-09  6:55     ` Dieter Kiermaier
@ 2009-07-09  7:13       ` Prafulla Wadaskar
  0 siblings, 0 replies; 10+ messages in thread
From: Prafulla Wadaskar @ 2009-07-09  7:13 UTC (permalink / raw)
  To: u-boot

 

> -----Original Message-----
> From: Dieter Kiermaier [mailto:dk-arm-linux at gmx.de] 
> Sent: Thursday, July 09, 2009 12:25 PM
> To: Jean-Christophe PLAGNIOL-VILLARD
> Cc: u-boot at lists.denx.de; Prafulla Wadaskar
> Subject: Re: [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood 
> gpio support to Sheevaplug
> 
> Hi Jean, hi Prafulla,
> 
> here the corrected version.
> 
> Many thanks,
> Dieter
> 
> > On 14:45 Mon 29 Jun     , Dieter Kiermaier wrote:
> > > Hi,
> > > 
> > > patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
> > > Any comments are welcome!
Hi Dieter
Thanks for your efforts
That's good, gpio driver is supported for Kirkwood but,
Again question remains the same- Why do you need gpio support on Sheevaplug? Whereas you have no evidence to use it.

Regards..
Prafulla . .

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

* [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver
  2009-06-29 12:45 [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Dieter Kiermaier
  2009-06-29 12:45 ` [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Dieter Kiermaier
  2009-07-08 22:47 ` [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Jean-Christophe PLAGNIOL-VILLARD
@ 2009-07-22 22:20 ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 0 replies; 10+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-07-22 22:20 UTC (permalink / raw)
  To: u-boot

> >From fcdea0c7bba3c25a1fb183bbcaf6d1a4ec32a157 Mon Sep 17 00:00:00 2001
> From: Dieter Kiermaier <dk-arm-linux@gmx.de>
> Date: Mon, 29 Jun 2009 14:22:13 +0200
> Subject: [PATCH] Kirkwood: add Marvell Kirkwood gpio driver
> 
> 
> Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
> ---
>  drivers/gpio/Makefile                |    1 +
>  drivers/gpio/kw_gpio.c               |  151 ++++++++++++++++++++++++++++++++++
>  include/asm-arm/arch-kirkwood/gpio.h |   51 ++++++++++++
>  3 files changed, 203 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/gpio/kw_gpio.c
>  create mode 100644 include/asm-arm/arch-kirkwood/gpio.h
applied to u-boot-arm

Best Regards,
J.

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

end of thread, other threads:[~2009-07-22 22:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 12:45 [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Dieter Kiermaier
2009-06-29 12:45 ` [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Dieter Kiermaier
2009-07-08 22:48   ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-09  6:13     ` Dieter Kiermaier
2009-07-09  6:55     ` Dieter Kiermaier
2009-07-09  7:13       ` Prafulla Wadaskar
2009-07-08 22:47 ` [U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver Jean-Christophe PLAGNIOL-VILLARD
2009-07-09  5:41   ` Heiko Schocher
2009-07-09  6:18     ` Prafulla Wadaskar
2009-07-22 22:20 ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox