dt-bindings: Add qfprom-sys binding file

qfprom-sys driver can be used to export nvmem cell values as sysfs
entries to user space.

Change-Id: Ia6c56b65bbaa10371ec46b59ea407d5cfd9697ef
This commit is contained in:
Mukesh Ojha
2021-10-26 19:15:16 +05:30
parent 75117b3393
commit debe6b0ce9

View File

@@ -0,0 +1,36 @@
%YAML 1.2
---
$id: http://devicetree.org/schemas/bindings/arm/msm/qcom,qfprom-sys.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. QFPROM_SYS driver binding
maintainers:
description: |+
QFPROM_SYS provides access to the nvmem cells to the user space.
The driver exports the cell values as sysfs entries.
properties:
compatible:
const: qcom,qfprom-sys
nvmem-cell-name:
description: array of strings for cell names
nvmem-cells:
description: phandle to particular cell from provider
required:
- compatible
- nvmem-cell-name
- nvmem-cells
example:
- |
qfprom@0 {
compatible = "qcom,qfprom-sys";
nvmem-cells = <&tsens_calibration1>, <&tsens_calibration2>;
nvmem-cell-names = "calibration1", "calibration2";
};
...