Commit 93d2185d authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Geert Uytterhoeven

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 60d8fcef
...@@ -276,7 +276,7 @@ struct sh_pfc_soc_info { ...@@ -276,7 +276,7 @@ struct sh_pfc_soc_info {
* - msel: Module selector * - msel: Module selector
*/ */
#define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \
PINMUX_DATA(fn##_MARK, FN_##msel, FN_##ipsr, FN_##fn) PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr)
/* /*
* Describe a pinmux configuration for a single-function pin with GPIO * Describe a pinmux configuration for a single-function pin with GPIO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment