Thread (4 messages) 4 messages, 3 authors, 2020-02-26

Re: [PATCH v2 3/3] ASoC: fsl_easrc: Add EASRC ASoC CPU DAI and platform drivers

From: Nicolin Chen <nicoleotsuka@gmail.com>
Date: 2020-02-26 02:55:46
Also in: alsa-devel, linux-devicetree, lkml

On Wed, Feb 26, 2020 at 09:51:39AM +0800, Shengjiu Wang wrote:
quoted
quoted
quoted
quoted
+static const struct regmap_config fsl_easrc_regmap_config = {
+     .readable_reg = fsl_easrc_readable_reg,
+     .volatile_reg = fsl_easrc_volatile_reg,
+     .writeable_reg = fsl_easrc_writeable_reg,
Can we use regmap_range and regmap_access_table?
Can the regmap_range support discontinuous registers?  The
reg_stride = 4.
I think it does. Giving an example here:
https://github.com/torvalds/linux/blob/master/drivers/mfd/da9063-i2c.c
The register in this i2c driver are continuous,  from 0x00, 0x01, 0x02...

But our case is 0x00, 0x04, 0x08, does it work?
Ah...I see your point now. I am not very sure -- have only used
in I2C drivers. You can ignore if it doesn't likely work for us.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help