linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v3 0/4] spmi: pmic-arb: Add support for multiple buses
@ 2024-02-14 21:13 Abel Vesa
  2024-02-14 21:13 ` [PATCH RFC v3 1/4] dt-bindings: spmi: Add PMIC ARB v7 schema Abel Vesa
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Abel Vesa @ 2024-02-14 21:13 UTC (permalink / raw)
  To: Stephen Boyd, Matthias Brugger, Bjorn Andersson, Konrad Dybcio,
	Dmitry Baryshkov, Neil Armstrong, AngeloGioacchino Del Regno
  Cc: Srini Kandagatla, Johan Hovold, linux-kernel, linux-arm-kernel,
	linux-arm-msm, linux-mediatek, Abel Vesa

This RFC prepares for and adds support for 2 buses, which is supported
in HW starting with version 7. Until now, none of the currently
supported platforms in upstream have used the second bus. The X1E80100
platform, on the other hand, needs the second bus for the USB2.0 to work
as there are 3 SMB2360 PMICs which provide eUSB2 repeaters and they are
all found on the second bus.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Changes in v3:
- Split the change into 3 separate patches. First 2 patches are moving
  apid init and core resources into version specific ops. Third one is
  adding the support for 2 buses and dedicated compatible.
- Added separate bindings patch
- Link to v2: https://lore.kernel.org/r/20240213-spmi-multi-master-support-v2-1-b3b102326906@linaro.org

Changes in v2:
- Reworked it so that it registers a spmi controller for each bus
  rather than relying on the generic framework to pass on the bus
  (master) id.
- Link to v1: https://lore.kernel.org/r/20240207-spmi-multi-master-support-v1-0-ce57f301c7fd@linaro.org

---
Abel Vesa (4):
      dt-bindings: spmi: Add PMIC ARB v7 schema
      spmi: pmic-arb: Make the APID init a version operation
      spmi: pmic-arb: Make core resources acquiring a version operation
      spmi: pmic-arb: Add multi bus support

 .../bindings/spmi/qcom,spmi-pmic-arb-v7.yaml       | 119 +++
 drivers/spmi/spmi-pmic-arb.c                       | 956 +++++++++++++--------
 2 files changed, 712 insertions(+), 363 deletions(-)
---
base-commit: 2c3b09aac00d7835023bbc4473ee06696be64fa8
change-id: 20240207-spmi-multi-master-support-832a704b779b

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-02-15 14:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 21:13 [PATCH RFC v3 0/4] spmi: pmic-arb: Add support for multiple buses Abel Vesa
2024-02-14 21:13 ` [PATCH RFC v3 1/4] dt-bindings: spmi: Add PMIC ARB v7 schema Abel Vesa
2024-02-15  8:54   ` Krzysztof Kozlowski
2024-02-15  9:25     ` Abel Vesa
2024-02-14 21:13 ` [PATCH RFC v3 2/4] spmi: pmic-arb: Make the APID init a version operation Abel Vesa
2024-02-14 21:16   ` Konrad Dybcio
2024-02-14 21:37     ` Abel Vesa
2024-02-14 21:13 ` [PATCH RFC v3 3/4] spmi: pmic-arb: Make core resources acquiring " Abel Vesa
2024-02-14 21:18   ` Konrad Dybcio
2024-02-14 21:36     ` Abel Vesa
2024-02-14 21:44       ` Konrad Dybcio
2024-02-15  9:26         ` Abel Vesa
2024-02-15  9:30       ` Dmitry Baryshkov
2024-02-15 13:32         ` Abel Vesa
2024-02-15 14:42           ` Dmitry Baryshkov
2024-02-14 21:13 ` [PATCH RFC v3 4/4] spmi: pmic-arb: Add multi bus support Abel Vesa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).