02 Oct, 2011

3 commits


27 Sep, 2011

1 commit


26 Sep, 2011

1 commit


08 Sep, 2011

1 commit

  • This rewrites the U300 GPIO so as to use gpiolib and
    struct gpio_chip instead of just generic GPIO, hiding
    all the platform specifics and passing in GPIO chip
    variant as platform data at runtime instead of the
    compiletime kludges.

    As a result is now empty for U300 and
    using just defaults.

    Cc: Grant Likely
    Cc: Debian kernel maintainers
    Cc: Arnaud Patard
    Reported-by: Ben Hutchings
    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

05 Sep, 2011

1 commit

  • Since commit 5093aec872e5be7a55d8dd2b639e8a3818dc19db
    "arm: davinci: Cleanup irq chip code", the variable 'mask' and 'g'
    are not being used.

    This patch eliminate below unused variable warnings:

    CC drivers/gpio/gpio-davinci.o
    drivers/gpio/gpio-davinci.c: In function 'gpio_irq_type':
    drivers/gpio/gpio-davinci.c:234: warning: unused variable 'mask'
    drivers/gpio/gpio-davinci.c:233: warning: unused variable 'g'

    Signed-off-by: Axel Lin
    Signed-off-by: Russell King

    Axel Lin
     

24 Aug, 2011

5 commits


23 Aug, 2011

2 commits


22 Aug, 2011

15 commits


12 Aug, 2011

3 commits

  • Rather than marking the mach/gpio.h header files which want to use the
    trivial GPIOLIB implementation, mark those which do not want to use it
    instead. This means that by default, you get the trivial implementation
    and only have to do something extra if you need to. This should
    encourage the use of the trivial default implementation.

    As an additional bonus, several gpio.h header files become empty.

    Acked-by: H Hartley Sweeten
    Tested-by: Jamie Iles
    Acked-by: Kukjin Kim
    Signed-off-by: Russell King

    Russell King
     
  • Many of the gpio_to_irq implementations use the gpiolib version of this
    function. Provide the standard gpiolib gpio_to_irq() for everyone, but
    allow platforms to override it if they wish. Add the neccessary
    overrides for those platforms which do not use the standard definition.

    Acked-by: Kukjin Kim
    Signed-off-by: Russell King

    Russell King
     
  • Consolidate 24 trivial gpiolib implementions out of mach/gpio.h
    into asm/gpio.h. This is basically the include of asm-generic/gpio.h
    and the definition of gpio_get_value, gpio_set_value, and gpio_cansleep
    as described in Documentation/gpio.txt

    Acked-by: H Hartley Sweeten
    Tested-by: David Brown
    Acked-by: David Brown
    Tested-by: Linus Walleij
    Acked-by: Kukjin Kim
    Tested-by: Shawn Guo
    Signed-off-by: Russell King

    Russell King
     

08 Aug, 2011

8 commits