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

2018-09-18 Thread Marek Vasut
On 09/05/2018 01:55 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, Jun 11, 2018 at 2:15 PM Marek Vasut wrote: >> 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

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

2018-09-05 Thread Geert Uytterhoeven
Hi Marek, On Mon, Jun 11, 2018 at 2:15 PM Marek Vasut wrote: > 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

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

2018-07-30 Thread Marek Vasut
On 06/13/2018 01:21 PM, Geert Uytterhoeven wrote: > Hi Simon, Hi, > On Wed, Jun 13, 2018 at 1:06 PM Simon Horman wrote: >> On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote: >>> Rather than hard-coding the quirk topology, which stopped scaling, >>> parse the information from DT. The

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

2018-06-13 Thread Geert Uytterhoeven
Hi Simon, On Wed, Jun 13, 2018 at 4:36 PM Simon Horman wrote: > On Wed, Jun 13, 2018 at 01:21:34PM +0200, Geert Uytterhoeven wrote: > > On Wed, Jun 13, 2018 at 1:06 PM Simon Horman wrote: > > > On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote: > > > > Rather than hard-coding the

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

2018-06-13 Thread Simon Horman
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 wrote: > > On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote: > > > Rather than hard-coding the quirk topology, which stopped scaling, > > > parse the

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

2018-06-13 Thread Geert Uytterhoeven
Hi Simon, On Wed, Jun 13, 2018 at 1:06 PM Simon Horman wrote: > On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote: > > 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

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

2018-06-13 Thread Simon Horman
On Mon, Jun 11, 2018 at 02:15:13PM +0200, Marek Vasut wrote: > 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

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

2018-06-11 Thread Marek Vasut
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.