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

Marek Vasut marek.vasut at gmail.com
Sun Mar 4 23:22:52 PST 2018


On 02/28/2018 09:43 AM, Geert Uytterhoeven wrote:
> Hi Marek,
> 
> On Mon, Feb 26, 2018 at 11:17 AM, Marek Vasut <marek.vasut at gmail.com> wrote:
>> Rather than hard-coding the quirk topology, which stopped scaling,
>> parse the information from DT. The code looks for all compatible
>> PMICs -- da9036 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.
> 
> Note that not all R-Car Gen2 boards have all regulators described in DT yet.
> E.g. gose lacks da9210. So that has to be fixed first.

Argh, yes.

-- 
Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list