Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Russell King - ARM Linux
On Sun, Feb 02, 2014 at 06:45:12PM +0100, Jean-Francois Moine wrote: > On Sun, 2 Feb 2014 16:23:09 + > Russell King - ARM Linux wrote: > > > On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: > > > This patch takes care of the write-only registers of the tda998x. > > > >

Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Jean-Francois Moine
On Sun, 2 Feb 2014 16:23:09 + Russell King - ARM Linux wrote: > On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: > > This patch takes care of the write-only registers of the tda998x. > > > > The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits > > cleared

Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Russell King - ARM Linux
On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: > This patch takes care of the write-only registers of the tda998x. > > The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits > cleared after reset, so, they may be fully re-written. > > The register MAT_CONTRL is

Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Russell King - ARM Linux
On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: This patch takes care of the write-only registers of the tda998x. The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits cleared after reset, so, they may be fully re-written. The register MAT_CONTRL is set to

Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Jean-Francois Moine
On Sun, 2 Feb 2014 16:23:09 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: This patch takes care of the write-only registers of the tda998x. The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all

Re: [PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-02-02 Thread Russell King - ARM Linux
On Sun, Feb 02, 2014 at 06:45:12PM +0100, Jean-Francois Moine wrote: On Sun, 2 Feb 2014 16:23:09 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Jan 25, 2014 at 06:14:42PM +0100, Jean-Francois Moine wrote: This patch takes care of the write-only registers of the

[PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-01-29 Thread Jean-Francois Moine
This patch takes care of the write-only registers of the tda998x. The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits cleared after reset, so, they may be fully re-written. The register MAT_CONTRL is set to MAT_CONTRL_MAT_BP | MAT_CONTRL_MAT_SC(1) after reset, so, it may

[PATCH v5 09/23] drm/i2c: tda998x: don't read write-only registers

2014-01-29 Thread Jean-Francois Moine
This patch takes care of the write-only registers of the tda998x. The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits cleared after reset, so, they may be fully re-written. The register MAT_CONTRL is set to MAT_CONTRL_MAT_BP | MAT_CONTRL_MAT_SC(1) after reset, so, it may