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

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

From: marek.vasut@gmail.com (Marek Vasut)
Date: 2018-07-30 11:19:25
Also in: linux-renesas-soc

On 06/13/2018 01:21 PM, Geert Uytterhoeven wrote:
Hi Simon,
Hi,
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.
https://patchwork.kernel.org/patch/10548919/ should fix this.
https://patchwork.kernel.org/patch/10548923/ for Silk.

-- 
Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help