diff options
| author | Tom Rini <[email protected]> | 2022-06-09 15:20:11 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-09 15:20:11 -0400 |
| commit | e5028bb227c578ca89273f0b1e0d289ec1987d2f (patch) | |
| tree | a9b8552bc82bd10d9b0638113c2ed65b87a892d7 /doc | |
| parent | c0e63bf46848d573b3ef86d5796f8f993c316ed6 (diff) | |
| parent | 3f51ba926bc138f54dab8d0fa0c363a3b1e71794 (diff) | |
Merge branch '2022-06-09-add-support-for-nvmem-api' into next
To quote the author:
This adds support for the nvmem-cells properties cropping up in manyb
device trees. This is an easy way to load configuration, version
information, or calibration data from a non-volatile memory source. For
more information, refer to patch 6 ("misc: Add support for nvmem
cells").
For the moment I have only added some integration tests using the
ethernet addresses. This hits the main code paths (looking up nvmem
cells) but doesn't test writing. I can add a few stand-alone tests if
desired.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/api/index.rst | 1 | ||||
| -rw-r--r-- | doc/api/nvmem.rst | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/api/index.rst b/doc/api/index.rst index 72fea981b72..a9338cfef9f 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -14,6 +14,7 @@ U-Boot API documentation linker_lists lmb logging + nvmem pinctrl rng sandbox diff --git a/doc/api/nvmem.rst b/doc/api/nvmem.rst new file mode 100644 index 00000000000..d9237846524 --- /dev/null +++ b/doc/api/nvmem.rst @@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +NVMEM API +========= + +.. kernel-doc:: include/nvmem.h + :doc: Design + +.. kernel-doc:: include/nvmem.h + :internal: |
