Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/5] LLCC: Support for Broadcast_AND region
@ 2024-02-06  7:15 Unnathi Chalicheemala
  2024-02-06  7:15 ` [PATCH v2 1/5] dt-bindings: arm: msm: Add llcc Broadcast_AND register region Unnathi Chalicheemala
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Unnathi Chalicheemala @ 2024-02-06  7:15 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, kernel

This series adds:
1. Device tree register mapping for Broadcast_AND region in SM8450,
SM8550, SM8650.
2. LLCC driver updates to reflect addition of Broadcast_AND regmap.

To support CSR programming, a broadcast interface is used to program all
channels in a single command. Until SM8450 there was only one broadcast
region (Broadcast_OR) used to broadcast write and check for status bit
0. From SM8450 onwards another broadcast region (Broadcast_AND) has been
added which checks for status bit 1.

This series updates the device trees from SM8450 onwards to have a
mapping to this Broadcast_AND region. It also updates the llcc_drv_data
structure with a regmap for Broadcast_AND region and corrects the
broadcast region used to check for status bit 1.

Merging strategy
----------------

All patches should be merged due to LLCC DeviceTree/driver dependency.

Changes in v2:
- Added an additional check in the case old DT files are used for
above mentioned chipsets for backwards compatibility
- Moved addition of if check in llcc_update_act_ctrl() to a separate
"Fixes" patch; not part of this series

Link to v1: https://lore.kernel.org/all/cover.1706296015.git.quic_uchalich@quicinc.com/

Unnathi Chalicheemala (5):
  dt-bindings: arm: msm: Add llcc Broadcast_AND register region
  arm64: dts: qcom: sm8450: Add mapping to llcc Broadcast_AND region
  arm64: dts: qcom: sm8550: Add mapping to llcc Broadcast_AND region
  arm64: dts: qcom: sm8650: Add mapping to llcc Broadcast_AND region
  soc: qcom: llcc: Add regmap for Broadcast_AND region

 .../devicetree/bindings/cache/qcom,llcc.yaml  | 41 +++++++++++++++----
 arch/arm64/boot/dts/qcom/sm8450.dtsi          |  5 ++-
 arch/arm64/boot/dts/qcom/sm8550.dtsi          |  6 ++-
 arch/arm64/boot/dts/qcom/sm8650.dtsi          |  6 ++-
 drivers/soc/qcom/llcc-qcom.c                  | 22 ++++++++--
 include/linux/soc/qcom/llcc-qcom.h            |  4 +-
 6 files changed, 66 insertions(+), 18 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-02-06 23:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06  7:15 [PATCH v2 0/5] LLCC: Support for Broadcast_AND region Unnathi Chalicheemala
2024-02-06  7:15 ` [PATCH v2 1/5] dt-bindings: arm: msm: Add llcc Broadcast_AND register region Unnathi Chalicheemala
2024-02-06 18:23   ` Rob Herring
2024-02-06  7:15 ` [PATCH v2 2/5] arm64: dts: qcom: sm8450: Add mapping to llcc Broadcast_AND region Unnathi Chalicheemala
2024-02-06  8:35   ` Krzysztof Kozlowski
2024-02-06 20:06     ` Unnathi Chalicheemala
2024-02-06 23:56       ` Dmitry Baryshkov
2024-02-06  7:15 ` [PATCH v2 3/5] arm64: dts: qcom: sm8550: " Unnathi Chalicheemala
2024-02-06  7:15 ` [PATCH v2 4/5] arm64: dts: qcom: sm8650: " Unnathi Chalicheemala
2024-02-06  7:15 ` [PATCH v2 5/5] soc: qcom: llcc: Add regmap for " Unnathi Chalicheemala
2024-02-06  8:40   ` Krzysztof Kozlowski
2024-02-06 18:42   ` Konrad Dybcio
2024-02-06 21:45     ` Unnathi Chalicheemala
2024-02-06  8:34 ` [PATCH v2 0/5] LLCC: Support " Krzysztof Kozlowski
2024-02-06 19:41   ` Unnathi Chalicheemala
2024-02-06 19:54     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox