[PATCH v3] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge --- Applies to v3.17-rc4 v3: Removed superfluous whitespace v2: Removed #ifdef statements Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c

Re: [PATCH] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
On 09/09/2014 08:08 PM, Arnd Bergmann wrote: > Is this a full PWM controller? If it is, it would be better to also > provide a #pwm-cells property and register the device with the PWM > subsystem to allow arbitrary users. > > If the PWM is only really usable for LED, it's probably enough to >

[PATCH v2] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge --- Applies to v3.17-rc4 v2: Removed #ifdef statements Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c | 47 2

[PATCH v2] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.17-rc4 v2: Removed #ifdef statements Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c | 47

Re: [PATCH] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
On 09/09/2014 08:08 PM, Arnd Bergmann wrote: Is this a full PWM controller? If it is, it would be better to also provide a #pwm-cells property and register the device with the PWM subsystem to allow arbitrary users. If the PWM is only really usable for LED, it's probably enough to leave

[PATCH v3] leds: Add DT support for leds-pca9532

2014-09-10 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.17-rc4 v3: Removed superfluous whitespace v2: Removed #ifdef statements Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c

[PATCH] leds: Add DT support for leds-pca9532

2014-09-09 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge --- Applies to v3.17-rc4 Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c | 47 2 files changed, 90 insertions

[PATCH] SPI: Fix error message

2014-09-09 Thread Roland Stigge
This patch fixes an error message typo ("not" missing). Signed-off-by: Roland Stigge --- drivers/spi/spi-pl022.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -2136,7 +2136,7 @@ static int pl022_probe(struct

[PATCH] SPI: Fix error message

2014-09-09 Thread Roland Stigge
This patch fixes an error message typo (not missing). Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/spi/spi-pl022.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -2136,7 +2136,7 @@ static int pl022_probe

[PATCH] leds: Add DT support for leds-pca9532

2014-09-09 Thread Roland Stigge
This patch adds DT support for leds-pca9532. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.17-rc4 Documentation/devicetree/bindings/leds/leds-pca9532.txt | 43 ++ drivers/leds/leds-pca9532.c | 47 2 files changed

Re: [PATCH v2 05/12] ARM: lpc32xx: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-01 Thread Roland Stigge
IG_M25P80 etc. into a submenu under CONFIG_MTD_SPI_NOR? > > At the same time, drop the now-nonexistent CONFIG_MTD_CHAR symbol. > > Signed-off-by: Brian Norris > Cc: Roland Stigge > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > ar

Re: [PATCH v2 05/12] ARM: lpc32xx: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-01 Thread Roland Stigge
. into a submenu under CONFIG_MTD_SPI_NOR? At the same time, drop the now-nonexistent CONFIG_MTD_CHAR symbol. Signed-off-by: Brian Norris computersforpe...@gmail.com Cc: Roland Stigge sti...@antcom.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm

Re: [PATCH 2/7] ARM: lpc32xx: don't select HAVE_PWM

2014-02-10 Thread Roland Stigge
ARCH_LPC32XX > select CPU_ARM926T > select GENERIC_CLOCKEVENTS > select HAVE_IDE > - select HAVE_PWM > select USB_ARCH_HAS_OHCI > select USE_OF > help > Acked-by: Roland Stigge -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH 2/7] ARM: lpc32xx: don't select HAVE_PWM

2014-02-10 Thread Roland Stigge
GENERIC_CLOCKEVENTS select HAVE_IDE - select HAVE_PWM select USB_ARCH_HAS_OHCI select USE_OF help Acked-by: Roland Stigge sti...@antcom.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH] ARM: LPC32xx: Fix reset function

2013-09-04 Thread Roland Stigge
anywhere else anymore. Signed-off-by: Roland Stigge -- Will provide a pull request for arm-soc when someone commented on this one. --- arch/arm/mach-lpc32xx/common.c | 29 ++--- 1 file changed, 6 insertions(+), 23 deletions(-) --- linux-2.6.orig/arch/arm/mach-lpc32xx

[PATCH] ARM: LPC32xx: Fix reset function

2013-09-04 Thread Roland Stigge
anywhere else anymore. Signed-off-by: Roland Stigge sti...@antcom.de -- Will provide a pull request for arm-soc when someone commented on this one. --- arch/arm/mach-lpc32xx/common.c | 29 ++--- 1 file changed, 6 insertions(+), 23 deletions(-) --- linux-2.6.orig/arch

Re: [PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform"

2013-08-20 Thread Roland Stigge
; > Signed-off-by: Christophe Leroy Acked-by: Roland Stigge Good, thanks! > > --- linux-3.11-rc6/drivers/gpio/gpio-max7301.c2013-08-17 > 21:09:17.0 +0200 > +++ linux/drivers/gpio/gpio-max7301.c 2013-08-18 06:31:52.0 +0200 > @@ -56,8 +56,7 @@ > i

Re: [PATCH] MAX7301 GPIO: Reverting Do not force SPI speed when using OF Platform

2013-08-20 Thread Roland Stigge
-by: Christophe Leroy christophe.le...@c-s.fr Acked-by: Roland Stigge sti...@antcom.de Good, thanks! --- linux-3.11-rc6/drivers/gpio/gpio-max7301.c2013-08-17 21:09:17.0 +0200 +++ linux/drivers/gpio/gpio-max7301.c 2013-08-18 06:31:52.0 +0200 @@ -56,8 +56,7 @@ int ret

Re: [PATCH 4/5] USB: lpc32xx: USB_LPC32XX need not depend on USB_PHY

2013-05-29 Thread Roland Stigge
-by: Roger Quadros Acked-by: Roland Stigge Tested-by: Roland Stigge Thanks! > CC: Roland Stigge > --- > drivers/usb/gadget/Kconfig |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig > index

Re: [PATCH 4/5] USB: lpc32xx: USB_LPC32XX need not depend on USB_PHY

2013-05-29 Thread Roland Stigge
...@ti.com Acked-by: Roland Stigge sti...@antcom.de Tested-by: Roland Stigge sti...@antcom.de Thanks! CC: Roland Stigge sti...@antcom.de --- drivers/usb/gadget/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig

Re: [PATCH 19/21] USB: lpc32xx: ISP1301 needs USB_PHY

2013-04-25 Thread Roland Stigge
`isp1301_get_client' > drivers/built-in.o: In function `lpc32xx_udc_probe': > drivers/usb/gadget/lpc32xx_udc.c:3071: undefined reference to > `isp1301_get_client' > > Signed-off-by: Arnd Bergmann > Cc: linux-...@vger.kernel.org > Cc: Greg Kroah-Hartman > Cc: Felipe

Re: [PATCH 19/21] USB: lpc32xx: ISP1301 needs USB_PHY

2013-04-25 Thread Roland Stigge
': drivers/usb/gadget/lpc32xx_udc.c:3071: undefined reference to `isp1301_get_client' Signed-off-by: Arnd Bergmann a...@arndb.de Cc: linux-...@vger.kernel.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Felipe Balbi ba...@ti.com Cc: Roland Stigge sti...@antcom.de Tested-by: Roland

Re: [RESEND][PATCH RFT 2/2] pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config

2013-04-23 Thread Roland Stigge
On 04/23/2013 08:02 AM, Axel Lin wrote: > lpc32xx_pwm_config() is supposed to set duty_ns and period_ns, > it should not change PWM_ENABLE bit. > > Signed-off-by: Axel Lin Tested-by: Roland Stigge > --- > drivers/pwm/pwm-lpc32xx.c |7 +-- > 1 file change

Re: [RESEND][PATCH RFT 1/2] pwm: lpc32xx: Properly set PWM_ENABLE bit in lpc32xx_pwm_[enable|disable]

2013-04-23 Thread Roland Stigge
documents/user_manual/UM10326.pdf > > Signed-off-by: Axel Lin Tested-by: Roland Stigge > --- > Hi, > I don't have this hardware handy so I'd appreciate if someone can test this > patch serial. > > This patch serial was sent on https://lkml.org/lkml/2013/3/30/104 >

Re: [RESEND][PATCH RFT 1/2] pwm: lpc32xx: Properly set PWM_ENABLE bit in lpc32xx_pwm_[enable|disable]

2013-04-23 Thread Roland Stigge
axel@ingics.com Tested-by: Roland Stigge sti...@antcom.de --- Hi, I don't have this hardware handy so I'd appreciate if someone can test this patch serial. This patch serial was sent on https://lkml.org/lkml/2013/3/30/104 Seems no feedback so far. So I just try again, maybe someone can

Re: [RESEND][PATCH RFT 2/2] pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config

2013-04-23 Thread Roland Stigge
On 04/23/2013 08:02 AM, Axel Lin wrote: lpc32xx_pwm_config() is supposed to set duty_ns and period_ns, it should not change PWM_ENABLE bit. Signed-off-by: Axel Lin axel@ingics.com Tested-by: Roland Stigge sti...@antcom.de --- drivers/pwm/pwm-lpc32xx.c |7 +-- 1 file changed

Re: [PATCH] ARM: LPC32xx: changed lpc23xx_restart to lpc32xx_restart

2013-04-02 Thread Roland Stigge
On 02/04/13 17:58, Olof Johansson wrote: > On Wed, Mar 06, 2013 at 09:18:58PM +0100, Martin Knoll wrote: >> This function has an odd name. This is probably a typo. > > You should cc the platform maintainer on these kind of patches (Roland > Stigge). > But it seems that he'

[PATCH] MAINTAINERS: Add maintainer for LPC32xx

2013-04-02 Thread Roland Stigge
This patch adds Roland Stigge as maintainer for NXP LPC32xx. Signed-off-by: Roland Stigge --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) --- linux-2.6.orig/MAINTAINERS +++ linux-2.6/MAINTAINERS @@ -4941,6 +4941,12 @@ W: logfs.org S: Maintained F: fs/logfs

[PATCH] MAINTAINERS: Add maintainer for LPC32xx

2013-04-02 Thread Roland Stigge
This patch adds Roland Stigge as maintainer for NXP LPC32xx. Signed-off-by: Roland Stigge sti...@antcom.de --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) --- linux-2.6.orig/MAINTAINERS +++ linux-2.6/MAINTAINERS @@ -4941,6 +4941,12 @@ W: logfs.org S: Maintained F

Re: [PATCH] ARM: LPC32xx: changed lpc23xx_restart to lpc32xx_restart

2013-04-02 Thread Roland Stigge
On 02/04/13 17:58, Olof Johansson wrote: On Wed, Mar 06, 2013 at 09:18:58PM +0100, Martin Knoll wrote: This function has an odd name. This is probably a typo. You should cc the platform maintainer on these kind of patches (Roland Stigge). But it seems that he's not actually listed

Re: [PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 03/26/2013 08:24 PM, Felipe Balbi wrote: > commit ? 1c2088812f095df77f4b3224b65db79d7111a300 Seems to be based on the assumption that only OTG needs a PHY. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG

Re: [PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 03/26/2013 07:03 PM, Felipe Balbi wrote: > On Tue, Mar 26, 2013 at 06:36:01PM +0100, Roland Stigge wrote: >> The current lpc32xx_defconfig breaks like this, caused by recent >> phy restructuring: > > which commit actually

[PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
': drivers/usb/gadget/lpc32xx_udc.c:3104: undefined reference to `isp1301_get_client' distcc[27867] ERROR: compile (null) on localhost failed make: *** [vmlinux] Error 1 This patch fixes this by selecting USB_OTG_UTILS in Kconfig which causes the phy driver to be built again. Signed-off-by: Roland Stigge

[PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
': drivers/usb/gadget/lpc32xx_udc.c:3104: undefined reference to `isp1301_get_client' distcc[27867] ERROR: compile (null) on localhost failed make: *** [vmlinux] Error 1 This patch fixes this by selecting USB_OTG_UTILS in Kconfig which causes the phy driver to be built again. Signed-off-by: Roland Stigge

Re: [PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 03/26/2013 07:03 PM, Felipe Balbi wrote: On Tue, Mar 26, 2013 at 06:36:01PM +0100, Roland Stigge wrote: The current lpc32xx_defconfig breaks like this, caused by recent phy restructuring: which commit actually caused this ? I need

Re: [PATCH] usb: Fix compile error by selecting USB_OTG_UTILS

2013-03-26 Thread Roland Stigge
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 03/26/2013 08:24 PM, Felipe Balbi wrote: commit ? 1c2088812f095df77f4b3224b65db79d7111a300 Seems to be based on the assumption that only OTG needs a PHY. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG

[PATCH] mmc: mmc_spi: Fix return value evaluation of irq_of_parse_and_map()

2013-01-30 Thread Roland Stigge
. This patch changes to comparison with 0 which is the error return value of irq_of_parse_and_map(). Tested on ARM that mmc_spi is working now. Signed-off-by: Roland Stigge diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index 1534b58..d720b5e 100644 --- a/drivers/mmc/host

[PATCH] mmc: mmc_spi: Fix return value evaluation of irq_of_parse_and_map()

2013-01-30 Thread Roland Stigge
. This patch changes to comparison with 0 which is the error return value of irq_of_parse_and_map(). Tested on ARM that mmc_spi is working now. Signed-off-by: Roland Stigge sti...@antcom.de diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index 1534b58..d720b5e 100644

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-28 Thread Roland Stigge
On 01/28/2013 12:39 PM, Stijn Devriendt wrote: >>> In the device-tree this is specified as: >>> >>> powr@0x20 { >>>// other properties >>> >>> gpios = < 4 0 >>> 5 0>; >>> }; >>> >>> Is this kind of integration also possible? >> >> You can reference the gpio block via a

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-28 Thread Roland Stigge
On 01/28/2013 12:39 PM, Stijn Devriendt wrote: In the device-tree this is specified as: powr@0x20 { // other properties gpios = gpio 4 0 gpio 5 0; }; Is this kind of integration also possible? You can reference the gpio block via a phandle, e.g.: blockgpio

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-27 Thread Roland Stigge
On 27/01/13 14:07, Stijn Devriendt wrote: >> +Example: >> + >> +blockgpio { >> +compatible = "linux,gpio-block"; >> + >> +block0 { >> +gpios = < 3 0 0>, >> +< 3 1 0>; >> +}; >> +

Re: [PATCH 1/6 v14] gpio: Add a block GPIO API to gpiolib

2013-01-27 Thread Roland Stigge
On 27/01/13 14:19, Stijn Devriendt wrote: >> +Block GPIO >> +-- >> + >> +The above described interface concentrates on handling single GPIOs. >> However, >> +in applications where it is critical to set several GPIOs at once, this >> +interface doesn't work well, e.g. bit-banging

Re: [PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-27 Thread Roland Stigge
On 27/01/13 13:18, Stijn Devriendt wrote: >>> In my patch, I go out of the way of this kind of thing for a simple reason: >>> You may generate incorrect timing by doing this. >> >> You are right, certain things like synchronous on+off is not really >> possible. >> >> However, the above at least

Re: [PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-27 Thread Roland Stigge
On 27/01/13 13:18, Stijn Devriendt wrote: In my patch, I go out of the way of this kind of thing for a simple reason: You may generate incorrect timing by doing this. You are right, certain things like synchronous on+off is not really possible. However, the above at least supports switching

Re: [PATCH 1/6 v14] gpio: Add a block GPIO API to gpiolib

2013-01-27 Thread Roland Stigge
On 27/01/13 14:19, Stijn Devriendt wrote: +Block GPIO +-- + +The above described interface concentrates on handling single GPIOs. However, +in applications where it is critical to set several GPIOs at once, this +interface doesn't work well, e.g. bit-banging protocols via grouped

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-27 Thread Roland Stigge
On 27/01/13 14:07, Stijn Devriendt wrote: +Example: + +blockgpio { +compatible = linux,gpio-block; + +block0 { +gpios = gpio 3 0 0, +gpio 3 1 0; +}; +block1 {

Re: [PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-24 Thread Roland Stigge
On 01/24/2013 01:02 PM, Stijn Devriendt wrote: >> +static void lpc32xx_gpio_set_block_p3(struct gpio_chip *chip, >> + unsigned long mask, >> + unsigned long values) >> +{ >> + struct lpc32xx_gpio_chip *group =

Re: [PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-24 Thread Roland Stigge
On 01/24/2013 01:02 PM, Stijn Devriendt wrote: +static void lpc32xx_gpio_set_block_p3(struct gpio_chip *chip, + unsigned long mask, + unsigned long values) +{ + struct lpc32xx_gpio_chip *group =

Re: [PATCH 3/6 v14] gpio: Add userland device interface to block GPIO

2013-01-23 Thread Roland Stigge
On 23/01/13 02:03, Jonathan Corbet wrote: > On Tue, 22 Jan 2013 13:06:41 +0100 > Roland Stigge wrote: > >> This patch adds a character device interface to the block GPIO system. > > So I was looking at this, and a couple of things caught my eye... Good points you mention

Re: [PATCH 3/6 v14] gpio: Add userland device interface to block GPIO

2013-01-23 Thread Roland Stigge
On 23/01/13 02:03, Jonathan Corbet wrote: On Tue, 22 Jan 2013 13:06:41 +0100 Roland Stigge sti...@antcom.de wrote: This patch adds a character device interface to the block GPIO system. So I was looking at this, and a couple of things caught my eye... Good points you mentioned

[PATCH 2/6 v14] gpio: Add sysfs support to block GPIO API

2013-01-22 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux/gpio.h

[PATCH 4/6 v14] gpiolib: Fix default attributes for class

2013-01-22 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

[PATCH 0/6 v14] gpio: Add block GPIO

2013-01-22 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge Tested by: Wolfgang Grandegger -- Testing branch

[PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-22 Thread Roland Stigge
.) Signed-off-by: Roland Stigge For pinctrl-at91.c: Acked-by: Nicolas Ferre --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c | 56

[PATCH 3/6 v14] gpio: Add userland device interface to block GPIO

2013-01-22 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h| 13 + 3 files

[PATCH 1/6 v14] gpio: Add a block GPIO API to gpiolib

2013-01-22 Thread Roland Stigge
word: Once requested, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17 ++

[PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-22 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 100

[PATCH 1/6 v14] gpio: Add a block GPIO API to gpiolib

2013-01-22 Thread Roland Stigge
, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17

[PATCH 6/6 v14] gpio: Add block gpio to several gpio drivers

2013-01-22 Thread Roland Stigge
.) Signed-off-by: Roland Stigge sti...@antcom.de For pinctrl-at91.c: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c

[PATCH 3/6 v14] gpio: Add userland device interface to block GPIO

2013-01-22 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h

[PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-22 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c

[PATCH 0/6 v14] gpio: Add block GPIO

2013-01-22 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge sti...@antcom.de Tested by: Wolfgang Grandegger w

[PATCH 2/6 v14] gpio: Add sysfs support to block GPIO API

2013-01-22 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux

[PATCH 4/6 v14] gpiolib: Fix default attributes for class

2013-01-22 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

Re: [PATCH RESEND 1/6 v13] gpio: Add a block GPIO API to gpiolib

2013-01-18 Thread Roland Stigge
Hi Stijn, On 01/18/2013 01:13 PM, Stijn Devriendt wrote: > Hi Roland, > > This mail has been long overdue due to issues with some internal > permission-tool. > Just to be clear, this is not a competing implementation, it's what we > currently use as-is. I'm just posting this as a reference to

Re: [PATCH RESEND 1/6 v13] gpio: Add a block GPIO API to gpiolib

2013-01-18 Thread Roland Stigge
Hi Stijn, On 01/18/2013 01:13 PM, Stijn Devriendt wrote: Hi Roland, This mail has been long overdue due to issues with some internal permission-tool. Just to be clear, this is not a competing implementation, it's what we currently use as-is. I'm just posting this as a reference to see if

Re: [PATCH RESEND 6/6 v13] gpio: Add block gpio to several gpio drivers

2013-01-15 Thread Roland Stigge
On 01/15/2013 02:18 PM, Nicolas Ferre wrote: >> --- linux-2.6.orig/drivers/pinctrl/pinctrl-at91.c >> +++ linux-2.6/drivers/pinctrl/pinctrl-at91.c >> @@ -49,6 +49,7 @@ struct at91_gpio_chip { >> struct clk*clock;/* associated clock */ >> struct irq_domain*domain;

[PATCH RESEND 2/6 v13] gpio: Add sysfs support to block GPIO API

2013-01-15 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux/gpio.h

[PATCH RESEND 1/6 v13] gpio: Add a block GPIO API to gpiolib

2013-01-15 Thread Roland Stigge
word: Once requested, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17 ++

[PATCH RESEND 3/6 v13] gpio: Add userland device interface to block GPIO

2013-01-15 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h| 13 + 3 files

[PATCH RESEND 6/6 v13] gpio: Add block gpio to several gpio drivers

2013-01-15 Thread Roland Stigge
.) Signed-off-by: Roland Stigge --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c | 56 + drivers/gpio/gpio-ks8695.c| 34

[PATCH RESEND 0/6 v13] gpio: Add block GPIO

2013-01-15 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge Tested by: Wolfgang Grandegger -- Testing branch

[PATCH RESEND 5/6 v13] gpio: Add device tree support to block GPIO API

2013-01-15 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 100

[PATCH RESEND 4/6 v13] gpiolib: Fix default attributes for class

2013-01-15 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

[PATCH RESEND 4/6 v13] gpiolib: Fix default attributes for class

2013-01-15 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

[PATCH RESEND 5/6 v13] gpio: Add device tree support to block GPIO API

2013-01-15 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c

[PATCH RESEND 0/6 v13] gpio: Add block GPIO

2013-01-15 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge sti...@antcom.de Tested by: Wolfgang Grandegger w

[PATCH RESEND 3/6 v13] gpio: Add userland device interface to block GPIO

2013-01-15 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h

[PATCH RESEND 6/6 v13] gpio: Add block gpio to several gpio drivers

2013-01-15 Thread Roland Stigge
.) Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c | 56 + drivers/gpio/gpio-ks8695.c

[PATCH RESEND 2/6 v13] gpio: Add sysfs support to block GPIO API

2013-01-15 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux

[PATCH RESEND 1/6 v13] gpio: Add a block GPIO API to gpiolib

2013-01-15 Thread Roland Stigge
, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17

Re: [PATCH RESEND 6/6 v13] gpio: Add block gpio to several gpio drivers

2013-01-15 Thread Roland Stigge
On 01/15/2013 02:18 PM, Nicolas Ferre wrote: --- linux-2.6.orig/drivers/pinctrl/pinctrl-at91.c +++ linux-2.6/drivers/pinctrl/pinctrl-at91.c @@ -49,6 +49,7 @@ struct at91_gpio_chip { struct clk*clock;/* associated clock */ struct irq_domain*domain;/*

[PATCH 6/6 v13] gpio: Add block gpio to several gpio drivers

2012-12-30 Thread Roland Stigge
.) Signed-off-by: Roland Stigge --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c | 56 + drivers/gpio/gpio-ks8695.c| 34

[PATCH 1/6 v13] gpio: Add a block GPIO API to gpiolib

2012-12-30 Thread Roland Stigge
word: Once requested, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17 ++

[PATCH 2/6 v13] gpio: Add sysfs support to block GPIO API

2012-12-30 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux/gpio.h

[PATCH 4/6 v13] gpiolib: Fix default attributes for class

2012-12-30 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

[PATCH 0/6 v13] gpio: Add block GPIO

2012-12-30 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge Tested by: Wolfgang Grandegger -- Testing branch

[PATCH 3/6 v13] gpio: Add userland device interface to block GPIO

2012-12-30 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h| 13 + 3 files

[PATCH 5/6 v13] gpio: Add device tree support to block GPIO API

2012-12-30 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 100

[PATCH 3/6 v13] gpio: Add userland device interface to block GPIO

2012-12-30 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h

[PATCH 5/6 v13] gpio: Add device tree support to block GPIO API

2012-12-30 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c

[PATCH 0/6 v13] gpio: Add block GPIO

2012-12-30 Thread Roland Stigge
special accessor functions for block wise GPIO access (only for some selected drivers since the feature is optional and not suitable for all GPIO hardware) * Fix for race condition in gpiolib on device creation Signed-off-by: Roland Stigge sti...@antcom.de Tested by: Wolfgang Grandegger w

[PATCH 2/6 v13] gpio: Add sysfs support to block GPIO API

2012-12-30 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux

[PATCH 4/6 v13] gpiolib: Fix default attributes for class

2012-12-30 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge

[PATCH 6/6 v13] gpio: Add block gpio to several gpio drivers

2012-12-30 Thread Roland Stigge
.) Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/gpio/Kconfig |2 drivers/gpio/gpio-em.c| 23 ++ drivers/gpio/gpio-ge.c| 29 + drivers/gpio/gpio-generic.c | 56 + drivers/gpio/gpio-ks8695.c

[PATCH 1/6 v13] gpio: Add a block GPIO API to gpiolib

2012-12-30 Thread Roland Stigge
, it provides access to a group of GPIOs which can range over multiple GPIO chips. Signed-off-by: Roland Stigge sti...@antcom.de --- Documentation/gpio.txt | 58 +++ drivers/gpio/gpiolib.c | 227 + include/asm-generic/gpio.h | 17

Re: [PATCH 0/6 v12] gpio: Add block GPIO

2012-12-29 Thread Roland Stigge
On 29/12/12 13:13, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 13:01 Sat 29 Dec , Roland Stigge wrote: >> On 29/12/12 11:20, Jean-Christophe PLAGNIOL-VILLARD wrote: >>> On 17:49 Sun 23 Dec , Roland Stigge wrote: >>>> This set of patches adds: >>

Re: [PATCH 0/6 v12] gpio: Add block GPIO

2012-12-29 Thread Roland Stigge
Hi, On 29/12/12 11:20, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:49 Sun 23 Dec , Roland Stigge wrote: >> This set of patches adds: >> >> * Block GPIO API to gpiolib >> * Sysfs support for GPIO API, to provide userland access >> * Device interface

Re: [PATCH 0/6 v12] gpio: Add block GPIO

2012-12-29 Thread Roland Stigge
Hi, On 29/12/12 11:20, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:49 Sun 23 Dec , Roland Stigge wrote: This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO API, to provide userland access * Device interface for userland access (alternative to sysfs

Re: [PATCH 0/6 v12] gpio: Add block GPIO

2012-12-29 Thread Roland Stigge
On 29/12/12 13:13, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:01 Sat 29 Dec , Roland Stigge wrote: On 29/12/12 11:20, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:49 Sun 23 Dec , Roland Stigge wrote: This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO

  1   2   3   4   5   6   7   >