Re: [PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-13 Thread Jean-Francois Moine
On Sat, 11 Jan 2014 18:26:02 + Russell King - ARM Linux wrote: > > div = 148500 / mode->clock; > > + if (div != 0) { > > + div--; > > + if (div > 3) > > + div = 3; > > + } > > As the driver currently stands, we know that the clock divider

Re: [PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-13 Thread Jean-Francois Moine
On Sat, 11 Jan 2014 18:26:02 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: div = 148500 / mode-clock; + if (div != 0) { + div--; + if (div 3) + div = 3; + } As the driver currently stands, we know that the clock

Re: [PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:05:13PM +0100, Jean-Francois Moine wrote: > > Signed-off-by: Jean-Francois Moine > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c >

Re: [PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:05:13PM +0100, Jean-Francois Moine wrote: Signed-off-by: Jean-Francois Moine moin...@free.fr --- drivers/gpu/drm/i2c/tda998x_drv.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c

[PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-09 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index f60aef9..8a7d8a2 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++

[PATCH v2 17/28] drm/i2c: tda998x: set the repeat PLL value in range 0..3

2014-01-09 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine moin...@free.fr --- drivers/gpu/drm/i2c/tda998x_drv.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index f60aef9..8a7d8a2 100644 ---