This is an up-port from the BSP. Unfortunately I could not test these because none of those pins seem to be accessible on Salvator boards (not on ULCB either, AFAICT), so the best thing I can say is that they don't seem to break anything. This revision incorporates the suggestions made by Geert; see below for details. CU Uli Changes since v1: - factor out identical macros to sh_pfc.h, comment them - sort pin groups - adjust for common/automotive split in r8a7796 Takeshi Kihara (3): pinctrl: sh-pfc: r8a7795: Add I2C{0,3,5} pins, groups and functions pinctrl: sh-pfc: r8a7795-es1: Add I2C{0,3,5} pins, groups and functions pinctrl: sh-pfc: r8a7796: Add I2C{0,3,5} pins, groups and functions Ulrich Hecht (1): pinctrl: sh-pfc: Add physical pin multiplexing helper macros drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c | 97 ++++++++++++++++++++++++------- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 95 ++++++++++++++++++++++++------- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 98 +++++++++++++++++++++++++------- drivers/pinctrl/sh-pfc/sh_pfc.h | 22 +++++++ 4 files changed, 248 insertions(+), 64 deletions(-) -- 2.7.4