pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Thu, 16 Nov 2017 03:16:00 +0000 (12:16 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 Dec 2017 13:14:52 +0000 (14:14 +0100)
commitb16cd900de7911f96af17327a081a2141a0b763f
treeb743016a9153b41523fd1e0d6f2ab565dec8736a
parent82d2de5a4f646f7265ac5bc779f4a58164f2c0e9
pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D

This patch fixes the implementation incorrect of MOD_SEL1 bit[25:24]
value when STP_ISEN_1_D pin function is selected for IPSR16 bit[27:24].

This is a correction to the incorrect implementation of MOD_SEL register
pin assignment for R8A7795 SoC specification of R-Car Gen3 Hardware
User's Manual Rev.0.51E.

Fixes: 0b0ffc96dbe30fa9 ("pinctrl: sh-pfc: Initial R8A7795 PFC support)
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c