diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-08 10:51:32 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-08-13 16:11:00 -0600 |
commit | 78db5580af782b4d84279559c75f2fbdc46b3d4b (patch) | |
tree | f2010d10709cd110fab16a349f145569b5a1a14f /Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml | |
parent | 8d63f97113a7e474b4fbbdc6ccde1091da167211 (diff) |
dt-bindings: rng: amlogic,meson-rng: convert to yaml
Now that we have the DT validation in place, let's convert the device tree
bindings for the Amlogic Random Number generator over to a YAML schemas.
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml new file mode 100644 index 000000000000..a9ff3cb35c5e --- /dev/null +++ b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic Meson Random number generator + +maintainers: + - Neil Armstrong <narmstrong@baylibre.com> + +properties: + compatible: + enum: + - amlogic,meson-rng + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: core + +required: + - compatible + - reg + +examples: + - | + rng@c8834000 { + compatible = "amlogic,meson-rng"; + reg = <0xc8834000 0x4>; + }; |