]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: renesas: r8a779g0: Fix Group 4/5 pin functions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Nov 2022 13:18:37 +0000 (14:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:36 +0000 (23:03 +0900)
commit017ed16721825d9cfc9b7955a39086f0cf2122f8
tree33a85ac7f34f0eae16b3c999f34b7c94ac79ddb0
parentbcbbb2881ac1bad937ef1d57719e5c79ed2dff12
pinctrl: renesas: r8a779g0: Fix Group 4/5 pin functions

[ Upstream commit 0a7a5226e7b177c68800985a19a80c1df9bceff6 ]

According to R-Car V4H Series User’s Manual: Hardware Rev. 0.54, pin
groups 4 and 5 do not use Module Select Registers to configure pin
functions, but use Peripheral Function Select Registers instead.

Hence:
  - Remove the non-existent Module Select Registers (MODSEL[45]),
  - Add the missing Peripheral Function Select Registers (IPxSR[45]),
  - Correct the GPIO / Peripheral Function Select Register definitions
    (GPSR]45_*),
  - Correct the affected PINMUX definitions.

Fixes: e7f3e75f8da12f94 ("pinctrl: renesas: r8a779g0: Add missing MODSELx for AVBx")
Fixes: 034cf14726fd3778 ("pinctrl: renesas: r8a779g0: Add missing MODSELx for TSN0")
Fixes: d4968fbe3109cd46 ("pinctrl: renesas: Initial R8A779G0 (R-Car V4H) PFC support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/3d3833d1738f5e8fcc4c1002aa93832464d129a0.1669036423.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/renesas/pfc-r8a779g0.c