
23 Apr
2024
23 Apr
'24
1:43 p.m.
On Fri, 05 Apr 2024 10:21:52 +0200, Neil Armstrong wrote:
First, fix version 5 support by using the right ch_offset in then msm_spmi_write() reg accesses.
Then:
- properly format command by importing helpers from Linux driver and use a switch/case to handle all versions in msm_spmi_write/read() command.
- handle peripheral ownership by poking into the cnfg registers and mark periperal as read-only when the owner id doesn't match
- finally add version 7 defines
[...]
Applied, thanks!
[1/4] spmi: msm: fix version 5 support commit: c2de620d64d462c1404ca383ad55aecf3f5a972e [2/4] spmi: msm: properly format command commit: f0b604d9491dc92c9cb092a9e4c0fdf2036cdb8d [3/4] spmi: msm: handle peripheral ownership commit: 59e0482b5edc1fceded3967306561a57f60ba4b3 [4/4] spmi: msm: support controller version 7 commit: ee1d8aa5ecf77991d3bbcfea2d5b37d88bb19473
Best regards,
--
Caleb Connolly caleb.connolly@linaro.org