Re: [RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-21 Thread Peter Rosin
On 2016-11-19 16:34, Jonathan Cameron wrote: > On 17/11/16 21:48, Peter Rosin wrote: >> When both the iio subsystem and the i2c subsystem wants to update >> the same mux, there needs to be some coordination. Invent a new >> minimal "mux" subsystem that handles this. > I'd probably put something

Re: [RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-21 Thread Peter Rosin
On 2016-11-19 16:34, Jonathan Cameron wrote: > On 17/11/16 21:48, Peter Rosin wrote: >> When both the iio subsystem and the i2c subsystem wants to update >> the same mux, there needs to be some coordination. Invent a new >> minimal "mux" subsystem that handles this. > I'd probably put something

Re: [RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-19 Thread Jonathan Cameron
On 17/11/16 21:48, Peter Rosin wrote: > When both the iio subsystem and the i2c subsystem wants to update > the same mux, there needs to be some coordination. Invent a new > minimal "mux" subsystem that handles this. I'd probably put something more general in the description. Lots of things may

Re: [RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-19 Thread Jonathan Cameron
On 17/11/16 21:48, Peter Rosin wrote: > When both the iio subsystem and the i2c subsystem wants to update > the same mux, there needs to be some coordination. Invent a new > minimal "mux" subsystem that handles this. I'd probably put something more general in the description. Lots of things may

[RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-17 Thread Peter Rosin
When both the iio subsystem and the i2c subsystem wants to update the same mux, there needs to be some coordination. Invent a new minimal "mux" subsystem that handles this. Add a single backend driver for this new subsystem that can control gpio based multiplexers. --- drivers/misc/Kconfig|

[RFC PATCH v2 2/7] misc: minimal mux subsystem and gpio-based mux controller

2016-11-17 Thread Peter Rosin
When both the iio subsystem and the i2c subsystem wants to update the same mux, there needs to be some coordination. Invent a new minimal "mux" subsystem that handles this. Add a single backend driver for this new subsystem that can control gpio based multiplexers. --- drivers/misc/Kconfig|