diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-08 14:43:34 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-08 14:43:34 +0400 |
commit | 9686e4b2a89375aa72aa9c7a9beea2cd71479941 (patch) | |
tree | 2b08d07f1335fcb01515496ac65c86aca8354272 /include | |
parent | 469cb9286ef79deda50e67391bada7fa78337dff (diff) | |
parent | a2b4f8a473efd82d634117a057e0ba64443354cf (diff) | |
download | linux-9686e4b2a89375aa72aa9c7a9beea2cd71479941.tar.xz |
Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regmap.h | 13 | ||||
-rw-r--r-- | include/sound/rcar_snd.h | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index a10380bfbeac..a12bea07f79e 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -425,11 +425,15 @@ bool regmap_reg_in_ranges(unsigned int reg, * @reg: Offset of the register within the regmap bank * @lsb: lsb of the register field. * @reg: msb of the register field. + * @id_size: port size if it has some ports + * @id_offset: address offset for each ports */ struct reg_field { unsigned int reg; unsigned int lsb; unsigned int msb; + unsigned int id_size; + unsigned int id_offset; }; #define REG_FIELD(_reg, _lsb, _msb) { \ @@ -448,6 +452,15 @@ void devm_regmap_field_free(struct device *dev, struct regmap_field *field); int regmap_field_read(struct regmap_field *field, unsigned int *val); int regmap_field_write(struct regmap_field *field, unsigned int val); +int regmap_field_update_bits(struct regmap_field *field, + unsigned int mask, unsigned int val); + +int regmap_fields_write(struct regmap_field *field, unsigned int id, + unsigned int val); +int regmap_fields_read(struct regmap_field *field, unsigned int id, + unsigned int *val); +int regmap_fields_update_bits(struct regmap_field *field, unsigned int id, + unsigned int mask, unsigned int val); /** * Description of an IRQ for the generic regmap irq_chip. diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h index fb0a312bcb81..12afab18945d 100644 --- a/include/sound/rcar_snd.h +++ b/include/sound/rcar_snd.h @@ -36,7 +36,6 @@ #define RSND_SSI_CLK_PIN_SHARE (1 << 31) #define RSND_SSI_CLK_FROM_ADG (1 << 30) /* clock parent is master */ #define RSND_SSI_SYNC (1 << 29) /* SSI34_sync etc */ -#define RSND_SSI_DEPENDENT (1 << 28) /* SSI needs SRU/SCU */ #define RSND_SSI_PLAY (1 << 24) |