Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
0005 $schema: http://devicetree.org/meta-schemas/base.yaml#
0006 
0007 title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings
0008 
0009 maintainers:
0010   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
0011 
0012 select: true
0013 
0014 properties:
0015   nvmem:
0016     $ref: /schemas/types.yaml#/definitions/phandle-array
0017     description:
0018       List of phandle to the nvmem providers.
0019 
0020   nvmem-cells:
0021     $ref: /schemas/types.yaml#/definitions/phandle-array
0022     description:
0023       List of phandle to the nvmem data cells.
0024 
0025   nvmem-names:
0026     description:
0027       Names for the each nvmem provider.
0028 
0029   nvmem-cell-names:
0030     description:
0031       Names for each nvmem-cells specified.
0032 
0033 dependencies:
0034   nvmem-names: [ nvmem ]
0035   nvmem-cell-names: [ nvmem-cells ]
0036 
0037 additionalProperties: true
0038 
0039 examples:
0040   - |
0041     tsens {
0042         /* ... */
0043         nvmem-cells = <&tsens_calibration>;
0044         nvmem-cell-names = "calibration";
0045     };