[PATCH 0/4] smpi: msm: fix version 5 and add version 7 support

Caleb Connolly caleb.connolly at linaro.org
Thu Apr 11 14:40:41 CEST 2024



On 05/04/2024 10:21, 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
> 
> SPMI Arbiter Version 7 is present on SM8450, SM8550 and SM8650 SoC.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>

Acked-by: Caleb Connolly <caleb.connolly at linaro.org>

Mateusz: do you prefer to take these? I'm just as happy to take then 
through the qcom tree.

Kind regards,
> ---
> Neil Armstrong (4):
>        spmi: msm: fix version 5 support
>        spmi: msm: properly format command
>        spmi: msm: handle peripheral ownership
>        spmi: msm: support controller version 7
> 
>   drivers/spmi/spmi-msm.c | 148 +++++++++++++++++++++++++++++++++++++-----------
>   1 file changed, 116 insertions(+), 32 deletions(-)
> ---
> base-commit: f0e6aba1218bca578605697eed8aa94582bf57bb
> change-id: 20240404-topic-sm8x50-spmi-fixes-aec9b392813b
> 
> Best regards,

-- 
// Caleb (they/them)


More information about the U-Boot mailing list