diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-19 08:56:24 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-19 08:56:24 +0200 |
commit | 355884b413b1c2546c04e397d6a480efb27ae811 (patch) | |
tree | 7831dfbd8ee4e61c69be7d101134eb54a5810281 /dts/Bindings/nvmem/nvmem-consumer.yaml | |
parent | 6940ba22c66ac1c713500027bf5f6832442a1410 (diff) | |
download | barebox-355884b413b1c2546c04e397d6a480efb27ae811.tar.gz barebox-355884b413b1c2546c04e397d6a480efb27ae811.tar.xz |
dts: update to v5.3-rc2
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/nvmem/nvmem-consumer.yaml')
-rw-r--r-- | dts/Bindings/nvmem/nvmem-consumer.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dts/Bindings/nvmem/nvmem-consumer.yaml b/dts/Bindings/nvmem/nvmem-consumer.yaml new file mode 100644 index 0000000000..b7c00ed310 --- /dev/null +++ b/dts/Bindings/nvmem/nvmem-consumer.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings + +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: + $ref: /schemas/types.yaml#/definitions/string-array + description: + Names for the each nvmem provider. + + nvmem-cell-names: + $ref: /schemas/types.yaml#/definitions/string-array + description: + Names for each nvmem-cells specified. + +dependencies: + nvmem-names: [ nvmem ] + nvmem-cell-names: [ nvmem-cells ] + +examples: + - | + tsens { + /* ... */ + nvmem-cells = <&tsens_calibration>; + nvmem-cell-names = "calibration"; + }; |