[PATCH 1/2] spi: bcm2835: add spi-bcm2835aux driver for the auxiliar spi1 and spi2

Noralf Trønnes noralf at tronnes.org
Wed Jul 29 10:25:00 PDT 2015


Den 29.07.2015 18:37, skrev Stefan Wahren:
> Hi Martin,
>
> Am 28.07.2015 um 12:48 schrieb Martin Sperl:
>> On 28.07.2015 08:18, Martin Sperl wrote:
>>> Hi Stephen!
>>> But the bigger question you have not answered is: “where should such an
>>> auxiliar driver go in the kernel tree?” i.e. which directory?
>> One thing: could the "module" be a regulator?
>>
>
> IMHO that won't be acceptable.
>
> How about a multifunction device driver (drivers/mfd)?
>
> Other candidates could be drivers/soc or drivers/misc.
>

Could it be a power domain driver?
Documentation/devicetree/bindings/power/power_domain.txt

There are currently a deferred probing issue that might be a problem
depending on the module linking order:
https://lkml.org/lkml/2015/3/11/483


Noralf.




More information about the linux-rpi-kernel mailing list