diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-08-05 14:49:32 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-08-17 15:45:55 -0600 |
commit | 3a52d2986204fb90a830ac3c9d5967226f28cd6e (patch) | |
tree | d5844916481c24ec6d2dc4739755386f60256117 /Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml | |
parent | dt-bindings: perf: Convert i.MX DDR to json-schema (diff) | |
download | linux-dev-3a52d2986204fb90a830ac3c9d5967226f28cd6e.tar.xz linux-dev-3a52d2986204fb90a830ac3c9d5967226f28cd6e.zip |
dt-bindings: nvmem: Convert snvs lpgpr to json-schema
Convert the snvs lpgpr binding to DT schema format using json-schema.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1596610172-30323-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml new file mode 100644 index 000000000000..c819f0e90320 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/snvs-lpgpr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Low Power General Purpose Register found in i.MX Secure Non-Volatile Storage + +maintainers: + - Oleksij Rempel <o.rempel@pengutronix.de> + +properties: + compatible: + enum: + - fsl,imx6q-snvs-lpgpr + - fsl,imx6ul-snvs-lpgpr + - fsl,imx7d-snvs-lpgpr + +required: + - compatible + +additionalProperties: false + +examples: + - | + snvs@20cc000 { + compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; + reg = <0x20cc000 0x4000>; + + snvs_lpgpr: snvs-lpgpr { + compatible = "fsl,imx6q-snvs-lpgpr"; + }; + }; |