]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm670: add qfprom node
authorRichard Acayan <mailingradian@gmail.com>
Tue, 6 Dec 2022 23:17:30 +0000 (18:17 -0500)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 03:18:12 +0000 (21:18 -0600)
Some hardware quirks and capabilities can be determined by reading the
fuse-programmable read-only memory. Add the QFPROM node so consumers
know if they need to do anything extra to support the hardware.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221206231729.164453-2-mailingradian@gmail.com
arch/arm64/boot/dts/qcom/sdm670.dtsi

index 47363fde64ac4d3361f7d0a0b038f89e0f95e8bc..e5ea74b99a20b827a7ce129e041d7250f6c19e70 100644 (file)
                        #power-domain-cells = <1>;
                };
 
+               qfprom: qfprom@784000 {
+                       compatible = "qcom,sdm670-qfprom", "qcom,qfprom";
+                       reg = <0 0x00784000 0 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+               };
+
                sdhc_1: mmc@7c4000 {
                        compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5";
                        reg = <0 0x007c4000 0 0x1000>,