[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87mwnvsy7a.wl%kuninori.morimoto.gx@renesas.com>
Date: Sun, 01 Sep 2013 20:24:13 -0700 (PDT)
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Mark Brown <broonie@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Linux-ALSA <alsa-devel@...a-project.org>,
Liam Girdwood <lgirdwood@...il.com>,
Kuninori Morimoto <kuninori.morimoto.gx@...il.com>,
Simon <horms@...ge.net.au>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/4] add regmap_filelds and use it on Renesas Sound driver
Hi Mark
These patches are v2 of new regmap_filelds API on kernel.
~
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.
The difference between v1 <-> v2 is EXPORT_SYMBOL_GPL() naming
on regmap_filelds
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists