Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
> I had looked a bit in that direction, but I think there's currently > no way for a driver to say "I won't be needing the bus for a while". > Something like that would be critical for such a pm system to work. Yes. I wasn't sure if something already existed. > In any case, it doesn't sound

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Mike Looijmans
On 11/26/2013 01:28 PM, Wolfram Sang wrote: CCing linux-pm, maybe they know more... The extra I2C traffic consumes extra power. If the bus is terminated using 2k resistors, approximately 1mA of current (assuming ~2V signals) is flowing when the bus is pulled low. On low power designs, this

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Ulf Hansson
On 26 November 2013 13:28, Wolfram Sang wrote: > > CCing linux-pm, maybe they know more... > >> The extra I2C traffic consumes extra power. If the bus is terminated >> using 2k resistors, approximately 1mA of current (assuming ~2V >> signals) is flowing when the bus is pulled low. On low power >>

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
CCing linux-pm, maybe they know more... > The extra I2C traffic consumes extra power. If the bus is terminated > using 2k resistors, approximately 1mA of current (assuming ~2V > signals) is flowing when the bus is pulled low. On low power > designs, this extra power consumption is noticable.

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Mike Looijmans
On 11/26/2013 10:06 AM, Wolfram Sang wrote: On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: > Leaving the mux enabled causes needless I2C traffic on the downstream > bus. De-selecting after every request causes excess I2C traffic and > switching. > > This patch implements a hybrid solution: After 200ms of inactivity, > the

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Mike Looijmans
On 11/26/2013 10:06 AM, Wolfram Sang wrote: On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
CCing linux-pm, maybe they know more... The extra I2C traffic consumes extra power. If the bus is terminated using 2k resistors, approximately 1mA of current (assuming ~2V signals) is flowing when the bus is pulled low. On low power designs, this extra power consumption is noticable. There

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Ulf Hansson
On 26 November 2013 13:28, Wolfram Sang w...@the-dreams.de wrote: CCing linux-pm, maybe they know more... The extra I2C traffic consumes extra power. If the bus is terminated using 2k resistors, approximately 1mA of current (assuming ~2V signals) is flowing when the bus is pulled low. On low

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Mike Looijmans
On 11/26/2013 01:28 PM, Wolfram Sang wrote: CCing linux-pm, maybe they know more... The extra I2C traffic consumes extra power. If the bus is terminated using 2k resistors, approximately 1mA of current (assuming ~2V signals) is flowing when the bus is pulled low. On low power designs, this

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
I had looked a bit in that direction, but I think there's currently no way for a driver to say I won't be needing the bus for a while. Something like that would be critical for such a pm system to work. Yes. I wasn't sure if something already existed. In any case, it doesn't sound like

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans ---

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans ---

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Wolfram Sang
On Mon, Nov 25, 2013 at 02:43:57PM +0100, Mike Looijmans wrote: > Leaving the mux enabled causes needless I2C traffic on the downstream > bus. This is a bus. Why is this bad? signature.asc Description: Digital signature

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Michael Lawnick
Hi, Am 25.11.2013 14:43, schrieb Mike Looijmans: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. ...

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans ---

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl ---

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Michael Lawnick
Hi, Am 25.11.2013 14:43, schrieb Mike Looijmans: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. ...

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Wolfram Sang
On Mon, Nov 25, 2013 at 02:43:57PM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. This is a bus. Why is this bad? signature.asc Description: Digital signature

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl ---

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl ---