diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-exynos.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-exynos.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/pinctrl/pinctrl-exynos.h b/drivers/pinctrl/pinctrl-exynos.h index 0a708890d8b4..9b1f77a5bf0f 100644 --- a/drivers/pinctrl/pinctrl-exynos.h +++ b/drivers/pinctrl/pinctrl-exynos.h | |||
@@ -48,26 +48,18 @@ | |||
48 | 48 | ||
49 | #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ | 49 | #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ |
50 | { \ | 50 | { \ |
51 | .type = &bank_type_off, \ | ||
51 | .pctl_offset = reg, \ | 52 | .pctl_offset = reg, \ |
52 | .nr_pins = pins, \ | 53 | .nr_pins = pins, \ |
53 | .func_width = 4, \ | ||
54 | .pud_width = 2, \ | ||
55 | .drv_width = 2, \ | ||
56 | .conpdn_width = 2, \ | ||
57 | .pudpdn_width = 2, \ | ||
58 | .eint_type = EINT_TYPE_NONE, \ | 54 | .eint_type = EINT_TYPE_NONE, \ |
59 | .name = id \ | 55 | .name = id \ |
60 | } | 56 | } |
61 | 57 | ||
62 | #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ | 58 | #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ |
63 | { \ | 59 | { \ |
60 | .type = &bank_type_off, \ | ||
64 | .pctl_offset = reg, \ | 61 | .pctl_offset = reg, \ |
65 | .nr_pins = pins, \ | 62 | .nr_pins = pins, \ |
66 | .func_width = 4, \ | ||
67 | .pud_width = 2, \ | ||
68 | .drv_width = 2, \ | ||
69 | .conpdn_width = 2, \ | ||
70 | .pudpdn_width = 2, \ | ||
71 | .eint_type = EINT_TYPE_GPIO, \ | 63 | .eint_type = EINT_TYPE_GPIO, \ |
72 | .eint_offset = offs, \ | 64 | .eint_offset = offs, \ |
73 | .name = id \ | 65 | .name = id \ |
@@ -75,11 +67,9 @@ | |||
75 | 67 | ||
76 | #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ | 68 | #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ |
77 | { \ | 69 | { \ |
70 | .type = &bank_type_alive, \ | ||
78 | .pctl_offset = reg, \ | 71 | .pctl_offset = reg, \ |
79 | .nr_pins = pins, \ | 72 | .nr_pins = pins, \ |
80 | .func_width = 4, \ | ||
81 | .pud_width = 2, \ | ||
82 | .drv_width = 2, \ | ||
83 | .eint_type = EINT_TYPE_WKUP, \ | 73 | .eint_type = EINT_TYPE_WKUP, \ |
84 | .eint_offset = offs, \ | 74 | .eint_offset = offs, \ |
85 | .name = id \ | 75 | .name = id \ |