Re: [PATCH 0/3] LP3943 MFD driver for a GPIO expander and a PWM generator

From: Linus Walleij
Date: Sat Jul 20 2013 - 16:09:38 EST


On Sat, Jul 20, 2013 at 10:04 PM, Linus Walleij
<linus.walleij@xxxxxxxxxx> wrote:

> Do you have use cases not using it for LEDs but other thing or why
> do you want to model the 16 LED lines as GPIO lines?
> Why can't you just have a drivers/leds/* as for any other LED
> chip?

Bah forget this. Now I saw that application note in the GPIO
portion patch.

But don't you want a drivers/leds/* driver for this as well?

I imagine the MFD core should send a mask to GPIO and
LEDs drivers stating which lines can be used for GPIO and
which lines can be used for LEDs.

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