aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gpio-dwapb.h
AgeCommit message (Collapse)AuthorFilesLines
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner1-9/+1
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms and conditions of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 263 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Alexios Zavras <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-05-28gpio: dwapb: Fix rework support for 1 interrupt per port A GPIOPhil Edworthy1-1/+1
Commit da069d5d2b814d9887989dcdb29fb0202eac8b38 ("gpio: dwapb: Rework support for 1 interrupt per port A GPIO"), was an incremental patch that was supposed to provide the delta between v5 and v6 patch set for adding support for 1 interupt per port A GPIO. v5 was applied, then some other feedback came afterwards. However, in my haste I managed to drop the changes made to dwapb_port_property struct. This patch includes those missing changes. Signed-off-by: Phil Edworthy <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2018-05-16gpio: dwapb: Add support for 1 interrupt per port A GPIOPhil Edworthy1-1/+2
The DesignWare GPIO IP can be configured for either 1 interrupt or 1 per GPIO in port A, but the driver currently only supports 1 interrupt. See the DesignWare DW_apb_gpio Databook description of the 'GPIO_INTR_IO' parameter. This change allows the driver to work with up to 32 interrupts, it will get as many interrupts as specified in the DT 'interrupts' property. It doesn't do anything clever with the different interrupts, it just calls the same handler used for single interrupt hardware. ACPI companion code provided by Hoan Tran <[email protected]>. This was tested on X-Gene by Hoan. Signed-off-by: Phil Edworthy <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Hoan Tran <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2016-04-29gpio: dwapb: convert device node to fwnodeJiang Qiu1-1/+1
This patch converts device node to fwnode for dwapb driver, so as to provide a unified fwnode for DT and ACPI bindings. Tested-by: Alan Tull <[email protected]> Acked-by: Andy Shevchenko <[email protected]> Signed-off-by: Jiang Qiu <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2016-04-29gpio: dwapb: remove name from dwapb_port_propertyJiang Qiu1-1/+0
This patch removed the name property from dwapb_port_property. The name property is redundant, since we can get this info from dwapb_gpio dev node. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Jiang Qiu <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-09-23GPIO: gpio-dwapb: Enable platform driver binding to MFD driverWeike Chen1-0/+32
The Synopsys DesignWare APB GPIO driver only supports open firmware devices. But, like Intel Quark X1000 SOC, which has a single PCI function exporting a GPIO and an I2C controller, it is a Multifunction device. This patch is to enable the current Synopsys DesignWare APB GPIO driver to support the Multifunction device which exports the designware GPIO controller. Reviewed-by: Hock Leong Kweh <[email protected]> Signed-off-by: Weike Chen <[email protected]> Signed-off-by: Linus Walleij <[email protected]>