Skip to contentSkip to conversation

Regmap group read and write issue for special case of PMIC

DISCUSSION Ashish Jangam 2 participants 2 messages Apr 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

DA9052/53 PMIC in SPI mode does not support group read and write but in I2C mode group read and write are supported.

This special case of DA9052/53 like PMIC needs to be handled in the regmap. For this can we, in regmap introduce a new flag and its value determines whether to translate internally, the regmap group read and write call into a series of single read and write calls Or not?

Regards,
Ashish

#1 lore raw
Quoted 4 lines · Ashish Jangam

This special case of DA9052/53 like PMIC needs to be handled in the regmap. For this can we, in regmap introduce a new flag and its value determines whether to translate internally, the regmap group read and write call into a series of single read and write calls Or not?

Yes, a flag for this in the regmap_config seems reasonable.