linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regmap group read and write issue for special case of PMIC
@ 2012-04-03 12:35 Ashish Jangam
  2012-04-03 12:45 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Ashish Jangam @ 2012-04-03 12:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: broonie, Anthony.Olech

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regmap group read and write issue for special case of PMIC
  2012-04-03 12:35 Regmap group read and write issue for special case of PMIC Ashish Jangam
@ 2012-04-03 12:45 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-04-03 12:45 UTC (permalink / raw)
  To: Ashish Jangam; +Cc: linux-kernel, Anthony.Olech

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

On Tue, Apr 03, 2012 at 06:05:39PM +0530, Ashish Jangam wrote:

> 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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-03 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 12:35 Regmap group read and write issue for special case of PMIC Ashish Jangam
2012-04-03 12:45 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).