[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240207-spmi-multi-master-support-v1-0-ce57f301c7fd@linaro.org>
Date: Wed, 07 Feb 2024 01:33:41 +0200
From: Abel Vesa <abel.vesa@...aro.org>
To: Stephen Boyd <sboyd@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-mediatek@...ts.infradead.org,
Abel Vesa <abel.vesa@...aro.org>
Subject: [PATCH RFC 0/2] spmi: Add multi master support
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@...aro.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@...aro.org>
Powered by blists - more mailing lists