summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2025-03-28 09:53:21 +0100
committerCaleb Connolly <[email protected]>2025-04-10 15:43:10 +0200
commit1a02b7aa58ae1558e2fd5c29e85c20bdf1becaae (patch)
treefad48af0c13390728e4822314d0996b43e6eafdd /include
parent2c1462e38b771c547a1f3ee8bbea5aa9d3719885 (diff)
spmi: msm: use real number of channels for v5 & v7
The SPMI_MAX_CHANNELS_Vx are only the maximum channels supported by the controller, but the real number of channels mapped on this system can be read from a register, so take this info. This allows no to overlap on the second controller present on the V7 SPMI arbiter, otherwise we would also parse the mapping of the second SPMI bus and we would bet the wrong IDs. Signed-off-by: Neil Armstrong <[email protected]> Tested-by: [email protected] # sdm845 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions