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

Martin Sperl kernel at martin.sperl.org
Tue Aug 4 02:52:09 PDT 2015

On 01.08.2015 04:55, Stephen Warren wrote:
> On 07/28/2015 04:48 AM, Martin Sperl wrote:
> The HW docs aren't very detailed on this point, but they certainly don't
> state that these bits control a regulator (or power domain as mentioned
> later in the thread). I guess it's possible, but it feels like an
> assumption to me. The HW modules seem small enough that it doesn't feel
> likely anyone would have bothered with power-gating them.

Sent an initial RFC-patch for the bcm2835-aux enable framework.

Only contains 2 API functions:
   bcm2835aux_enable(struct device *dev, const char *property);
   bcm2835aux_disable(struct device *dev, const char *property);

Device is the device of the real HW driver for the aux block (spi or
uart) and property is the name of the property in the device tree
of that device.

Please review if this is acceptable, so that I then can send
a complete patch-set including this API as well as the spi driver.


More information about the linux-rpi-kernel mailing list