2019-06-27 08:10:37 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
|
2021-03-16 12:51:11 -07:00
|
|
|
$schema: http://devicetree.org/meta-schemas/base.yaml#
|
2019-06-27 08:10:37 -07:00
|
|
|
|
2022-08-24 19:04:27 -07:00
|
|
|
title: NVMEM (Non Volatile Memory) Consumer
|
2019-06-27 08:10:37 -07:00
|
|
|
|
|
|
|
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:
|
|
|
|
description:
|
|
|
|
Names for the each nvmem provider.
|
|
|
|
|
|
|
|
nvmem-cell-names:
|
|
|
|
description:
|
|
|
|
Names for each nvmem-cells specified.
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
nvmem-names: [ nvmem ]
|
|
|
|
nvmem-cell-names: [ nvmem-cells ]
|
|
|
|
|
2020-10-05 11:38:30 -07:00
|
|
|
additionalProperties: true
|
|
|
|
|
2019-06-27 08:10:37 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
tsens {
|
|
|
|
/* ... */
|
|
|
|
nvmem-cells = <&tsens_calibration>;
|
|
|
|
nvmem-cell-names = "calibration";
|
|
|
|
};
|