05 Apr, 2019
1 commit
-
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.Signed-off-by: Enrico Weigelt, metux IT consult
Signed-off-by: Linus Walleij
03 Dec, 2017
1 commit
-
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o
see include/linux/module.h for more informationThis adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
Signed-off-by: Jesse Chan
Signed-off-by: Linus Walleij
12 Sep, 2016
1 commit
-
This patch switches the driver to use the generic GPIO MMIO functions
that removes a bit of redundant and duplicate code.Signed-off-by: Linus Walleij
23 Feb, 2016
1 commit
-
Use devm_gpiochip_add_data() for GPIO registration.
Signed-off-by: Laxman Dewangan
05 Jan, 2016
1 commit
-
For completion, sweep the floor from all gpiochip_add() usage so
we can remove that function and get rid of the function wrapper
gpiochip_add().Signed-off-by: Linus Walleij
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
26 Mar, 2014
1 commit
-
devm_ioremap_resource() returns a pointer to the remapped memory or
an ERR_PTR() encoded error code on failure. Fix the check inside
iop3xx_gpio_probe() accordingly.Cc: Lennert Buytenhek
Cc: Mikael Pettersson
Cc: Aaro Koskinen
Signed-off-by: Bartlomiej Zolnierkiewicz
Acked-by: Alexandre Courbot
Acked-by: Dan Williams
Signed-off-by: Linus Walleij
21 Sep, 2013
6 commits
-
This alters the IOP platforms to pass a physical base for their
GPIO blocks and alters the driver to remap it when probing
instead of relying on the virtual addresses to be used.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij -
Use the standard 32bit I/O accessors instead of just assigning
addresses.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij -
This converts the IOP32x and IOP33x platforms to pass their
base address offset by a resource attached to a platform device
instead of using static offset macros implicitly passed
through including . Delete the
local and headers
and remove the selection of NEED_MACH_GPIO_H.Pass the virtual address as a resource in the platform device
at this point for bisectability, next patch will pass the
physical address as is custom.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij -
The kernel will now only use gpiolib to access GPIOs, so remove
the complex GPIO flag and the custom implementation.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij -
This removes the only dependence between the IOP GPIO
driver and the GENERIC_GPIO header in
and its common implementation in the namespace
by copying the one constant it is using into the driver
file.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij -
Move the IOP GPIO driver to live with its siblings in the
GPIO subsystem.Cc: Lennert Buytenhek
Cc: Dan Williams
Cc: Mikael Pettersson
Tested-by: Aaro Koskinen
Signed-off-by: Linus Walleij