Re: Location for a kind of GPIO bus driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 23, 2013 at 5:18 PM, Simon Guinot <simon.guinot@xxxxxxxxxxxx> wrote:

> (...)  I am
> thinking about moving the GPIO extension bus support into a separate
> driver. The problem is that I can't find a proper location for a such
> driver. AFAIK, it doesn't fit with anything existing supported by Linux.
> Maybe I should consider drivers/bus ? Or even drivers/misc ?

This is a question to Greg, the device core maintainer.
AFAICT they go into drivers/base/foo-bus.c

In this case I would first consider using MFD though,
please make a case for why this is not simply a multi
function device with a few cells (== platform devices).

> Also from a DT point, it not clear to me how the resulting bus and LEDs
> driver are going to work together.

Buses are nodes in the device tree and subdevices are
subnodes.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux