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
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 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
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 = to_lpc32xx_
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 sup
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
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>;
>> +};
>>
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
Hi Sascha,
On 08/29/2012 09:41 AM, Sascha Hauer wrote:
> On Thu, Aug 23, 2012 at 11:30:54AM +0200, Roland Stigge wrote:
>> Hi,
>>
>> I'd like to know about the current state of mxc_nand.c on imx53, because
>> I got an error on probe() because the clock that mxc_na
Hi Eric,
On 08/29/2012 05:28 PM, Eric Bénard wrote:
> Le Wed, 29 Aug 2012 17:20:17 +0200,
> Roland Stigge a écrit :
>> Using ".ecclayout_4k = &nandv2_hw_eccoob_4k" also doesn't work. So is
>> there any hint how I can proceed from here? Any plans or hint rega
On 08/31/2012 11:05 AM, Roland Stigge wrote:
> I tried to port this on top of Sascha's patches for imx53, only for mxc v3
> for now, as below.
>
> Unfortunately, I still get:
>
> ...
> UnCorrectable RS-ECC Error
> UnCorrectable RS-ECC Error
> UnCorrectable RS-
Hi Shiraz,
On 01/09/12 13:14, shiraz hashim wrote:
> On Wed, Aug 22, 2012 at 7:19 PM, Roland Stigge wrote:
>> @@ -2016,6 +2030,8 @@ pl022_probe(struct amba_device *adev, co
>> pl022->master_info = platform_info;
>> pl022->adev = adev;
>>
ludgy pointer arithmetic with managed memory allocation for the
chip selects.
Signed-off-by: Roland Stigge
---
drivers/spi/spi-pl022.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
--- linux-2.6.orig/drivers/spi/spi-pl022.c
+++ linux-2.6/drivers/spi/spi-pl022.c
@@ -2053,8 +2
On 09/03/2012 10:55 AM, Sascha Hauer wrote:
> On Fri, Aug 31, 2012 at 12:57:37PM +0200, Roland Stigge wrote:
>> On 08/31/2012 11:05 AM, Roland Stigge wrote:
>>> I tried to port this on top of Sascha's patches for imx53, only for mxc v3
>>> for now, as below.
&g
With "select USB_ISP1301 ...", it could happen that I2C isn't selected although
USB_ISP1301 depends on it. Fixing with "depends on ..." and emulating the
condition via "|| !()".
Signed-off-by: Roland Stigge
Acked-by: Alan Stern
---
drivers/usb/host/K
Hi Wolfram,
On 20/08/12 19:55, Wolfram Sang wrote:
>> I've never had my hands on a PNX4008 chip at NXP, but I do
>> believe they are the same IP. That specific I2C IP was used in a
>> number of NXP/Phillips chips besides the PNX4008/LPC32xx. I don't
>> think there are any PNX4008's in the wild, an
This patch removes the video driver for pnx4008. The architecture is being
removed via the arm-soc tree.
Signed-off-by: Roland Stigge
Acked-by: Arnd Bergmann
---
Applies to v3.6-rc4
drivers/video/Kconfig| 15
drivers/video/Makefile |2
drivers/video/pnx4008
On 12/09/12 22:33, Alexandre Pereira da Silva wrote:
> This message is an debugging message. It's useful for finding protocol
> details but it's not necessarily an error.
>
> Signed-off-by: Alexandre Pereira da Silva
Acked-by: Roland Stigge
Yes, the Kevin Wells at NXP co
Hi,
On 04/10/12 01:07, Linus Walleij wrote:
>> What do others think? JC? Linus? I'm considering this (unsigned int
>> data) a valid option.
>
> I think we mostly use an unsigned long for such stuff as IRQ flags
> and ioctl() parameters in the kernel.
>
> In this case it has the upside that it wi
This patch adds block GPIO API support to the MAX730x driver.
Due to hardware constraints in this chip, simultaneous access to GPIO lines can
only be done in groups of 8: GPIOs 0-7, 8-15, 16-23, 24-27. However, setting
and clearing will be done at once.
Signed-off-by: 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
---
NOTE: This is only useful if individual drivers implement the .get_block() and
.set_block() functions. I'm providing an example implementation for max730x
(see n
This patch supplements pinctl support on i.MX53.
Signed-off-by: Roland Stigge
---
arch/arm/boot/dts/imx53.dtsi | 46 +++
1 file changed, 46 insertions(+)
--- linux-2.6.orig/arch/arm/boot/dts/imx53.dtsi
+++ linux-2.6/arch/arm/boot/dts/imx53.dtsi
This patch fixes CAN clocking on i.MX53.
Signed-off-by: Roland Stigge
---
arch/arm/mach-imx/clk-imx51-imx53.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.orig/arch/arm/mach-imx/clk-imx51-imx53.c
+++ linux-2.6/arch/arm/mach-imx/clk-imx51-imx53.c
@@ -426,10
This patch fixes watchdog support after devicetree switch for imx53
Signed-off-by: Roland Stigge
---
arch/arm/mach-imx/Kconfig |1 +
1 file changed, 1 insertion(+)
--- linux-2.6.orig/arch/arm/mach-imx/Kconfig
+++ linux-2.6/arch/arm/mach-imx/Kconfig
@@ -739,6 +739,7 @@ config
Hi!
On 10/26/2012 10:59 AM, Sascha Hauer wrote:
> On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote:
>> This patch fixes CAN clocking on i.MX53.
>>
>> Signed-off-by: Roland Stigge
>>
>> ---
>> arch/arm/mach-imx/clk-imx51-imx53.c |8
On 10/26/2012 12:30 PM, Marc Kleine-Budde wrote:
+ clk[can1_serial_gate] = imx_clk_gate2("can1_serial_gate",
"can_sel", MXC_CCM_CCGR4, 6); +clk[can1_ipg_gate] =
imx_clk_gate2("can1_ipg_gate", "ipg", MXC_CCM_CCGR4, 8); +
clk[can2_serial_gate] = imx_clk_gate2("can2_serial_gat
On 10/26/2012 01:05 PM, Roland Stigge wrote:
> On 10/26/2012 12:30 PM, Marc Kleine-Budde wrote:
>>>>> + clk[can1_serial_gate] = imx_clk_gate2("can1_serial_gate",
>>>>> "can_sel", MXC_CCM_CCGR4, 6); + clk[can1_ipg_gate] =
>>>>>
Hi Grant,
thank you for your feedback!
Notes below.
On 10/31/2012 04:00 PM, Grant Likely wrote:
> Linus and I just sat down and talked about your changes. I think I
> understand what you need to do, but I've got concerns about the
> approach. I'm already not a big fan of the sysfs gpio interface
Hi Linus,
thanks for your notes, comments below:
On 10/31/2012 03:06 PM, Linus Walleij wrote:
>> +struct gpio_block *gpio_block_create(unsigned *gpios, size_t size,
>> +const char *name)
>> +{
>> + struct gpio_block *block;
>> + struct gpio_block_ch
On 10/31/2012 07:59 PM, Grant Likely wrote:
>> Pin direction currently needs to be set up separately, analogous to
>> requesting gpios. Need to document this better, right. The assumption is
>> that I/O needs to be efficient primarily, before bloating the API with
>> direction functions. Or should
Hi!
On 09/23/2012 09:34 PM, Florian Tobias Schandinat wrote:
> On 08/26/2012 02:23 PM, Roland Stigge wrote:
>> This patch removes the video driver for pnx4008. The architecture is being
>> removed via the arm-soc tree.
>>
>> Signed-off-by: Roland Stigge
>
> Ap
On 24/09/12 21:55, Linus Walleij wrote:
For GPIOs of gpio-lpc32xx, gpio_direction_output() ignores the value argument
(initial value of output). This patch fixes this by setting the level
accordingly.
Signed-off-by: Roland Stigge
Applied with Alexandre's ACK, should go into stable righ
For GPIOs of gpio-lpc32xx, gpio_direction_output() ignores the value argument
(initial value of output). This patch fixes this by setting the level
accordingly.
Signed-off-by: Roland Stigge
Acked-by: Alexandre Pereira da Silva
---
Applies to v3.6-rc7
drivers/gpio/gpio-lpc32xx.c |5
lizer" but this doesn't
harm.
Signed-off-by: Roland Stigge
---
arch/arm/mach-lpc32xx/include/mach/gpio-lpc32xx.h |2 +-
drivers/gpio/gpio-lpc32xx.c |3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.orig/drivers/gpio/gpio-lpc32xx.c
+
This patch adds documentation for set_debounce in struct device_node.
Signed-off-by: Roland Stigge
---
include/asm-generic/gpio.h |2 ++
1 file changed, 2 insertions(+)
--- linux-2.6.orig/include/asm-generic/gpio.h
+++ linux-2.6/include/asm-generic/gpio.h
@@ -60,6 +60,8 @@ struct
)
Roland Stigge (1):
ARM: LPC32xx: LED fix in PHY3250 DTS file
arch/arm/boot/dts/phy3250.dts | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
the git repository at:
git://git.antcom.de/linux-2.6.git lpc32xx/core
for you to fetch changes up to 8e4b97e3b8fd6a7f86bf8b38e7975549f2c48a78:
ARM: LPC32xx: Support GPI 28 (2012-09-25 10:19:23 +0200)
Roland Stigge (3
ference to
`matrix_keypad_build_keymap'
Signed-off-by: Roland Stigge
---
drivers/input/keyboard/Kconfig |1 +
1 file changed, 1 insertion(+)
--- linux-2.6.orig/drivers/input/keyboard/Kconfig
+++ linux-2.6/drivers/input/keyboard/Kconfig
@@ -335,6 +335,7 @@ config KEYBOARD_LOCOMO
config K
This patch makes leds-gpio's probe() return -EPROBE_DEFER if any of the gpios
to register are deferred themselves. This makes a change of
gpio_leds_create_of()'s return value necessary: Instead of returning NULL on
error, we now use ERR_PTR() error coding.
Signed-off-by: Rol
Hi,
consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is
called at a point where it accesses
irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq but which is not yet
initialized.
(This bug just surfaced on lpc32xx when the chained interrupt controller
SIC2 wasn't working. SIC1 does, bu
coccinelle.lip6.fr/):
> //
> @@
> expression E;
> @@
> ... when != mdiobus_unregister(E);
>
> + mdiobus_unregister(E);
> mdiobus_free(E);
> //
>
> Signed-off-by: Peter Senna Tschudin
Tested-by: Roland Stigge
Thanks for the patch!
Roland
> ---
> This problem is
On 28/10/12 18:34, Thomas Gleixner wrote:
> On Sun, 28 Oct 2012, Roland Stigge wrote:
>> consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is
>> called at a point where it accesses
>> irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq but which is not yet
>
This patch removes the call to irq_alloc_descs() which always returns an error
since the descriptors are always preallocated already.
Signed-off-by: Roland Stigge
---
arch/arm/mach-lpc32xx/irq.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
--- linux-2.6.orig/arch/arm/mach
: Roland Stigge
---
arch/arm/mach-lpc32xx/irq.c |5 -
1 file changed, 5 deletions(-)
--- linux-2.6.orig/arch/arm/mach-lpc32xx/irq.c
+++ linux-2.6/arch/arm/mach-lpc32xx/irq.c
@@ -442,11 +442,6 @@ void __init lpc32xx_init_irq(void)
lpc32xx_set_default_mappings(SIC1_APR_DEFAULT
tartup()
-> irq_enable()
-> desc->irq_data.chip->irq_unmask()
at which point lpc32xx_unmask_irq() effectively read desc->irq_data.hwirq which
was only later initialized.
Signed-off-by: Roland Stigge
---
arch/arm/mach-lpc32xx/irq.c |8
1 file changed, 4 insertions(+), 4 deletions(-
This patch adds sysfs support to the block GPIO API.
Signed-off-by: Roland Stigge
Signed-off-by: Greg Kroah-Hartman
---
Documentation/ABI/testing/sysfs-gpio | 18 ++
drivers/gpio/gpiolib.c | 214 +++
include/asm-generic/gpio.h | 11
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 | 84
This patch adds block GPIO support to several gpio drivers.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-em.c | 23
drivers/gpio/gpio-generic.c | 56 ++
drivers/gpio/gpio-lpc32xx.c | 82
race condition in gpiolib on device creation
Signed-off-by: Roland Stigge
--
Changes since v5:
* Documented sysfs: elaborated on "exported" and "values" attributes
* Documented sysfs: gpiochip is a separate class now
* Aggregated driver support patches for block gpio i
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 | 47 +
drivers/gpio/gpiolib.c | 217 +
include/asm-generic/gpio.h | 15 +++
inc
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
On 10/29/2012 01:08 PM, Alexandre Pereira da Silva wrote:
> I am getting oops on 3.7-rc3 at reboot.
>
> This is an LPC32XX machine. This problem only happens when I connect
> the ethernet cable and get an IP address.
>
> Here are the kernel messages.
> [ 38.57] Unable to handle kernel pagin
On 10/29/2012 02:51 PM, Alexandre Pereira da Silva wrote:
>> I just tried both on a PHY3250 reference machine, and on a custom board
>> and couldn't reproduce sth. like this. Booted the kernel and connected
>> the ethernet cable later on, as well as with cable connected on boot.
>
> This is happen
y" needs to be
documented better or changed, though, to prevent more confusion like in
the above case.
Thanks,
Roland
> On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote:
>> This patch fixes CAN clocking on i.MX53.
>>
>> Signed-off-by: Roland Sti
used 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-lp
On 09/06/2012 07:42 AM, Stephen Rothwell wrote:
> Today's linux-next merge of the arm-soc tree got a conflict in
> drivers/usb/host/Kconfig between commit 952230d774bb ("usb: ohci:
> Fix Kconfig dependency on USB_ISP1301") from the usb tree and
> commit d684f05f2d55 ("ARM: mach-pnx4008: Remove arc
Hi!
On 07/10/12 21:47, Jean-Christophe PLAGNIOL-VILLARD wrote:
>> +This creates a new block of GPIOs as a list of GPIO numbers with the
>> specified
>> +size which are accessible via the returned struct gpio_block and the
>> accessor
>> +functions described below. Please note that you need to re
Hi David and Artem!
On 05/10/12 11:30, Roland Stigge wrote:
> just small reminder, just in case: Now would be a good opportunity for a
> pull request for mtd to mainline, if not already done. ;-)
I found two others asking on the mtd list for the same, but also without
a reply.
So I hope y
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 | 84
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 ++
This patch adds block GPIO support to several gpio drivers.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-em.c | 23
drivers/gpio/gpio-generic.c | 56 ++
drivers/gpio/gpio-lpc32xx.c | 82
This patch adds a character device interface to the block GPIO system.
Signed-off-by: Roland Stigge
---
Documentation/ABI/testing/dev-gpioblock | 25 ++
drivers/gpio/gpiolib.c | 121 +++-
include/linux/gpio.h|4 +
3
special accessor functions for block wise GPIO access
* Fix for race condition in gpiolib on device creation
Signed-off-by: Roland Stigge
--
Changes since v7:
* Fixed error in API documentation (name arg missing in prototype)
* Fixed compile error if sysfs is missing: Moved gpio_block_is_output
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 | 247 +++
include/asm-generic/gpio.h | 11 +
include/linux/gpio.h
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
special accessor functions for block wise GPIO access
* Fix for race condition in gpiolib on device creation
Signed-off-by: Roland Stigge
--
Changed since v8:
* Added poll() function to dev interface for IRQ handling
* Fixed gpio_block_register() in case of missing CONFIG_GPIO_SYSFS
* Fixed mask
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 | 84
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
This patch adds block GPIO support to several gpio drivers.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-em.c | 23
drivers/gpio/gpio-generic.c | 56 ++
drivers/gpio/gpio-lpc32xx.c | 82
Hi Wolfgang,
On 03/12/12 10:17, Wolfgang Grandegger wrote:
> I re-tried v8 on my AT91-SAM9G45 board and it works fine if
> CONFIG_GPIO_SYSFS is enable. Unfortunately, the access via misc device
> fails if CONFIG_GPIO_SYSFS is not set. That's due to gpio_block_export()
> returning -ENOSYS in gpio_b
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 ++
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 | 208 +++-
include/linux/gpio.h| 10 +
3
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 | 250 ++-
include/asm-generic/gpio.h | 11 +
include/linux/gpio.h
Hi Wolfgang,
On 05/12/12 19:44, Wolfgang Grandegger wrote:
>> * There is probably an explicit interrupt configuration necessary (via
>> struct gpio_block, and devicetree, respectively) since there are
>> constellations where gpio_to_irq() isn't working. E.g., in contrast to
>> controllers which ar
Hi Wolfgang,
On 05/12/12 20:01, Wolfgang Grandegger wrote:
>> +for (i = 0; i < block->ngpio; i++) {
>> +status = gpio_request(block->gpio[i], "gpioblock dev");
>
> You could use the name of the GPIO block.
OK.
>> +if (status)
>> +goto err1;
>> +
>
On 10/16/2012 06:43 PM, Greg KH wrote:
> On Tue, Oct 16, 2012 at 02:53:45PM +0200, Roland Stigge wrote:
>> On 10/16/2012 01:57 AM, Greg KH wrote:
>>> On Tue, Oct 16, 2012 at 01:31:18AM +0200, Roland Stigge wrote:
>>>> +int gpio_block_export(struct gpio_blo
race condition in gpiolib on device creation
Signed-off-by: Roland Stigge
--
Changes since v4:
* Documented word width
* Bugfix: export/unexport on register/unregister
* Using default dev_attrs for gpio_block_class
* Fix gpiolib: race condition on device creation
* Added driver support for
This patch adds block GPIO API support to the gpio-pl061 driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-pl061.c | 17 +
1 file changed, 17 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-pl061.c
+++ linux-2.6/drivers/gpio/gpio-pl061.c
@@ -123,6 +123,21
This patch adds block GPIO API support to the gpio-xilinx driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-xilinx.c | 44
1 file changed, 44 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-xilinx.c
+++ linux-2.6/drivers/gpio/gpio
This patch adds block GPIO API support to the gpio-vt8500 driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-vt8500.c | 24
1 file changed, 24 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-vt8500.c
+++ linux-2.6/drivers/gpio/gpio-vt8500.c
@@ -209,6
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 | 84
This patch adds block GPIO API support to the gpio-ucb1400 driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-ucb1400.c | 23 +++
1 file changed, 23 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-ucb1400.c
+++ linux-2.6/drivers/gpio/gpio-ucb1400.c
@@ -45,6
This patch adds block GPIO API support to the gpio-pcf857x driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-pcf857x.c | 24
1 file changed, 24 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-pcf857x.c
+++ linux-2.6/drivers/gpio/gpio-pcf857x.c
@@ -158,6
This patch adds block GPIO API support to the gpio-max732x driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-max732x.c | 59
1 file changed, 59 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-max732x.c
+++ linux-2.6/drivers/gpio/gpio
This patch adds sysfs support to the block GPIO API.
Signed-off-by: Roland Stigge
---
Documentation/ABI/testing/sysfs-gpio |6
drivers/gpio/gpiolib.c | 214 +++
include/asm-generic/gpio.h | 11 +
include/linux/gpio.h
This patch adds block GPIO API support to the gpio-generic driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-generic.c | 56
1 file changed, 56 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-generic.c
+++ linux-2.6/drivers/gpio/gpio
There is a race condition between creating a gpio or gpiochip device and adding
default attribues. 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
This patch adds block GPIO API support to the gpio-em driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-em.c | 23 +++
1 file changed, 23 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-em.c
+++ linux-2.6/drivers/gpio/gpio-em.c
@@ -203,6 +203,27 @@ static
This patch adds block GPIO API support to the LPC32xx driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-lpc32xx.c | 82
1 file changed, 82 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-lpc32xx.c
+++ linux-2.6/drivers/gpio/gpio
This patch adds block GPIO API support to the gpio-pca953x driver.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-pca953x.c | 64
1 file changed, 64 insertions(+)
--- linux-2.6.orig/drivers/gpio/gpio-pca953x.c
+++ linux-2.6/drivers/gpio/gpio
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 | 47 +
drivers/gpio/gpiolib.c | 217 +
include/asm-generic/gpio.h | 15 +++
inc
This patch adds block GPIO API support to the MAX730x driver.
Due to hardware constraints in this chip, simultaneous access to GPIO lines can
only be done in groups of 8: GPIOs 0-7, 8-15, 16-23, 24-27. However, setting
and clearing will be done at once.
Signed-off-by: Roland Stigge
On 10/17/2012 09:05 PM, Greg KH wrote:
>> +static int gpio_block_value_unexport(struct gpio_block *block)
>> +{
>> +struct device *dev;
>> +int i;
>> +
>> +dev = class_find_device(&gpio_block_class, NULL, block, match_export);
>> +if (!dev)
>> +return -ENOD
This patch adds device tree support to the rtc-imxdi driver.
Signed-off-by: Roland Stigge
---
Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 17 +
drivers/rtc/rtc-imxdi.c | 11 +++
2 files changed, 28 insertions(+)
--- /dev/null
This patch enables support for i.MX53 in addition to i.MX25 by enabling the
driver on ARCH_MXC generally.
Signed-off-by: Roland Stigge
---
drivers/rtc/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.orig/drivers/rtc/Kconfig
+++ linux-2.6/drivers/rtc/Kconfig
This patch enables support for i.MX53 in addition to i.MX25 by providing a
dummy clock on i.MX53 since this one doesn't have a separate clock for internal
RTC but the driver requests one.
Signed-off-by: Roland Stigge
---
arch/arm/mach-imx/clk-imx51-imx53.c |1 +
1 file changed, 1 inse
On 10/19/2012 12:35 PM, Linus Walleij wrote:
> On Thu, Oct 18, 2012 at 12:07 PM, Roland Stigge wrote:
>> On 10/17/2012 09:05 PM, Greg KH wrote:
>>>>
>>>> +if (value != exported) {
>>>> +if (value)
>>>> +
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
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 | 84
This patch adds block GPIO support to several gpio drivers.
Signed-off-by: Roland Stigge
---
drivers/gpio/gpio-em.c | 23
drivers/gpio/gpio-generic.c | 56 ++
drivers/gpio/gpio-lpc32xx.c | 82
1 - 100 of 332 matches
Mail list logo