Re: [W1] a driver for DS2405 chip
From: Ben Nizette
Date: Wed Nov 03 2010 - 07:03:35 EST
On 03/11/2010, at 6:53 AM, Maciej Szmigiero wrote:
> W dniu 01.11.2010 13:35, Jonathan Cameron pisze:
>> On 10/28/10 21:52, Maciej Szmigiero wrote:
>>> [W1] a driver for DS2405 chip
>>>
>>> This is a driver for DS2405 1-wire single-channel addressable switch / PIO.
>>> DS2405 can also work as single-channel binary remote sensor.
>> Perhaps handle this as a gpio chip? (be it a fairly limited one)
>> To my mind it would make it more generally useful...
>
> I think the GPIO infrastructure is meant for on-system GPIOs, where 1-wire devices are mostly
> used for remote data acquisition.
Nope! The contents of drivers/gpio is split roughly 50/50 between on- and off-chip gpio expanders.
> That's probably why w1_therm (for 1-wire thermometers) is not integrated with HWMON subsystem.
Don't know why this is but kinda sounds like it should be looked at more closely - conceptually 1-W is just another bus like, eg, SPI.
--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/
--
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/