* Documentation for Regmap API?
@ 2025-04-21 14:59 Ali Nasrolahi
2025-04-21 22:16 ` Richard
2025-05-03 16:07 ` Costa Shulyupin
0 siblings, 2 replies; 4+ messages in thread
From: Ali Nasrolahi @ 2025-04-21 14:59 UTC (permalink / raw)
To: Kernel Newbies
Hi,
I've been exploring the Regmap API and
was wondering if there’s a dedicated documentation page
that provides an overview or explanation of the API itself.
So far, I’ve looked into the following:
1. https://docs.kernel.org/driver-api/index.html
2. The Documentation/ directory in both the mainline and linux-next trees.
3. The regmap tree mentioned in the MAINTAINERS file:
---
REGISTER MAP ABSTRACTION
M: Mark Brown <broonie@kernel.org>
L: linux-kernel@vger.kernel.org
S: Supported
T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
F: Documentation/devicetree/bindings/regmap/
F: drivers/base/regmap/
F: include/linux/regmap.h
---
Despite checking these locations,
I couldn’t find a dedicated document explaining the Regmap API in detail.
1. Is there any such documentation available that I might have missed?
2. If not, I’d be happy to contribute and help write one.
Should I bring this up on the linux-doc mailing list for further guidance on how to proceed?
Any pointers or suggestions would be greatly appreciated.
Thanks a lot,
Ali
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Documentation for Regmap API?
2025-04-21 14:59 Documentation for Regmap API? Ali Nasrolahi
@ 2025-04-21 22:16 ` Richard
2025-04-27 17:25 ` Ali Nasrolahi
2025-05-03 16:07 ` Costa Shulyupin
1 sibling, 1 reply; 4+ messages in thread
From: Richard @ 2025-04-21 22:16 UTC (permalink / raw)
To: kernelnewbies
Hi,
The book "Linux Driver Development" by John Madieu has a good
explanation of how to use the Regmap API
-- Richard
On 21/04/2025 16:59, Ali Nasrolahi wrote:
> Hi,
>
> I've been exploring the Regmap API and
> was wondering if there’s a dedicated documentation page
> that provides an overview or explanation of the API itself.
>
> So far, I’ve looked into the following:
>
> 1. https://docs.kernel.org/driver-api/index.html
> 2. The Documentation/ directory in both the mainline and linux-next trees.
> 3. The regmap tree mentioned in the MAINTAINERS file:
> ---
> REGISTER MAP ABSTRACTION
> M: Mark Brown <broonie@kernel.org>
> L: linux-kernel@vger.kernel.org
> S: Supported
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
> F: Documentation/devicetree/bindings/regmap/
> F: drivers/base/regmap/
> F: include/linux/regmap.h
> ---
>
> Despite checking these locations,
> I couldn’t find a dedicated document explaining the Regmap API in detail.
>
> 1. Is there any such documentation available that I might have missed?
>
> 2. If not, I’d be happy to contribute and help write one.
> Should I bring this up on the linux-doc mailing list for further guidance on how to proceed?
>
> Any pointers or suggestions would be greatly appreciated.
>
> Thanks a lot,
> Ali
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Documentation for Regmap API?
2025-04-21 22:16 ` Richard
@ 2025-04-27 17:25 ` Ali Nasrolahi
0 siblings, 0 replies; 4+ messages in thread
From: Ali Nasrolahi @ 2025-04-27 17:25 UTC (permalink / raw)
To: Richard; +Cc: kernelnewbies
Thank you for your response, Richard.
Yes, I've read the book; however, I was hoping to have an up-to-date in-tree
documentation for it. That's the main reason why I proposed my help to write one.
-- Ali
On 25/04/22 12:16AM, Richard wrote:
> Hi,
>
> The book "Linux Driver Development" by John Madieu has a good explanation of
> how to use the Regmap API
>
> -- Richard
>
> On 21/04/2025 16:59, Ali Nasrolahi wrote:
> > Hi,
> >
> > I've been exploring the Regmap API and
> > was wondering if there’s a dedicated documentation page
> > that provides an overview or explanation of the API itself.
> >
> > So far, I’ve looked into the following:
> >
> > 1. https://docs.kernel.org/driver-api/index.html
> > 2. The Documentation/ directory in both the mainline and linux-next trees.
> > 3. The regmap tree mentioned in the MAINTAINERS file:
> > ---
> > REGISTER MAP ABSTRACTION
> > M: Mark Brown <broonie@kernel.org>
> > L: linux-kernel@vger.kernel.org
> > S: Supported
> > T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
> > F: Documentation/devicetree/bindings/regmap/
> > F: drivers/base/regmap/
> > F: include/linux/regmap.h
> > ---
> >
> > Despite checking these locations,
> > I couldn’t find a dedicated document explaining the Regmap API in detail.
> >
> > 1. Is there any such documentation available that I might have missed?
> >
> > 2. If not, I’d be happy to contribute and help write one.
> > Should I bring this up on the linux-doc mailing list for further guidance on how to proceed?
> >
> > Any pointers or suggestions would be greatly appreciated.
> >
> > Thanks a lot,
> > Ali
> >
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies@kernelnewbies.org
> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Documentation for Regmap API?
2025-04-21 14:59 Documentation for Regmap API? Ali Nasrolahi
2025-04-21 22:16 ` Richard
@ 2025-05-03 16:07 ` Costa Shulyupin
1 sibling, 0 replies; 4+ messages in thread
From: Costa Shulyupin @ 2025-05-03 16:07 UTC (permalink / raw)
To: Ali Nasrolahi; +Cc: Kernel Newbies
On Mon, 21 Apr 2025 at 18:35, Ali Nasrolahi <a.nasrolahi01@gmail.com> wrote:
> 1. Is there any such documentation available that I might have missed?
>
> 2. If not, I’d be happy to contribute and help write one.
> Should I bring this up on the linux-doc mailing list for further guidance on how to proceed?
>
> Any pointers or suggestions would be greatly appreciated.
You’re welcome to contribute your regmap documentation to:
https://en.wikibooks.org/wiki/The_Linux_Kernel/System#regmap
Thanks
Costa
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-03 16:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21 14:59 Documentation for Regmap API? Ali Nasrolahi
2025-04-21 22:16 ` Richard
2025-04-27 17:25 ` Ali Nasrolahi
2025-05-03 16:07 ` Costa Shulyupin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).