aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pl061.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-04gpio: pl061: use chained_irq_* functions in irq handlerRob Herring1-2/+4
Use chained_irq_enter/exit helper functions instead of direct pointer accesses. This is needed for generic irq chip conversion. Signed-off-by: Rob Herring <[email protected]> Acked-by: Grant Likely <[email protected]> Cc: Linus Walleij <[email protected]>
2012-01-04GPIO/pl061: Add suspend resume capabilityDeepak Sikri1-0/+68
This patch adds the suspend and resume operations in the driver. The patch ensures the data save and restore for the device registers during the suspend and resume operations respectively. Signed-off-by: Deepak Sikri <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Baruch Siach <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Grant Likely <[email protected]>
2011-12-13gpio: pl061: drop extra check for NULL platform_dataRob Herring1-4/+0
In adding DT binding support, the check for NULL platform_data got added back in inadvertently, so remove it. Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Grant Likely <[email protected]>
2011-11-22gpio: pl061: Enable module alias autogeneration for AMBA driversDave Martin1-0/+2
Signed-off-by: Dave Martin <[email protected]> Acked-by: Grant Likely <[email protected]>
2011-10-26gpio: pl061: add DT binding supportRob Herring1-10/+21
This adds devicetree binding support to the ARM pl061 driver removing the platform_data dependency. When DT binding is used, the gpio numbering is assigned dynamically. For now, interrupts are not supported with DT until irqdomains learn dynamic irq assignment. Rather than add another case of -1, updating the driver to use NO_IRQ. Signed-off-by: Rob Herring <[email protected]> Acked-by: Baruch Siach <[email protected]> Signed-off-by: Grant Likely <[email protected]>
2011-06-06gpio: reorganize driversGrant Likely1-0/+358
Sort the gpio makefile and enforce the naming convention gpio-*.c for gpio drivers. v2: cleaned up filenames in Kconfig and comment blocks v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc Signed-off-by: Grant Likely <[email protected]>