| 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 |
|
| 7 |
title: NVMEM (Non Volatile Memory) Consumer |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Srinivas Kandagatla <[email protected]> |
| 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 |
description: |
| 27 |
Names for the each nvmem provider. |
| 28 |
|
| 29 |
nvmem-cell-names: |
| 30 |
description: |
| 31 |
Names for each nvmem-cells specified. |
| 32 |
|
| 33 |
dependencies: |
| 34 |
nvmem-names: [ nvmem ] |
| 35 |
nvmem-cell-names: [ nvmem-cells ] |
| 36 |
|
| 37 |
additionalProperties: true |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
tsens { |
| 42 |
/* ... */ |
| 43 |
nvmem-cells = <&tsens_calibration>; |
| 44 |
nvmem-cell-names = "calibration"; |
| 45 |
}; |