]> git.dujemihanovic.xyz Git - u-boot.git/commit
spmi: msm: fix register range names
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 5 Dec 2023 13:46:53 +0000 (13:46 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 16 Jan 2024 12:26:54 +0000 (12:26 +0000)
commit92fe08921c769994817004b4b7e621d32f0431dd
tree77bc70681790d344008d3db24d59ddf8fe935f93
parentf1d66ed728c6eef6a91522ba989348b4a69939c1
spmi: msm: fix register range names

The core and chnl register ranges were swapped on SDM845. Fix it, and
fetch the register ranges by name instead of by index.

Drop the cosmetic "version" variable and clean up the debug logging.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/dts/qcs404-evb.dts
arch/arm/dts/sdm845.dtsi
doc/device-tree-bindings/spmi/spmi-msm.txt [deleted file]
drivers/spmi/spmi-msm.c