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

dt-bindings: rng: Convert iProc RNG200 to YAML

Convert the Broadcom iProc RNG200 HWRNG Device Tree binding to YAML to
help with validation.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211208003727.3596577-11-f.fainelli@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Florian Fainelli and committed by
Rob Herring
0cf5e46e 539d25b2

+30 -16
-16
Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
··· 1 - HWRNG support for the iproc-rng200 driver 2 - 3 - Required properties: 4 - - compatible : Must be one of: 5 - "brcm,bcm2711-rng200" 6 - "brcm,bcm7211-rng200" 7 - "brcm,bcm7278-rng200" 8 - "brcm,iproc-rng200" 9 - - reg : base address and size of control register block 10 - 11 - Example: 12 - 13 - rng { 14 - compatible = "brcm,iproc-rng200"; 15 - reg = <0x18032000 0x28>; 16 - };
+30
Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/rng/brcm,iproc-rng200.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: HWRNG support for the iproc-rng200 driver 8 + 9 + maintainers: 10 + - Florian Fainelli <f.fainelli@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - brcm,bcm2711-rng200 16 + - brcm,bcm7211-rng200 17 + - brcm,bcm7278-rng200 18 + - brcm,iproc-rng200 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + rng@18032000 { 28 + compatible = "brcm,iproc-rng200"; 29 + reg = <0x18032000 0x28>; 30 + };