Re: [W1] a driver for DS2405 chip

From: Ben Nizette
Date: Fri Nov 05 2010 - 03:46:35 EST



On 05/11/2010, at 9:15 AM, Maciej Szmigiero wrote:

> W dniu 04.11.2010 22:16, Ben Nizette pisze:
>>
>> On 05/11/2010, at 7:01 AM, Maciej Szmigiero wrote:
>>
>> Well that and standardisation! However it does seem that while conceptually your device should present a gpio interface it's on the fringe
>> of what gpiolib was designed to do. I'd understand if you don't feel like making gpiolib better support hotpluggable devices however it
>> sounds like it'd be worth doing, not just for 1-W but also, eg, USB GPIO expanders.
>
> So in your opinion is it worth "bending" the GPIO subsystem to accommodate devices like this one?
> This doesn't seem very hard if that parent thing works, just one new function (gpiochip_remove_blocking() or similar).
>

s/bending/extending ;-)

I don't reckon it'll be long until someone starts trying to connect up other 1-W/USB/otherwise-hotpluggable expanders through gpiolib and if there are roadblocks they should be addressed.

David has the last word of course but I quite like the idea.

> Anyway, thanks for helping make the code better!

:-)

>
>> --Ben.
>
> Maciej Szmigiero

--
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/