mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge remote-tracking branches 'regmap/topic/noinc' and 'regmap/topic/single-rw' into regmap-next
This commit is contained in:
commit
ae2399c48c
35 changed files with 193 additions and 53 deletions
|
|
@ -108,7 +108,8 @@ static const struct regmap_config altr_a10sr_regmap_config = {
|
|||
|
||||
.cache_type = REGCACHE_NONE,
|
||||
|
||||
.use_single_rw = true,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
.read_flag_mask = 1,
|
||||
.write_flag_mask = 0,
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,8 @@ static int da9052_spi_probe(struct spi_device *spi)
|
|||
config.reg_bits = 7;
|
||||
config.pad_bits = 1;
|
||||
config.val_bits = 8;
|
||||
config.use_single_rw = 1;
|
||||
config.use_single_read = true;
|
||||
config.use_single_write = true;
|
||||
|
||||
da9052->regmap = devm_regmap_init_spi(spi, &config);
|
||||
if (IS_ERR(da9052->regmap)) {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,8 @@ static const struct regmap_config mc13xxx_regmap_spi_config = {
|
|||
.max_register = MC13XXX_NUMREGS,
|
||||
|
||||
.cache_type = REGCACHE_NONE,
|
||||
.use_single_rw = 1,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
||||
static int mc13xxx_spi_read(void *context, const void *reg, size_t reg_size,
|
||||
|
|
|
|||
|
|
@ -613,7 +613,8 @@ static const struct regmap_config twl6040_regmap_config = {
|
|||
.writeable_reg = twl6040_writeable_reg,
|
||||
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.use_single_rw = true,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
||||
static const struct regmap_irq twl6040_irqs[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue