Merge drm/drm-next into drm-intel-gt-next
[linux-2.6-microblaze.git] / drivers / pinctrl / samsung / pinctrl-exynos.h
index da1ec13..bfad1ce 100644 (file)
                .pctl_res_idx   = pctl_idx,                     \
        }                                                       \
 
+#define EXYNOS850_PIN_BANK_EINTN(pins, reg, id)                        \
+       {                                                       \
+               .type           = &exynos850_bank_type_alive,   \
+               .pctl_offset    = reg,                          \
+               .nr_pins        = pins,                         \
+               .eint_type      = EINT_TYPE_NONE,               \
+               .name           = id                            \
+       }
+
+#define EXYNOS850_PIN_BANK_EINTG(pins, reg, id, offs)          \
+       {                                                       \
+               .type           = &exynos850_bank_type_off,     \
+               .pctl_offset    = reg,                          \
+               .nr_pins        = pins,                         \
+               .eint_type      = EINT_TYPE_GPIO,               \
+               .eint_offset    = offs,                         \
+               .name           = id                            \
+       }
+
+#define EXYNOS850_PIN_BANK_EINTW(pins, reg, id, offs)          \
+       {                                                       \
+               .type           = &exynos850_bank_type_alive,   \
+               .pctl_offset    = reg,                          \
+               .nr_pins        = pins,                         \
+               .eint_type      = EINT_TYPE_WKUP,               \
+               .eint_offset    = offs,                         \
+               .name           = id                            \
+       }
+
 /**
  * struct exynos_weint_data: irq specific data for all the wakeup interrupts
  * generated by the external wakeup interrupt controller.