[PATCH V2] ARM: shmobile: stout: enable R-Car Gen2 regulator quirk
Geert Uytterhoeven
geert at linux-m68k.org
Thu Feb 15 03:23:56 PST 2018
Hi Wolfram,
On Thu, Feb 15, 2018 at 11:43 AM, Wolfram Sang <wsa at the-dreams.de> wrote:
>> > It sends per device, so unless there is a device named "da9210" at
>> > addr 0x70, nothing will happen? Am I missing something?
>>
>> As soon as one of the affected devices is instantiated, it has to shut up
>> all devices. This is done by sending the whole da9xxx_msgs[] array,
>> which needs modification now we have boards with two or three devices.
>
> Ah, I missed the "done = true;" part in remove
Perhaps the code should be rewritten to not match board compatible values,
but scan for da9063 and da9210 regulators, keep track of how many are found,
and activate if more than one is found using the same interrupt?
Yes, more complex code. But I have no idea how many Renesas customers
copied this part of the board design...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list