arm64: dts: qcom: sdm630: correct QFPROM byte offsets
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 5 May 2022 11:38:02 +0000 (13:38 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 3 Jul 2022 02:50:11 +0000 (21:50 -0500)
commit74b0fbd6048f8f4caaed712ceeca52c6034e9ad6
tree033ab94722170eab465545b4404046ae5827a12a
parentb2eab35be13d4537eb9f0e23846f2ab400bf63dd
arm64: dts: qcom: sdm630: correct QFPROM byte offsets

The NVMEM bindings expect that 'bits' property holds offset and size of
region within a byte, so it applies a constraint of <0, 7> for the
offset.  Using 25 as HSTX trim offset is within 4-byte QFPROM word, but
outside of the byte:

  sdm630-sony-xperia-nile-discovery.dtb: qfprom@780000: hstx-trim@240:bits:0:0: 25 is greater than the maximum of 7
  sdm630-sony-xperia-nile-discovery.dtb: qfprom@780000: gpu-speed-bin@41a0:bits:0:0: 21 is greater than the maximum of 7

Align the offsets to match the bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220505113802.243301-6-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sdm630.dtsi