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:37:31 +0000 (15:37 +0100)
commit449c108f09d83bd2e57f11a240213f3320e9edb0
tree71862259d78c31976aea9a19a543cf2430caf314
parent9714561e561d8a7c3c8c65f3743e617bed9a686f
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