pinctrl: intel: Introduce new flag to force GPIO base to be 0
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Apr 2020 11:18:24 +0000 (14:18 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 Apr 2020 13:17:13 +0000 (16:17 +0300)
commit9bd59157e16c64b45da5315f5b49b659fe51984b
treea4ab72ad7f19e25f7e3ce17891d1b380b5bf26b7
parentd4b41f8bb26d9c0d526784797a7ea77dba7ed21d
pinctrl: intel: Introduce new flag to force GPIO base to be 0

In some cases not the first group would like to have GPIO base to be 0.
It's not possible right now due to 0 has special meaning already. Thus,
introduce a new flag to allow drivers to force GPIO base to be 0 on
a certain group. It's assumed that it can be only one group per device
with such flag enabled.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c
drivers/pinctrl/intel/pinctrl-intel.h