Messages in this thread | | | Subject | Re: Query about regmap SPI | From | Ashish Chavan <> | Date | Tue, 6 Mar 2012 23:04:12 +0530 |
| |
On Tue, 2012-03-06 at 16:30 +0000, Mark Brown wrote: > On Tue, Mar 06, 2012 at 08:38:52PM +0530, Ashish Chavan wrote: > > > I also think that there should be a way to handle this kind of stuff by > > the framework. May I know if you have any plan to add this to regmap? or > > should I come up with a patch to extend regmap to support this and > > propose you? > > I have no need for it so I'm unlikely to work on it myself, if you were > to send a patch that'd be great.
OK, I will go through regmap sources in detail to find out appropriate place to put this. BTW do you have any recommendation in terms of a good way to achieve this. e.g. will it be useful and generic enough if we introduce two more fields like read/write_flag_mask to indicate shifting and use those fields before applying read/write_flag_masks?
| |