mfd: stmpe: Get rid of irq_invert_polarity
[firefly-linux-kernel-4.4.55.git] / include / linux / mfd / stmpe.h
index f8d5b4d5843fc02ad7728c207992d0b33ac0c5a7..383ac1512a39d82542207a753ec13d2faf5d1e53 100644 (file)
@@ -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;
@@ -188,7 +190,6 @@ struct stmpe_ts_platform_data {
  * @id: device id to distinguish between multiple STMPEs on the same board
  * @blocks: bitmask of blocks to enable (use STMPE_BLOCK_*)
  * @irq_trigger: IRQ trigger to use for the interrupt to the host
- * @irq_invert_polarity: IRQ line is connected with reversed polarity
  * @autosleep: bool to enable/disable stmpe autosleep
  * @autosleep_timeout: inactivity timeout in milliseconds for autosleep
  * @irq_base: base IRQ number.  %STMPE_NR_IRQS irqs will be used, or
@@ -205,7 +206,6 @@ struct stmpe_platform_data {
        unsigned int blocks;
        int irq_base;
        unsigned int irq_trigger;
-       bool irq_invert_polarity;
        bool autosleep;
        bool irq_over_gpio;
        int irq_gpio;