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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: rng: microchip,pic32-rng: convert to DT schema

Convert the Devicetree binding documentation for microchip,pic32mzda-rng
from plain text to YAML.

Signed-off-by: Kael D'Alcamo <dev@kael-k.io>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Kael D'Alcamo and committed by
Herbert Xu
59682835 6af9914f

+40 -17
-17
Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
··· 1 - * Microchip PIC32 Random Number Generator 2 - 3 - The PIC32 RNG provides a pseudo random number generator which can be seeded by 4 - another true random number generator. 5 - 6 - Required properties: 7 - - compatible : should be "microchip,pic32mzda-rng" 8 - - reg : Specifies base physical address and size of the registers. 9 - - clocks: clock phandle. 10 - 11 - Example: 12 - 13 - rng: rng@1f8e6000 { 14 - compatible = "microchip,pic32mzda-rng"; 15 - reg = <0x1f8e6000 0x1000>; 16 - clocks = <&PBCLK5>; 17 - };
+40
Documentation/devicetree/bindings/rng/microchip,pic32-rng.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rng/microchip,pic32-rng.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip PIC32 Random Number Generator 8 + 9 + description: | 10 + The PIC32 RNG provides a pseudo random number generator which can be seeded 11 + by another true random number generator. 12 + 13 + maintainers: 14 + - Joshua Henderson <joshua.henderson@microchip.com> 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - microchip,pic32mzda-rng 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + clocks: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - clocks 31 + 32 + additionalProperties: false 33 + 34 + examples: 35 + - | 36 + rng: rng@1f8e6000 { 37 + compatible = "microchip,pic32mzda-rng"; 38 + reg = <0x1f8e6000 0x1000>; 39 + clocks = <&PBCLK5>; 40 + };