Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 29 Nov 2017 13:46:01 +0100 | Subject | Re: [PATCH 2/3] pinctrl: intel: Allow custom GPIO base for pad groups |
| |
On Mon, Nov 27, 2017 at 2:54 PM, Mika Westerberg <mika.westerberg@linux.intel.com> wrote:
> Currently we always have direct mapping between GPIO numbers and the > hardware pin numbers. However, there are cases where that's not the case > anymore (more about this in the next patch). Instead we need to be able > to specify custom GPIO base for certain pad groups. > > To support this, add a new field (gpio_base) to the pad group structure > and update the core Intel pinctrl driver to handle this accordingly. > Passing 0 as gpio_base will use direct mapping so the existing drivers > do not need to be modified. Passing -1 excludes the whole pad group from > having GPIO mapping. > > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Patch applied with Andy's ACK.
Yours, Linus Walleij
| |