pinctrl: lewisburg: Provide Interrupt Status register offset
Since some of the GPIO controllers use different Interrupt Status offset, it make sense to provide it explicitly in the driver. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
Родитель
2a2ed47521
Коммит
3b1e9188df
|
@ -17,6 +17,7 @@
|
||||||
#define LBG_PAD_OWN 0x020
|
#define LBG_PAD_OWN 0x020
|
||||||
#define LBG_PADCFGLOCK 0x060
|
#define LBG_PADCFGLOCK 0x060
|
||||||
#define LBG_HOSTSW_OWN 0x080
|
#define LBG_HOSTSW_OWN 0x080
|
||||||
|
#define LBG_GPI_IS 0x100
|
||||||
#define LBG_GPI_IE 0x110
|
#define LBG_GPI_IE 0x110
|
||||||
|
|
||||||
#define LBG_COMMUNITY(b, s, e) \
|
#define LBG_COMMUNITY(b, s, e) \
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
.padown_offset = LBG_PAD_OWN, \
|
.padown_offset = LBG_PAD_OWN, \
|
||||||
.padcfglock_offset = LBG_PADCFGLOCK, \
|
.padcfglock_offset = LBG_PADCFGLOCK, \
|
||||||
.hostown_offset = LBG_HOSTSW_OWN, \
|
.hostown_offset = LBG_HOSTSW_OWN, \
|
||||||
|
.is_offset = LBG_GPI_IS, \
|
||||||
.ie_offset = LBG_GPI_IE, \
|
.ie_offset = LBG_GPI_IE, \
|
||||||
.gpp_size = 24, \
|
.gpp_size = 24, \
|
||||||
.pin_base = (s), \
|
.pin_base = (s), \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче