
On 2023-01-19 11:47, Sumit Garg wrote:
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov alexeymin@postmarketos.org wrote:
Now that reg-names is required, specify them, and use correct addresses for SPMI arbiter regs, taken from Linux dts [1] [2].
[1] https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/qcs4... [2] https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/sdm8...
Since you have already aligned the u-boot driver to work with Linux DT binding, we should rather exactly match spmi DT nodes as in Linux dts files.
-Sumit
It can be done easier for sdm845, but there is no exact file named qcs404-evb.dts in Linux with spmi node in it. File structure in Linux is a bit different. There qcs404-evb.dtsi includes qcs404.dtsi.
I can take spmi node from Linux's qcs404.dtsi and put it here in qcs404-evb.dts, but it won't be 1:1 match to Linux DT.
If that would be OK, I can do it in v2?
-- Alexey Minnekhanov