arm64: dts: qcom: msm8998: Move qfprom iospace to calibrated values
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Wed, 1 Sep 2021 18:31:22 +0000 (20:31 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 22:37:05 +0000 (17:37 -0500)
The QFPROM iospace was (erroneously, I believe) set to the uncalibrated
fuse start address, but every driver only needs - and will always only
need - only calibrated values.

Move the iospace forward to the calibrated values start to avoid
offsetting every fuse definition.
Obviously, the only defined fuse (qusb2_hstx_trim) was also fixed to
remove the offset, in order to comply with this change.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210901183123.1087392-4-angelogioacchino.delregno@somainline.org
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 6f6893a..0fafd9e 100644 (file)
                        reg = <0x00778000 0x7000>;
                };
 
-               qfprom: qfprom@780000 {
+               qfprom: qfprom@784000 {
                        compatible = "qcom,qfprom";
-                       reg = <0x00780000 0x621c>;
+                       reg = <0x00784000 0x621c>;
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       qusb2_hstx_trim: hstx-trim@423a {
-                               reg = <0x423a 0x1>;
+                       qusb2_hstx_trim: hstx-trim@23a {
+                               reg = <0x23a 0x1>;
                                bits = <0 4>;
                        };
                };