pinctrl: renesas: Add generic support for pin group subsets
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Dec 2021 14:41:15 +0000 (15:41 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 22 Feb 2022 08:55:56 +0000 (09:55 +0100)
commit49a7a2742580ccd6194fc2bb26e6777cba9cac58
treed835bc7d780833f541fa7931e1aa2b7367dacfb7
parenta0894be3e017c009736e648887579e363f3b6ed1
pinctrl: renesas: Add generic support for pin group subsets

It is fairly common for the pins in a pin group to be a subset of the
pins in another pin group.  Add a macro for defining a pin group that
refers to a subset of an array of pins.  This allows pin groups to share
pin data, and thus save memory.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/b56c4257aee1eab698bae2cf7a08aa05775c0a77.1640269757.git.geert+renesas@glider.be
drivers/pinctrl/renesas/sh_pfc.h