Re: (subset) [PATCH 1/2] [RFC] regmap: Add bulk read/write callbacks into regmap_config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 06, 2022 at 01:42:37PM +0100, Mark Brown wrote:
> On Fri, May 06, 2022 at 01:58:18PM +0300, Jani Nikula wrote:
> 
> > Hey Mark, sorry for hijacking the thread a bit. regmap.h seems to have
> > comprehensive API documentation, but there's very little in terms of
> > higher level documentation that I could find. Is there any?
> 
> Not outside of the source.  I did a presentation at ELC-E ages
> ago which you can probably find but I'm not sure how much it
> would add.

I watched that one!

Anyway no recording, but I think I've found the pdf. Was in 2012
apparently.

https://elinux.org/images/a/a3/Regmap-_The_Power_of_Subsystems_and_Abstractions.pdf

Cheers, Daniel

> 
> > I've been toying with the idea of adding a regmap based interface for
> > accessing Display Port DPCD registers, with caching, and regmap seems
> > like it's got the kitchen sink but I find it a bit difficult to
> > navigate...
> 
> The bus code is generally very thin so you shouldn't need to
> worry about what the core is up to much if you just want to
> support some bus.  If this is a bus that has registers at
> hardware level then looking at something like regmap-sdw.c should
> be helpful, for something that's just a bit stream at the bus
> level then something like regmap-i3c.c is a simple example.



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux