[PATCH 0/2] gpiolib: add request and free support

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, This allow to trac which gpio is used for what and allow drivers to have custom request and free as example on at91 mux the pin as gpio on request The following changes since commit b6accb5e560c3b39e738fad619a140f6247d27c6: commands: flash: add missing newlines to

[PATCH] MFD MC34708: Add dependence on SPI

2012-12-20 Thread Wjatscheslaw Stoljarski (Slawa)
From: Wjatscheslaw Stoljarski (Slawa) wjatscheslaw.stoljar...@kiwigrid.com MC34708 depend on I2C or SPI, so let driver depend on SPI too and rename config option name to MFD_MC34708. Signed-off-by: Wjatscheslaw Stoljarski wjatscheslaw.stoljar...@kiwigrid.com ---

[PATCHv2 1/6] ARM AM33XX: Add mmc0 pin mux function

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/am33xx_mux.c |5 + arch/arm/mach-omap/include/mach/am33xx-mux.h |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap/am33xx_mux.c b/arch/arm/mach-omap/am33xx_mux.c

[PATCHv2 3/6] ARM OMAP: Apply RAM device register functions to boards

2012-12-20 Thread Teresa Gámez
Apply RAM and SRAM register functions to all OMAP boards. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/archosg9/board.c |2 +- arch/arm/boards/beagle/board.c|2 +- arch/arm/boards/beaglebone/board.c|2 +-

[PATCHv2 0/6] Add PCM051 support

2012-12-20 Thread Teresa Gámez
This is rebased on the new AM33XX patch stack of Jan Luebbe. It adds phyCORE-AM335x (pcm051) support. Added also device register functions for SRAM, RAM and EHCI. Teresa Gámez (6): ARM AM33XX: Add mmc0 pin mux function ARM OMAP: Add SRAM and DRAM to device register functions ARM OMAP: Apply

[PATCHv2 4/6] ARM OMAP: Add EHCI to device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/omap3-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-silicon.h |3 +++ 3 files changed, 15 insertions(+), 0 deletions(-) diff

[PATCHv2 2/6] ARM OMAP: Add SRAM and DRAM to device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/devices.h |4 arch/arm/mach-omap/include/mach/omap3-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-devices.h |5 + arch/arm/mach-omap/include/mach/omap4-silicon.h |2 ++

[PATCHv2 5/6] ARM OMAP: Apply EHCI device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beagle/board.c |3 +-- arch/arm/boards/panda/board.c |3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c index e0e1da6..88096bb 100644 ---

[PATCHv2 6/6] pcm051: Add inital support

2012-12-20 Thread Teresa Gámez
Added initial support for Phytec phyCORE-AM335x. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/Makefile |1 + arch/arm/boards/pcm051/Makefile|1 + arch/arm/boards/pcm051/board.c | 64

[PATCH 2/2] gpiolib: add command to dump the current gpio status

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to known which gpio is requested by what Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/gpio/gpio.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/gpio/gpio.c b/drivers/gpio/gpio.c index

Re: [PATCHv2 3/6] ARM OMAP: Apply RAM device register functions to boards

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:22 Thu 20 Dec , Teresa Gámez wrote: Apply RAM and SRAM register functions to all OMAP boards. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/archosg9/board.c |2 +- arch/arm/boards/beagle/board.c|2 +-

[PATCH 0/6] at91: mux cleanup and switch to gpiolib

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, this patch series update the mux api of the at91 and use a part of the pinctrl from the kernel and switch tot hte gpiolib we also drop the fact taht a gpio is invalid if 0 This pull depends on the gpiolib one The following changes since commit

[PATCH 1/6] at91: use gpio_is_valid to check gpio

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/mach-at91/at91rm9200_devices.c | 10 +- arch/arm/mach-at91/at91sam9260_devices.c | 14 +++--- arch/arm/mach-at91/at91sam9261_devices.c | 14 +++---

[PATCH 6/6] at91: switch to gpiolib

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/Kconfig |2 +- arch/arm/boards/at91sam9263ek/init.c |2 +- arch/arm/boards/mmccpu/init.c |2 +- arch/arm/boards/pm9263/init.c |2 +-

[PATCH 4/6] at91: gpio: switch to device driver

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
this is the first step to prepare the switch to the gpiolib Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/mach-at91/at91rm9200.c| 46 ++--- arch/arm/mach-at91/at91sam9260.c | 34 +++-

[PATCH 5/6] at91: gpio: switch to ops

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
imported from the kernel this allow to simplify the mux implemtation and will simplify the gpio support from bare_init or pbl Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/mach-at91/gpio.c | 388 +---

[PATCH 3/6] at91: drop PIN_BASE offset for gpio

2012-12-20 Thread Jean-Christophe PLAGNIOL-VILLARD
so 0 is a valid gpio as cleanned in the kernel Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/mach-at91/gpio.c |2 - arch/arm/mach-at91/include/mach/gpio.h | 530 2 files changed, 263 insertions(+), 269

Re: [PATCH 0/2] allow scrubbing (erasing of bad blocks)

2012-12-20 Thread Marc Reilly
Hi, On Thursday, December 13, 2012 05:18:20 PM Wolfram Sang wrote: This patch series first adds a flag to mtd devices which disables special treatment for bad blocks. That means, they are handled like every other good block. The second one then adds a scrub command which is basically a simple

Re: [PATCH 1/2] gpiolib: add gpio_request and gpio_free support

2012-12-20 Thread Sascha Hauer
On Thu, Dec 20, 2012 at 03:23:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: as today if no request or free provided do not complain if the gpio is not request auto requested at first use Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/gpio/gpio.c

Re: [RFC 3/5] MIPS: add ELF support

2012-12-20 Thread Sascha Hauer
On Thu, Dec 20, 2012 at 01:29:53AM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/Kconfig |1 + arch/mips/include/asm/elf.h |8 ++- arch/mips/include/asm/io.h | 18 ++ arch/mips/lib/Makefile |3