public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal
@ 2014-01-03 13:27 Peter Ujfalusi
  2014-01-03 13:27 ` [PATCH 01/11] MFD: twl-core: Simplify IO wrapper functions by moving common code out Peter Ujfalusi
                   ` (13 more replies)
  0 siblings, 14 replies; 22+ messages in thread
From: Peter Ujfalusi @ 2014-01-03 13:27 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Samuel Ortiz, Lee Jones
  Cc: alsa-devel, linux-kernel

Hi,

After the twl6040 codec, now it is time for the twl4030 codec driver to loose
it's local reg cache and let the MFD core's regmap to take care of the caching.

We have different functions behind of the 0x49 i2c address in twl (where the
audio registers can be found between 0x01 - 0x49). I mark all non audio
registers as volatile for now to avoid any side effect of the caching. Gradually
other functionalities can also move their caching to regmap to simplify the code.

I have included couple of clean up patches after the local regcache removal to
the series to freshen up the code a bit.

Regards,
Peter
---
Peter Ujfalusi (11):
  MFD: twl-core: Simplify IO wrapper functions by moving common code out
  MFD: twl-core: API to set the regcache bypass for a given regmap in
    twl
  MFD: twl-core: Enable regcache for audio registers
  ASoC: twl4030: Separate write condition checking from I/O function
  ASoC: twl4030: Remove check defaults functionality
  ASoC: twl4030: Remove reset registers functionality
  ASoC: twl4030: Introduce local ctl register cache
  ASoC: twl4030: Remove local reg cache
  ASoC: twl4030: Parameter alignment fixes (for code consistency)
  ASoC: twl4030: Move the ctl cache update local to twl4030_write()
    function
  ASoC: twl4030: Pass the twl4030_priv directly to
    twl4030_can_write_to_chip()

 drivers/mfd/twl-core.c     | 190 +++++++++++++++++++----
 include/linux/i2c/twl.h    |   5 +-
 sound/soc/codecs/twl4030.c | 376 ++++++++++++++++-----------------------------
 3 files changed, 300 insertions(+), 271 deletions(-)

-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-01-08 13:29 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03 13:27 [PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 01/11] MFD: twl-core: Simplify IO wrapper functions by moving common code out Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 02/11] MFD: twl-core: API to set the regcache bypass for a given regmap in twl Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 03/11] MFD: twl-core: Enable regcache for audio registers Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 04/11] ASoC: twl4030: Separate write condition checking from I/O function Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 05/11] ASoC: twl4030: Remove check defaults functionality Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 06/11] ASoC: twl4030: Remove reset registers functionality Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 07/11] ASoC: twl4030: Introduce local ctl register cache Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 08/11] ASoC: twl4030: Remove local reg cache Peter Ujfalusi
2014-01-08  8:05   ` Lee Jones
2014-01-08 11:07     ` Peter Ujfalusi
2014-01-08 11:18       ` Lee Jones
2014-01-03 13:27 ` [PATCH 09/11] ASoC: twl4030: Parameter alignment fixes (for code consistency) Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 10/11] ASoC: twl4030: Move the ctl cache update local to twl4030_write() function Peter Ujfalusi
2014-01-03 13:27 ` [PATCH 11/11] ASoC: twl4030: Pass the twl4030_priv directly to twl4030_can_write_to_chip() Peter Ujfalusi
2014-01-06 13:19 ` [PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal Mark Brown
2014-01-06 16:10   ` Lee Jones
2014-01-06 16:31     ` Mark Brown
2014-01-08 11:42 ` Lee Jones
2014-01-08 12:48   ` Mark Brown
2014-01-08 13:29     ` Lee Jones
2014-01-08 12:49 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox