linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] spmi: Add multi master support
@ 2024-02-06 23:33 Abel Vesa
  2024-02-06 23:33 ` [PATCH RFC 1/2] spmi: Add support for multi-master Abel Vesa
  2024-02-06 23:33 ` [PATCH RFC 2/2] spmi: pmic-arb: " Abel Vesa
  0 siblings, 2 replies; 12+ messages in thread
From: Abel Vesa @ 2024-02-06 23:33 UTC (permalink / raw)
  To: Stephen Boyd, Matthias Brugger, Bjorn Andersson, Konrad Dybcio,
	AngeloGioacchino Del Regno
  Cc: linux-kernel, linux-arm-kernel, linux-arm-msm, linux-mediatek,
	Abel Vesa

Newer SPMI controller (v7) found on Qualcomm platforms
provide support for multiple bus master. So add support
for multiple masters in both the generic framework and
the Qualcomm SPMI PMIC Arbiter driver.

Currently, the DT child nodes of the spmi controller node
are the slave devices connected to the bus. This patchset
proposes another layer of nodes in between. They would be
the master bus nodes. They will not be populated as separate
devices as they need to share register regions with the controller.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Abel Vesa (2):
      spmi: Add support for multi-master
      spmi: pmic-arb: Add support for multi-master

 drivers/spmi/spmi-mtk-pmif.c |   6 +-
 drivers/spmi/spmi-pmic-arb.c | 711 +++++++++++++++++++++++++++----------------
 drivers/spmi/spmi.c          |  76 +++--
 include/linux/spmi.h         |  10 +-
 4 files changed, 506 insertions(+), 297 deletions(-)
---
base-commit: ac139fc7db67968e5061715508b5fc4aa7c40c56
change-id: 20240207-spmi-multi-master-support-832a704b779b

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 23:33 [PATCH RFC 0/2] spmi: Add multi master support Abel Vesa
2024-02-06 23:33 ` [PATCH RFC 1/2] spmi: Add support for multi-master Abel Vesa
2024-02-06 23:55   ` Dmitry Baryshkov
2024-02-07  7:19     ` Abel Vesa
2024-02-07  7:23       ` Dmitry Baryshkov
2024-02-07  9:08         ` Abel Vesa
2024-02-07  9:44           ` Dmitry Baryshkov
2024-02-07 11:45           ` Dmitry Baryshkov
2024-02-07 12:46             ` AngeloGioacchino Del Regno
2024-02-07 14:22               ` Dmitry Baryshkov
2024-02-07 14:57                 ` neil.armstrong
2024-02-06 23:33 ` [PATCH RFC 2/2] spmi: pmic-arb: " 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).