Qualcomm Technologies Inc, QFPROM Efuse
Schema identifier ($id): "http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nvmem.yaml#
Rule 2 #
Shared schema rule (
$ref):nvmem-deprecated-cells.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,apq8064-qfprom","qcom,apq8084-qfprom","qcom,ipq5018-qfprom","qcom,ipq5332-qfprom","qcom,ipq5424-qfprom","qcom,ipq6018-qfprom","qcom,ipq8064-qfprom","qcom,ipq8074-qfprom","qcom,ipq9574-qfprom","qcom,msm8226-qfprom","qcom,msm8916-qfprom","qcom,msm8917-qfprom","qcom,msm8937-qfprom","qcom,msm8960-qfprom","qcom,msm8974-qfprom","qcom,msm8976-qfprom","qcom,msm8996-qfprom","qcom,msm8998-qfprom","qcom,qcm2290-qfprom","qcom,qcs404-qfprom","qcom,qcs615-qfprom","qcom,qcs8300-qfprom","qcom,sa8775p-qfprom","qcom,sar2130p-qfprom","qcom,sc7180-qfprom","qcom,sc7280-qfprom","qcom,sc8280xp-qfprom","qcom,sdm630-qfprom","qcom,sdm670-qfprom","qcom,sdm845-qfprom","qcom,sm6115-qfprom","qcom,sm6350-qfprom","qcom,sm6375-qfprom","qcom,sm8150-qfprom","qcom,sm8250-qfprom","qcom,sm8450-qfprom","qcom,sm8550-qfprom","qcom,sm8650-qfprom","qcom,sm8750-qfprom","qcom,x1e80100-qfprom"
Item 2
Exact value (
const):"qcom,qfprom"
reg — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
The corrected region.
Rule 2
Array item rules (
items)Item 1
The corrected region.
Item 2
The raw region.
Item 3
The config region.
Item 4
The security control region.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "core"
vcc-supply — not listed as required here #
Our power supply.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
efuse@784000 {
compatible = "qcom,sc7180-qfprom", "qcom,qfprom";
reg = <0 0x00784000 0 0x8ff>,
<0 0x00780000 0 0x7a0>,
<0 0x00782000 0 0x100>,
<0 0x00786000 0 0x1fff>;
clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>;
clock-names = "core";
#address-cells = <1>;
#size-cells = <1>;
vcc-supply = <&vreg_l11a_1p8>;
hstx-trim-primary@25b {
reg = <0x25b 0x1>;
bits = <1 3>;
};
};
};
soc {
#address-cells = <2>;
#size-cells = <2>;
efuse@784000 {
compatible = "qcom,sdm845-qfprom", "qcom,qfprom";
reg = <0 0x00784000 0 0x8ff>;
#address-cells = <1>;
#size-cells = <1>;
hstx-trim-primary@1eb {
reg = <0x1eb 0x1>;
bits = <1 4>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 63: If the QFPROM is read-only OS image then only the corrected region
Line 64: needs to be provided. If the QFPROM is writable then all 4 regions
Line 65: must be provided.
Line 75: Clock must be provided if QFPROM is writable from the OS image.
Line 81: Supply reference must be provided if QFPROM is writable from the OS image.