Re: [PATCH] regmap: Add support for 12/20 register formatting

2020-09-17 Thread Ricardo Ribalda Delgado
HI Mark On Thu, Sep 17, 2020 at 1:22 PM Mark Brown wrote: > > On Thu, Sep 17, 2020 at 08:31:54AM +0200, Ricardo Ribalda Delgado wrote: > > On Wed, Sep 16, 2020 at 6:29 PM Mark Brown wrote: > > > > What exactly is the format you're trying to describe here? It sounds > > > like there's two

Re: [PATCH] regmap: Add support for 12/20 register formatting

2020-09-17 Thread Mark Brown
On Thu, Sep 17, 2020 at 08:31:54AM +0200, Ricardo Ribalda Delgado wrote: > On Wed, Sep 16, 2020 at 6:29 PM Mark Brown wrote: > > What exactly is the format you're trying to describe here? It sounds > > like there's two blocks of padding in here (I'm assuing that's what > > dummy means) but

Re: [PATCH] regmap: Add support for 12/20 register formatting

2020-09-17 Thread Ricardo Ribalda Delgado
Hi Mark On Wed, Sep 16, 2020 at 6:29 PM Mark Brown wrote: > > On Wed, Sep 16, 2020 at 06:05:52PM +0200, Ricardo Ribalda wrote: > > From: Ricardo Ribalda > > > > Devices such as the AD5628 require 32 bits of data divided in 12 bits > > for dummy, command and address, and 20 for data and

[PATCH] regmap: Add support for 12/20 register formatting

2020-09-16 Thread Ricardo Ribalda
From: Ricardo Ribalda Devices such as the AD5628 require 32 bits of data divided in 12 bits for dummy, command and address, and 20 for data and dummy. Signed-off-by: Ricardo Ribalda --- drivers/base/regmap/regmap.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

Re: [PATCH] regmap: Add support for 12/20 register formatting

2020-09-16 Thread Mark Brown
On Wed, Sep 16, 2020 at 06:05:52PM +0200, Ricardo Ribalda wrote: > From: Ricardo Ribalda > > Devices such as the AD5628 require 32 bits of data divided in 12 bits > for dummy, command and address, and 20 for data and dummy. What exactly is the format you're trying to describe here? It sounds