summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
blob: d5d7f113bade46359fee82a78412870fb88217fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings

maintainers:
  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

select: true

properties:
  nvmem:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description:
      List of phandle to the nvmem providers.

  nvmem-cells:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description:
      List of phandle to the nvmem data cells.

  nvmem-names:
    $ref: /schemas/types.yaml#/definitions/string-array
    description:
      Names for the each nvmem provider.

  nvmem-cell-names:
    $ref: /schemas/types.yaml#/definitions/string-array
    description:
      Names for each nvmem-cells specified.

dependencies:
  nvmem-names: [ nvmem ]
  nvmem-cell-names: [ nvmem-cells ]

additionalProperties: true

examples:
  - |
    tsens {
        /* ... */
        nvmem-cells = <&tsens_calibration>;
        nvmem-cell-names = "calibration";
    };