]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: milos: Add qfprom efuse node
authorAlexander Koskovich <akoskovich@pm.me>
Wed, 1 Apr 2026 02:25:07 +0000 (02:25 +0000)
committerBjorn Andersson <andersson@kernel.org>
Fri, 22 May 2026 03:34:28 +0000 (22:34 -0500)
Add the qfprom efuse node and describe where the GPU speedbin fuse is
located on Milos.

Note that for SM7635-AB at least, the value is "221", the max frequency
for this is 1050MHz. There's another speedbin out there for 1150MHz but
we do not know the value for it so just document in this commit.

Once the value is discovered we should add the speedbins to the A810
Adreno entry and update devicetree.

Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260331-milos-qfprom-v1-2-36017cc642db@pm.me
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/milos.dtsi

index 886d8514ce333bddb700c5f605999cb99ac71ac7..8c92329889538f0d79f7af436898e3ee278e361c 100644 (file)
                        #reset-cells = <1>;
                };
 
+               qfprom: efuse@221c8000 {
+                       compatible = "qcom,milos-qfprom", "qcom,qfprom";
+                       reg = <0x0 0x221c8000 0x0 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       gpu_speed_bin: gpu-speed-bin@138 {
+                               reg = <0x138 0x2>;
+                               bits = <0 9>;
+                       };
+               };
+
                remoteproc_adsp: remoteproc@3000000 {
                        compatible = "qcom,milos-adsp-pas";
                        reg = <0x0 0x03000000 0x0 0x10000>;