mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
mfd: Provide the STMPE driver with its own IRQ domain
The STMPE driver is yet another IRQ controller which requires its own IRQ domain. So, we provide it with one. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
7da0cbfc54
commit
76f93992e4
2 changed files with 52 additions and 32 deletions
|
@ -62,6 +62,7 @@ struct stmpe_client_info;
|
|||
* @lock: lock protecting I/O operations
|
||||
* @irq_lock: IRQ bus lock
|
||||
* @dev: device, mostly for dev_dbg()
|
||||
* @irq_domain: IRQ domain
|
||||
* @client: client - i2c or spi
|
||||
* @ci: client specific information
|
||||
* @partnum: part number
|
||||
|
@ -79,6 +80,7 @@ struct stmpe {
|
|||
struct mutex lock;
|
||||
struct mutex irq_lock;
|
||||
struct device *dev;
|
||||
struct irq_domain *domain;
|
||||
void *client;
|
||||
struct stmpe_client_info *ci;
|
||||
enum stmpe_partnum partnum;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue