Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anson Huang and committed by
Rob Herring
3a52d298 fd0ae78d

+33 -21
-21
Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt
··· 1 - Device tree bindings for Low Power General Purpose Register found in i.MX6Q/D 2 - and i.MX7 Secure Non-Volatile Storage. 3 - 4 - This DT node should be represented as a sub-node of a "syscon", 5 - "simple-mfd" node. 6 - 7 - Required properties: 8 - - compatible: should be one of the fallowing variants: 9 - "fsl,imx6q-snvs-lpgpr" for Freescale i.MX6Q/D/DL/S 10 - "fsl,imx6ul-snvs-lpgpr" for Freescale i.MX6UL 11 - "fsl,imx7d-snvs-lpgpr" for Freescale i.MX7D/S 12 - 13 - Example: 14 - snvs: snvs@020cc000 { 15 - compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; 16 - reg = <0x020cc000 0x4000>; 17 - 18 - snvs_lpgpr: snvs-lpgpr { 19 - compatible = "fsl,imx6q-snvs-lpgpr"; 20 - }; 21 - };
+33
Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/nvmem/snvs-lpgpr.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Low Power General Purpose Register found in i.MX Secure Non-Volatile Storage 8 + 9 + maintainers: 10 + - Oleksij Rempel <o.rempel@pengutronix.de> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - fsl,imx6q-snvs-lpgpr 16 + - fsl,imx6ul-snvs-lpgpr 17 + - fsl,imx7d-snvs-lpgpr 18 + 19 + required: 20 + - compatible 21 + 22 + additionalProperties: false 23 + 24 + examples: 25 + - | 26 + snvs@20cc000 { 27 + compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; 28 + reg = <0x20cc000 0x4000>; 29 + 30 + snvs_lpgpr: snvs-lpgpr { 31 + compatible = "fsl,imx6q-snvs-lpgpr"; 32 + }; 33 + };