02 Oct, 2011
3 commits
-
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Eric Miao
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the PXA
GPIO driver down to the GPIO subsystem so it can be consolidated.Acked-by: Eric Miao
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Ryan Mallon
Acked-by: Hartley Sweeten
Acked-by: Grant Likely
Signed-off-by: Linus Walleij
Signed-off-by: Russell King
27 Sep, 2011
1 commit
-
This will eventually allow to be deleted. This mirrors
LinusW's recent equivalent work on various other ARM platforms.Signed-off-by: Stephen Warren
Acked-by: Olof Johansson
Signed-off-by: Russell King
26 Sep, 2011
1 commit
-
This centralizes all GPIO naming in one header.
Signed-off-by: Stephen Warren
Acked-by: Olof Johansson
Signed-off-by: Russell King
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
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
24 Aug, 2011
5 commits
-
This patch adds missing include of linux/types.h to fix below build error.
CC arch/arm/mach-mv78xx0/mpp.o
In file included from arch/arm/mach-mv78xx0/include/mach/gpio.h:9,
from /home/axel/repos/git/linux-2.6/arch/arm/include/asm/gpio.h:5,
from include/linux/gpio.h:18,
from arch/arm/mach-mv78xx0/mpp.c:10:
arch/arm/plat-orion/include/plat/gpio.h:28: error: expected declaration specifiers or '...' before 'u32'
make[1]: *** [arch/arm/mach-mv78xx0/mpp.o] Error 1
make: *** [arch/arm/mach-mv78xx0] Error 2Signed-off-by: Axel Lin
Reviewed-by: Peter Huewe
Signed-off-by: Russell King -
Tegra's uses type bool; we need to include
to get the definition.Signed-off-by: Stephen Warren
Signed-off-by: Russell King -
By not definining a custom gpio_to_irq, the default gpiolib version is
used, allowing platform consolidation.irq_to_gpio is deprecated and in the process of being removed. Make that
happen now for ARM Tegra.This also partially fixes the Tegra build; it was broken because gpio.h
referred to EINVAL, which wasn't always defined when was
included.Signed-off-by: Stephen Warren
Signed-off-by: Russell King -
Signed-off-by: Stephen Warren
Signed-off-by: Russell King -
irq_to_gpio is being removed. Replace the only use of that API by
the ARM Tegra sub-architecture.Signed-off-by: Stephen Warren
Signed-off-by: Russell King
23 Aug, 2011
2 commits
-
The PNX4008 header file is using the generic gpio and gpiolib
namespace in yet the GPIO interface is not generic
at all so rename it toThis fixes a build failure in current -next: the includes were
changed from to but since this
platform isn't using generic gpio did not include
and things broke apart.Acked-by: Vitaly Wool
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
After recent consolidations the Nomadik is entirely
superfluous, so get rid of it.Reported-by: Russell King
Signed-off-by: Linus Walleij
Signed-off-by: Russell King
22 Aug, 2011
15 commits
-
This function is not used in the assabet build, and on the whole the
call is hard to consolidate so get rid of it from this machine.Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the SA100
GPIO driver down to the GPIO subsystem so it can be consolidated.Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Wolfram Sang
Cc: Barry Song
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the LPC32XX
GPIO driver down to the GPIO subsystem so it can be consolidated.Cc: Wolfram Sang
Cc: Barry Song
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The ixp2000 abuses the namespace by not implementing
any generic GPIO nor gpiolib functions in it - just custom GPIO.
Rename the header to for clarity.Cc: Lennert Buytenhek
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
Remove the ep93xx machine specific dependencies for gpio_to_irq() by
hooking up the callback in the driver and using __gpio_to_irq.Signed-off-by: H Hartley Sweeten
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Sekhar Nori
Cc: Kevin Hilman
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the DaVinci TNET
GPIO driver down to the GPIO subsystem so it can be consolidated.Cc: Sekhar Nori
Cc: Kevin Hilman
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the DaVinci GPIO
driver down to the GPIO subsystem so it can be consolidated.Cc: Sekhar Nori
Cc: Kevin Hilman
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
Enabling the LEDs on the ks8695 doesn't even compile, fix it with
a proper include and also replace a with the proper
.Cc: zeal
Cc: Ben Dooks
Acked-by: Daniel Silverstone
Acked-by: Simtec Linux Team
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: zeal
Cc: Ben Dooks
Acked-by: Daniel Silverstone
Acked-by: Simtec Linux Team
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
As per example from the other ARM boards, push the KS8695 GPIO
driver down to the GPIO subsystem so it can be consolidated.Cc: zeal
Cc: Ben Dooks
Acked-by: Daniel Silverstone
Acked-by: Simtec Linux Team
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
This function is not used in the U300 build, and on the whole the
call is hard to consolidate so get rid of it from this machine.Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Srinidhi Kasagar
Cc: Alessandro Rubini
Signed-off-by: Linus Walleij
Signed-off-by: Russell King
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 -
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 -
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.txtAcked-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
08 Aug, 2011
8 commits
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King