On 3/28/25 09:53, Neil Armstrong wrote:
The v5 & v7 controllers has complex mapping for
different Execution Environment, and v7 supports
two busses within the same controller so it needs
some special care when parsing the hardware map
table to get the proper read & write channels.

Test are welcome, especially for v5 controllers.

Tested on HDK8550, QRD8550 & QRD8650.

Buttons still work for me at least :D

Tested-by: <[email protected]> # sdm845

Not sure I'm familiar enough with SPMI to leave an R-b, but the patches look good!

Kind regards,

Signed-off-by: Neil Armstrong <[email protected]>
---
Neil Armstrong (4):
       spmi: msm: use real number of channels for v5 & v7
       spmi: msm: factor out channel mapping for v5 & v7
       spmi: msm: introduce SPMI_CHANNEL_VALID flag
       spmi: msm: correctly handle multiple mapping entries

  drivers/spmi/spmi-msm.c | 59 ++++++++++++++++++++++++++++++++++++++++---------
  1 file changed, 49 insertions(+), 10 deletions(-)
---
base-commit: 4adbf64ff8d8c730223fd8ae299d770bebb6fe86
change-id: 20250328-topic-sm8x50-spmi-fix-1e2b433a6ffd

Best regards,

--
Caleb (they/them)

Reply via email to