Re: [PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2017-01-02 Thread Peter Rosin
On 2017-01-01 16:38, Andy Shevchenko wrote: > On Wed, Nov 30, 2016 at 10:17 AM, Peter Rosin wrote: >> This is a generic simple i2c mux that uses the generic multiplexer >> subsystem to do the muxing. > >> +static const struct of_device_id i2c_mux_of_match[] = { >> + { .compatible = "i2c-mux

Re: [PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2017-01-01 Thread Andy Shevchenko
On Wed, Nov 30, 2016 at 10:17 AM, Peter Rosin wrote: > This is a generic simple i2c mux that uses the generic multiplexer > subsystem to do the muxing. > +static const struct of_device_id i2c_mux_of_match[] = { > + { .compatible = "i2c-mux-simple,parent-locked", > + .data = (void *)

Re: [PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2017-01-01 Thread Jonathan Cameron
On 30/11/16 08:17, Peter Rosin wrote: > This is a generic simple i2c mux that uses the generic multiplexer > subsystem to do the muxing. > > The user can select if the mux is to be mux-locked and parent-locked > as described in Documentation/i2c/i2c-topology. > > Signed-off-by: Peter Rosin Looks

[PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2016-11-30 Thread Peter Rosin
This is a generic simple i2c mux that uses the generic multiplexer subsystem to do the muxing. The user can select if the mux is to be mux-locked and parent-locked as described in Documentation/i2c/i2c-topology. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/Kconfig | 13 +++ driver