Re: [PATCH v3 3/9] regmap: Allow specifying read/write width

2020-10-01 Thread Tom Rini
On Thu, Sep 24, 2020 at 10:04:12AM +0530, Pratyush Yadav wrote: > Right now, regmap_read() and regmap_write() read/write a 32-bit value > only. To write other lengths, regmap_raw_read() and regmap_raw_write() > need to be used. > > This means that any driver ported from Linux that relies on > reg

[PATCH v3 3/9] regmap: Allow specifying read/write width

2020-09-23 Thread Pratyush Yadav
Right now, regmap_read() and regmap_write() read/write a 32-bit value only. To write other lengths, regmap_raw_read() and regmap_raw_write() need to be used. This means that any driver ported from Linux that relies on regmap_{read,write}() to know the size already has to be updated at each callsit