xref: /linux/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
5$schema: http://devicetree.org/meta-schemas/base.yaml#
6
7title: NVMEM (Non Volatile Memory) Consumer
8
9maintainers:
10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12select: true
13
14properties:
15  nvmem:
16    $ref: /schemas/types.yaml#/definitions/phandle-array
17    description:
18      List of phandle to the nvmem providers.
19
20  nvmem-cells:
21    $ref: /schemas/types.yaml#/definitions/phandle-array
22    description:
23      List of phandle to the nvmem data cells.
24
25  nvmem-names:
26    description:
27      Names for the each nvmem provider.
28
29  nvmem-cell-names:
30    description:
31      Names for each nvmem-cells specified.
32
33dependencies:
34  nvmem-names: [ nvmem ]
35  nvmem-cell-names: [ nvmem-cells ]
36
37additionalProperties: true
38
39examples:
40  - |
41    tsens {
42        /* ... */
43        nvmem-cells = <&tsens_calibration>;
44        nvmem-cell-names = "calibration";
45    };
46