Thread (8 messages) 8 messages, 3 authors, 2018-09-18
STALE2819d

[PATCH V5] ARM: shmobile: Rework the PMIC IRQ line quirk

From: horms@verge.net.au (Simon Horman)
Date: 2018-06-13 14:36:35
Also in: linux-renesas-soc

On Wed, Jun 13, 2018 at 01:21:34PM +0200, Geert Uytterhoeven wrote:
Hi Simon,

On Wed, Jun 13, 2018 at 1:06 PM Simon Horman [off-list ref] wrote:
quoted
On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote:
quoted
Rather than hard-coding the quirk topology, which stopped scaling,
parse the information from DT. The code looks for all compatible
PMICs -- da9063 and da9210 -- and checks if their IRQ line is tied
to the same pin. If so, the code sends a matching sequence to the
PMIC to deassert the IRQ.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Simon Horman <redacted>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc at vger.kernel.org
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> (on Koelsch)
This looks fine to me but I will wait to see if there are other reviews
before applying.

Reviewed-by: Simon Horman <redacted>
Note that applying it now will break gose, as its DTS doesn't describe all
regulators yet.
Ok, so old DT will break with new kernels?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help