-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: rng: ti,omap-rom-rng: convert OMAP ROM RNG to dtschema
Convert the OMAP ROM RNG bindings to DT schema. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211227183251.132525-6-krzysztof.kozlowski@canonical.com
- Loading branch information
Krzysztof Kozlowski
authored and
Rob Herring
committed
Jan 5, 2022
1 parent
ff95e85
commit 8000f55
Showing
2 changed files
with
41 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: OMAP ROM Random Number Generator | ||
|
||
maintainers: | ||
- Pali Rohár <pali@kernel.org> | ||
- Tony Lindgren <tony@atomide.com> | ||
|
||
description: | ||
Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does. | ||
The implementation can depend on the SoC secure ROM used. | ||
|
||
properties: | ||
compatible: | ||
const: nokia,n900-rom-rng | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: ick | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- clock-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
rng { | ||
compatible = "nokia,n900-rom-rng"; | ||
clocks = <&rng_ick>; | ||
clock-names = "ick"; | ||
}; |