Skip to content

GSBI CRCI Autoconfiguration Support

Andy Gross linux-arm-msm linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesIn review
  2. v26 patches 4 repliesSuperseded
  3. v16 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Use cell-index instead of alias to denote GSBI instance

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6soc: qcom: gsbi: Add support for ADM CRCI muxingDocumentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt drivers/soc/qcom/Kconfig drivers/soc/qcom/qcom_gsbi.c+166 -10 replies
2/6mfd: qcom,tcsr: Add device tree binding for TCSRDocumentation/devicetree/bindings/mfd/qcom,tcsr.txt+22 -00 replies
3/6ARM: DT: apq8064: Add TCSR supportarch/arm/boot/dts/qcom-apq8064.dtsi+14 -00 replies
4/6ARM: DT: ipq8064: Add TCSR supportarch/arm/boot/dts/qcom-ipq8064.dtsi+14 -00 replies
5/6ARM: DT: msm8660: Add TCSR supportarch/arm/boot/dts/qcom-msm8660.dtsi+8 -00 replies
6/6ARM: DT: msm8960: Add TCSR supportarch/arm/boot/dts/qcom-msm8960.dtsi+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Patch v3 0/6] GSBI CRCI Autoconfiguration Support

This patch set adds support for automatic configuration of GSBI DMA CRCI values.

DMA operations require that the ADM CRCI mux values be properly configured in the TCSR (Top Control and Status Register) block. During probing of a GSBI device, the client mode must be declared and this can be used to lookup the correct TCSR ADM CRCI MUX settings and then program them so that they are correct before any clients are populated.

These patches add the TCSR as a syscon device and that allows the GSBI to access and manipulate the ADM CRCI MUX registers to correctly configure the values based on the GSBI port configuration.

Changes since v2:
- Use cell-index instead of alias to denote GSBI instance

Changes since v1:
- Fixed various review comments

Andy Gross (6):
soc: qcom: gsbi: Add support for ADM CRCI muxing
mfd: qcom,tcsr: Add device tree binding for TCSR
ARM: DT: apq8064: Add TCSR support
ARM: DT: ipq8064: Add TCSR support
ARM: DT: msm8660: Add TCSR support
ARM: DT: msm8960: Add TCSR support

 .../devicetree/bindings/mfd/qcom,tcsr.txt          |   22 +++
 .../devicetree/bindings/soc/qcom/qcom,gsbi.txt     |   14 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi                |   14 ++
 arch/arm/boot/dts/qcom-ipq8064.dtsi                |   14 ++
 arch/arm/boot/dts/qcom-msm8660.dtsi                |    8 ++
 arch/arm/boot/dts/qcom-msm8960.dtsi                |    8 ++
 drivers/soc/qcom/Kconfig                           |    1 +
 drivers/soc/qcom/qcom_gsbi.c                       |  152 ++++++++++++++++++++
 8 files changed, 232 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation