mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] add regmap_filelds and use it on Renesas Sound driver
@ 2013-08-30  4:31 Kuninori Morimoto
  2013-08-30  4:33 ` [PATCH 1/4] regmap: add regmap_field_update_bits() Kuninori Morimoto
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Kuninori Morimoto @ 2013-08-30  4:31 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman
  Cc: Linux-ALSA, Liam Girdwood, Kuninori Morimoto, Simon, linux-kernel


Hi Mark

These patches add new regmap_filelds API on kernel.
                                   ~
and use it on Renesas sound driver instead of original method.
It can care about multi port register offset via regmap.

0xAAAA + 0x40    -- port 0 --
                    regX
                    regY
                    regZ
0xAAAA + 0x80    -- port 1 --
                    regX
                    regY
                    regZ

This case, current API needs 2 (= port) x 3 (= regX/Y/Z) regmap_fileld,
but this new API can care about all port via 3 regmap_filelds with port ID.

I'm not sure that regmap_filelds is good naming or not.
Please let me know if you have good naming idea.

These are based on below branchs
 regmap/for-next + asoc/for-next

Kuninori Morimoto (4):
      regmap: add regmap_field_update_bits()
      regmap: Add regmap_fields APIs
      ASoC: rsnd: gen: rsnd_gen_ops cares .probe and .remove
      ASoC: rsnd: use regmap instead of original register mapping method

 drivers/base/regmap/internal.h |    3 +
 drivers/base/regmap/regmap.c   |  117 +++++++++++++++++
 include/linux/regmap.h         |   14 +++
 sound/soc/sh/rcar/core.c       |   45 -------
 sound/soc/sh/rcar/gen.c        |  270 +++++++++++++++++++++++++---------------
 5 files changed, 307 insertions(+), 142 deletions(-)


Best regards
---
Kuninori Morimoto

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

end of thread, other threads:[~2013-09-24 18:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30  4:31 [PATCH 0/4] add regmap_filelds and use it on Renesas Sound driver Kuninori Morimoto
2013-08-30  4:33 ` [PATCH 1/4] regmap: add regmap_field_update_bits() Kuninori Morimoto
2013-08-30  4:34 ` [PATCH 2/4] regmap: Add regmap_fields APIs Kuninori Morimoto
2013-09-02  2:36   ` Kuninori Morimoto
2013-08-30  4:34 ` [PATCH 3/4] ASoC: rsnd: gen: rsnd_gen_ops cares .probe and .remove Kuninori Morimoto
2013-08-30  4:35 ` [PATCH 4/4] ASoC: rsnd: use regmap instead of original register mapping method Kuninori Morimoto
2013-09-02  3:24 ` [PATCH v2 0/4] add regmap_filelds and use it on Renesas Sound driver Kuninori Morimoto
2013-09-02  3:24   ` [PATCH v2 1/4] regmap: add regmap_field_update_bits() Kuninori Morimoto
2013-09-03 11:20     ` Mark Brown
2013-09-02  3:30   ` [PATCH v2 2/4] regmap: Add regmap_fields APIs Kuninori Morimoto
2013-09-17 12:48     ` Mark Brown
2013-09-02  3:31   ` [PATCH v2 3/4] ASoC: rsnd: gen: rsnd_gen_ops cares .probe and .remove Kuninori Morimoto
2013-09-17 12:58     ` Mark Brown
2013-09-02  3:32   ` [PATCH v2 4/4] ASoC: rsnd: use regmap instead of original register mapping method Kuninori Morimoto
2013-09-17 13:04     ` Mark Brown
2013-09-17 13:23       ` Kuninori Morimoto
2013-09-17 13:35         ` Mark Brown
2013-09-24  6:10           ` [PATCH v3 0/2] " Kuninori Morimoto
2013-09-24  6:12             ` [PATCH 1/2] ASoC: rsnd: remove rsnd_priv_read/write/bset() Kuninori Morimoto
2013-09-24 18:53               ` Mark Brown
2013-09-24  6:12             ` [PATCH 2/2] ASoC: rsnd: use regmap instead of original register mapping method Kuninori Morimoto

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

all inboxes | Powered by JetHome®