Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-20 | ARM: plat-iop: pass physical base for GPIO | Linus Walleij | 1 | -1/+1 | |
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 <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-09-20 | gpio: iop: use readl/writel accessors | Linus Walleij | 1 | -8/+16 | |
Use the standard 32bit I/O accessors instead of just assigning addresses. Cc: Lennert Buytenhek <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-09-20 | ARM: plat-iop: instantiate GPIO from platform device | Linus Walleij | 1 | -2/+34 | |
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 <linux/gpio.h> including <mach/gpio.h>. Delete the local <mach/gpio.h> and <asm/hardware/iop3xx-gpio.h> 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 <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-09-20 | ARM: plat-iop: remove custom complex GPIO implementation | Linus Walleij | 1 | -6/+3 | |
The kernel will now only use gpiolib to access GPIOs, so remove the complex GPIO flag and the custom implementation. Cc: Lennert Buytenhek <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-09-20 | gpio: decouple the IOP GPIO driver from platform | Linus Walleij | 1 | -2/+2 | |
This removes the only dependence between the IOP GPIO driver and the GENERIC_GPIO header in <mach/gpio.h> and its common implementation in the <asm/*> namespace by copying the one constant it is using into the driver file. Cc: Lennert Buytenhek <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-09-20 | ARM: plat-iop: move the GPIO driver to drivers/gpio | Linus Walleij | 1 | -0/+93 | |
Move the IOP GPIO driver to live with its siblings in the GPIO subsystem. Cc: Lennert Buytenhek <[email protected]> Cc: Dan Williams <[email protected]> Cc: Mikael Pettersson <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]> |