summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/pinctrl-lewisburg.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-07-23 18:56:32 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-08-07 16:45:41 +0300
commit3b1e9188df9ca794b089090de22d7cfc23732dc5 (patch)
treea438e7e9447ff85fa28a7ec2cff8a7f0fb7f43bf /drivers/pinctrl/intel/pinctrl-lewisburg.c
parent2a2ed4752108a641651bb103542000810d5d89b4 (diff)
downloadlinux-sh-3b1e9188df9ca794b089090de22d7cfc23732dc5.tar.gz
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>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-lewisburg.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-lewisburg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-lewisburg.c b/drivers/pinctrl/intel/pinctrl-lewisburg.c
index 03b04c7ae9e8..2e06fb1464ab 100644
--- a/drivers/pinctrl/intel/pinctrl-lewisburg.c
+++ b/drivers/pinctrl/intel/pinctrl-lewisburg.c
@@ -17,6 +17,7 @@
#define LBG_PAD_OWN 0x020
#define LBG_PADCFGLOCK 0x060
#define LBG_HOSTSW_OWN 0x080
+#define LBG_GPI_IS 0x100
#define LBG_GPI_IE 0x110
#define LBG_COMMUNITY(b, s, e) \
@@ -25,6 +26,7 @@
.padown_offset = LBG_PAD_OWN, \
.padcfglock_offset = LBG_PADCFGLOCK, \
.hostown_offset = LBG_HOSTSW_OWN, \
+ .is_offset = LBG_GPI_IS, \
.ie_offset = LBG_GPI_IE, \
.gpp_size = 24, \
.pin_base = (s), \