Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: broxton: 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>

+3 -1
+3 -1
drivers/pinctrl/intel/pinctrl-broxton.c
··· 15 15 #include "pinctrl-intel.h" 16 16 17 17 #define BXT_PAD_OWN 0x020 18 - #define BXT_HOSTSW_OWN 0x080 19 18 #define BXT_PADCFGLOCK 0x060 19 + #define BXT_HOSTSW_OWN 0x080 20 + #define BXT_GPI_IS 0x100 20 21 #define BXT_GPI_IE 0x110 21 22 22 23 #define BXT_COMMUNITY(s, e) \ ··· 25 24 .padown_offset = BXT_PAD_OWN, \ 26 25 .padcfglock_offset = BXT_PADCFGLOCK, \ 27 26 .hostown_offset = BXT_HOSTSW_OWN, \ 27 + .is_offset = BXT_GPI_IS, \ 28 28 .ie_offset = BXT_GPI_IE, \ 29 29 .gpp_size = 32, \ 30 30 .pin_base = (s), \