pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 13 Dec 2018 13:41:11 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:34:33 +0000 (15:34 +0100)
commit68f791f8e715641ccd3dae1d180ed23cb77d478b
tree07dfed94cd95dae0fbb7a4a73a10371e9cbd958c
parent3efd8026ec12eab85cd76946a44e13b6062c09e2
pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10

[ Upstream commit 054f2400f706327f96770219c3065b5131f8f154 ]

Some values in the Peripheral Function Select Register 10 descriptor are
shifted by one position, which may cause a peripheral function to be
programmed incorrectly.

Fixing this makes all HSCIF0 pins use Function 4 (value 3), like was
already the case for the HSCK0 pin in field IP10[5:3].

Fixes: ac1ebc2190f575fc ("sh-pfc: Add sh7734 pinmux support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/sh-pfc/pfc-sh7734.c