[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8760wnfe3r.wl%kuninori.morimoto.gx@renesas.com>
Date: Wed, 16 Mar 2016 00:46:47 +0000
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Linus Walleij <linus.walleij@...aro.org>
CC: Magnus <magnus.damm@...il.com>, Simon <horms@...ge.net.au>,
<linux-renesas-soc@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] pinctrl: sh-pfc: tidyup IPSR/MOD_SEL/GPSR settings order
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
Powered by blists - more mailing lists