Debian Codegraph @

Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NVMEM (Non Volatile Memory) layouts
8
9 maintainers:
10 - Srinivas Kandagatla <[email protected]>
11 - Michael Walle <[email protected]>
12 - Miquel Raynal <[email protected]>
13
14 description: |
15 Most NVMEM layouts are static and thus do not require additional description
16 besides the bytes/bits offset and length. Other layouts can be less statically
17 define and might require dynamic reading of the NVMEM device in order to
18 perform their parsing. The nvmem-layout container is here to describe these.
19
20 oneOf:
21 - $ref: fixed-layout.yaml
22 - $ref: kontron,sl28-vpd.yaml
23 - $ref: onie,tlv-layout.yaml
24 - $ref: u-boot,env.yaml
25
26 properties:
27 compatible: true
28
29 required:
30 - compatible
31
32 unevaluatedProperties: false