pinctrl: sh-pfc: r8a7791: Add missing HSCIF1 pinmux data
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 29 Mar 2017 18:36:50 +0000 (21:36 +0300)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:08:30 +0000 (03:08 +0000)
commit0d5e09f9447a9bddd94f0b3dd8b79f6893079962
tree6eff1c0d079be27d16a1b05aba6ddb20b826b76b
parentaf14caaf263f14f49d24a9acb3d4ceba9de99b7b
pinctrl: sh-pfc: r8a7791: Add missing HSCIF1 pinmux data

commit da7a692fbbab07f4e9798b5b52798f6e3256dd8f upstream.

The R8A7791 PFC driver  was apparently based on the preliminary revisions
of  the  user's manual, which  omitted the HSCIF1 group E signals in  the
IPSR4 register description. This would cause HSCIF1's probe  to fail with
the messages like below:

sh-pfc e6060000.pfc: cannot locate data/mark enum_id for mark 1989
sh-sci e62c8000.serial: Error applying setting, reverse things back
sh-sci: probe of e62c8000.serial failed with error -22

Add the neceassary PINMUX_IPSR_MSEL() invocations for the HSCK1_E,
HCTS1#_E, and HRTS1#_E signals...

Fixes: 508845196238 ("pinctrl: sh-pfc: r8a7791 PFC support")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sh-pfc/pfc-r8a7791.c