public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: sh-pfc: tidyup IPSR/MOD_SEL/GPSR settings order
@ 2016-03-16  0:46 Kuninori Morimoto
  2016-03-16  0:47 ` [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug Kuninori Morimoto
  2016-03-16  0:48 ` [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx Kuninori Morimoto
  0 siblings, 2 replies; 14+ messages in thread
From: Kuninori Morimoto @ 2016-03-16  0:46 UTC (permalink / raw)
  To: Laurent Pinchart, Geert Uytterhoeven, Linus Walleij
  Cc: Magnus, Simon, linux-renesas-soc, linux-gpio, linux-kernel


Hi Geert, Laurent

Gen2 / Gen3 next datasheet will has below note.
Our current PFC settings order is
	MOD_SEL -> GPSR -> IPSR
But, this fixes it to
	MOD_SEL -> IPSR -> GPSR

------------
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.
------------

1) patch make it easy to check
2) patch fixes above

Kuninori Morimoto (2):
      1) pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug
      2) pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

 drivers/pinctrl/sh-pfc/core.c   |  3 ++-
 drivers/pinctrl/sh-pfc/sh_pfc.h | 11 +++++++----
 2 files changed, 9 insertions(+), 5 deletions(-)



Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-03-22 14:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16  0:46 [PATCH 0/2] pinctrl: sh-pfc: tidyup IPSR/MOD_SEL/GPSR settings order Kuninori Morimoto
2016-03-16  0:47 ` [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug Kuninori Morimoto
2016-03-16  8:27   ` Geert Uytterhoeven
2016-03-17  0:30     ` Kuninori Morimoto
2016-03-17  7:34       ` Geert Uytterhoeven
2016-03-17  6:26   ` Laurent Pinchart
2016-03-18  0:37     ` Kuninori Morimoto
2016-03-16  0:48 ` [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx Kuninori Morimoto
2016-03-16  8:32   ` Geert Uytterhoeven
2016-03-17  0:23     ` Kuninori Morimoto
2016-03-17  6:58   ` Laurent Pinchart
2016-03-22 13:18   ` Linus Walleij
2016-03-22 14:30     ` Geert Uytterhoeven
2016-03-22 14:33       ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox