pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 16 Mar 2016 00:48:11 +0000 (00:48 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 29 Mar 2016 07:23:01 +0000 (09:23 +0200)
commit93d2185dcabcf8ea08026234e58f5e31484ec6a6
treebc6d3567e88a6d3f3d028392b0d488761a34c44b
parent60d8fcef13e60484ecc5aa2c0a904b250750beba
pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

Gen2 / Gen3 datasheet will have below note in next version.
This patch follows this note.

IPSRx and MOD_SELx registers shall be set before setting GPSRx
registers in case that they need to be configured.
MOD_SELx registers can be set either earlier or later than setting
IPSRx registers.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/sh_pfc.h