linux-next/drivers/spmi
Abel Vesa 8bc03763e1 spmi: pmic-arb: Make the APID init a version operation
Rather than using conditionals in probe function, add the APID init
as a version specific operation. Due to v7, which supports multiple
buses, pass on the bus index to be used for sorting out the apid base
and count.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240417-spmi-multi-master-support-v10-4-5bc6d322e266@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240507210809.3479953-10-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-08 19:46:10 +01:00
..
hisi-spmi-controller.c spmi: hisi-spmi-controller: Do not override device identifier 2024-05-08 19:46:10 +01:00
Kconfig spmi: mediatek: Add support for MT6873/8192 2021-12-17 17:18:18 +01:00
Makefile spmi: Introduce device-managed functions 2023-12-15 17:27:04 +01:00
spmi-devres.c spmi: Return meaningful errors in spmi_controller_alloc() 2023-12-15 17:27:04 +01:00
spmi-mtk-pmif.c spmi: mediatek: add device id check 2023-12-15 17:27:04 +01:00
spmi-pmic-arb.c spmi: pmic-arb: Make the APID init a version operation 2024-05-08 19:46:10 +01:00
spmi.c spmi: make spmi_bus_type const 2024-05-08 19:46:10 +01:00