Qualcomm Pseudo Random Number Generator
Schema identifier ($id): "http://devicetree.org/schemas/crypto/qcom,prng.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,ipq5332-trng","qcom,ipq5424-trng","qcom,ipq9574-trng","qcom,kaanapali-trng","qcom,milos-trng","qcom,qcs615-trng","qcom,qcs8300-trng","qcom,sa8255p-trng","qcom,sa8775p-trng","qcom,sc7280-trng","qcom,sm8450-trng","qcom,sm8550-trng","qcom,sm8650-trng","qcom,sm8750-trng","qcom,x1e80100-trng"Item 2
Exact value (
const):"qcom,trng"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,trng"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
rng@f9bff000 {
compatible = "qcom,prng";
reg = <0xf9bff000 0x200>;
clocks = <&clk 125>;
clock-names = "core";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 16: 8916 etc.
Line 17: 8996 and later using EE