lkml.org 
[lkml]   [2018]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] regmap: slimbus: add support to raw read/writes
From
Date


On 05/07/18 18:30, Mark Brown wrote:
> On Thu, Jul 05, 2018 at 06:20:50PM +0100, Srinivas Kandagatla wrote:
>
>> Access to codec registers is done in 2 steps.
>
>> 1> Write page number in page register.
>> 2> access register within the page.
>
>> This seems to exactly what struct regmap_range_cfg gives.
>
>> Adding ranges to regmap_config along with read/write bus callbacks works for
>> me.
>
> OK, great - that's what I was expecting.
>
Thanks, I will respin the patch removing reference to raw in commit log
and patch.

Are reg_read/reg_write callbacks in bus regmap redundant to read/write
callbacks?

By the looks of it, it seems redundant, reg_read/reg_write will never be
used if bus regmap has read/write callbacks. Just wanted reconfirm
before replacing them with just read/write callbacks.

thanks,
srini

\
 
 \ /
  Last update: 2018-07-05 19:39    [W:0.044 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site