[PATCH v3 0/7] arm64: dts: qcom: sa8775p: add more IOMMUs

Bartosz Golaszewski posted 7 patches 2 years, 10 months ago
There is a newer version of this series
.../devicetree/bindings/clock/qcom,gpucc.yaml |   2 +
.../devicetree/bindings/iommu/arm,smmu.yaml   |   6 +-
arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 125 ++++
arch/arm64/configs/defconfig                  |   1 +
drivers/clk/qcom/Kconfig                      |   9 +
drivers/clk/qcom/Makefile                     |   1 +
drivers/clk/qcom/gpucc-sa8775p.c              | 625 ++++++++++++++++++
.../dt-bindings/clock/qcom,sa8775p-gpucc.h    |  50 ++
8 files changed, 817 insertions(+), 2 deletions(-)
create mode 100644 drivers/clk/qcom/gpucc-sa8775p.c
create mode 100644 include/dt-bindings/clock/qcom,sa8775p-gpucc.h
[PATCH v3 0/7] arm64: dts: qcom: sa8775p: add more IOMMUs
Posted by Bartosz Golaszewski 2 years, 10 months ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the GPU and PCIe IOMMUs for sa8775p platforms as well as the required
GPU clock controller driver.

NOTE: I didn't pick up Krzysztof's tag for patch 4/7 as the patch changed
significantly.

v2 -> v3:
- select QCOM_GDSC in Kconfig for the GPUCC module
- the GPU SMMU is actually an adreno SMMU so describe it as such and
  fix the DT
- fix the mapped memory size for the PCIe SMMU

v1 -> v2:
- remove unused include in the GPUCC driver
- remove unused clock from the GPUCC driver and make it compatible
  with the generic QCom GPUCC bindings
- put the new defconfig option in the right place (as per savedefconfig)
  and make the GPUCC driver a module rather than built-in
- describe the smmu clocks for sa8775p in dt-bindings

Bartosz Golaszewski (6):
  dt-bindings: clock: qcom: describe the GPUCC clock for SA8775P
  arm64: defconfig: enable the SA8775P GPUCC driver
  arm64: dts: qcom: sa8775p: add the pcie smmu node
  arm64: dts: qcom: sa8775p: add the GPU clock controller node
  dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU
  arm64: dts: qcom: sa8775p: add the GPU IOMMU node

Shazad Hussain (1):
  clk: qcom: add the GPUCC driver for sa8775p

 .../devicetree/bindings/clock/qcom,gpucc.yaml |   2 +
 .../devicetree/bindings/iommu/arm,smmu.yaml   |   6 +-
 arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 125 ++++
 arch/arm64/configs/defconfig                  |   1 +
 drivers/clk/qcom/Kconfig                      |   9 +
 drivers/clk/qcom/Makefile                     |   1 +
 drivers/clk/qcom/gpucc-sa8775p.c              | 625 ++++++++++++++++++
 .../dt-bindings/clock/qcom,sa8775p-gpucc.h    |  50 ++
 8 files changed, 817 insertions(+), 2 deletions(-)
 create mode 100644 drivers/clk/qcom/gpucc-sa8775p.c
 create mode 100644 include/dt-bindings/clock/qcom,sa8775p-gpucc.h

-- 
2.37.2
Re: (subset) [PATCH v3 0/7] arm64: dts: qcom: sa8775p: add more IOMMUs
Posted by Bjorn Andersson 2 years, 10 months ago
On Tue, 11 Apr 2023 14:59:03 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> Add the GPU and PCIe IOMMUs for sa8775p platforms as well as the required
> GPU clock controller driver.
> 
> NOTE: I didn't pick up Krzysztof's tag for patch 4/7 as the patch changed
> significantly.
> 
> [...]

Applied, thanks!

[1/7] dt-bindings: clock: qcom: describe the GPUCC clock for SA8775P
      commit: daa9e76d17570cdd2dbec28244e60e2cb0eafb36
[2/7] clk: qcom: add the GPUCC driver for sa8775p
      commit: 0afa16afc36d0e462c7f815b0131d2e9013849ac

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>