Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyper...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / nvmem / nvmem-consumer.yaml
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/core.yaml#
6
7 title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings
8
9 maintainers:
10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12 select: true
13
14 properties:
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     $ref: /schemas/types.yaml#/definitions/string-array
27     description:
28       Names for the each nvmem provider.
29
30   nvmem-cell-names:
31     $ref: /schemas/types.yaml#/definitions/string-array
32     description:
33       Names for each nvmem-cells specified.
34
35 dependencies:
36   nvmem-names: [ nvmem ]
37   nvmem-cell-names: [ nvmem-cells ]
38
39 examples:
40   - |
41     tsens {
42         /* ... */
43         nvmem-cells = <&tsens_calibration>;
44         nvmem-cell-names = "calibration";
45     };