devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for APPS SMMU on QCS615
@ 2024-10-11  6:31 Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM " Qingqing Zhou
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-11  6:31 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, robimarko,
	quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu, Qingqing Zhou

Enable APPS SMMU function on QCS615 platform. SMMU is required for
multiple functions including USB/UFS/Ethernet.

The reason of adding scm node:
SMMU driver probe will check qcom_scm ready or not, without scm
node, SMMU driver probe will defer, so add the scm node for SMMU
probe normally.
The dmesg log without scm node:
platform 15000000.iommu: deferred probe pending: arm-smmu: qcom_scm not ready

With the scm node, SMMU can probe normally, but scm driver still fails
to probe because of one scm bug.
The dmesg log of the scm bug:
qcom_scm firmware:scm: error (____ptrval____): Failed to enable the TrustZone memory allocator
qcom_scm firmware:scm: probe with driver qcom_scm failed with error 4
The scm bug mentioned above is fixed:
https://lore.kernel.org/all/20241005140150.4109700-2-quic_kuldsing@quicinc.com/
But above patch to fix scm bug doesn't impact building of current patch series, this
patch series can build successfully without above patch.

Dependency:
https://lore.kernel.org/all/20240926-add_initial_support_for_qcs615-v3-0-e37617e91c62@quicinc.com/

Qingqing Zhou (4):
  dt-bindings: firmware: qcom,scm: document SCM on QCS615
  dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  arm64: dts: qcom: qcs615: add scm node
  arm64: dts: qcom: qcs615: add the APPS SMMU node

 .../bindings/firmware/qcom,scm.yaml           |  1 +
 .../devicetree/bindings/iommu/arm,smmu.yaml   |  1 +
 arch/arm64/boot/dts/qcom/qcs615.dtsi          | 81 +++++++++++++++++++
 3 files changed, 83 insertions(+)

-- 
2.17.1


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

* [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM on QCS615
  2024-10-11  6:31 [PATCH 0/4] Add support for APPS SMMU on QCS615 Qingqing Zhou
@ 2024-10-11  6:31 ` Qingqing Zhou
  2024-10-11  6:48   ` Krzysztof Kozlowski
  2024-10-11  6:31 ` [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu Qingqing Zhou
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-11  6:31 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, robimarko,
	quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu, Qingqing Zhou

Document scm compatible for QCS615 SoCs. It is an interface to
communicate to the secure firmware.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 2cc83771d8e7..2a94d02f11a1 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -42,6 +42,7 @@ properties:
           - qcom,scm-msm8996
           - qcom,scm-msm8998
           - qcom,scm-qcm2290
+          - qcom,scm-qcs615
           - qcom,scm-qdu1000
           - qcom,scm-sa8775p
           - qcom,scm-sc7180
-- 
2.17.1


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

* [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  2024-10-11  6:31 [PATCH 0/4] Add support for APPS SMMU on QCS615 Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM " Qingqing Zhou
@ 2024-10-11  6:31 ` Qingqing Zhou
  2024-10-11  6:48   ` Krzysztof Kozlowski
  2024-10-11  6:31 ` [PATCH 3/4] arm64: dts: qcom: qcs615: add scm node Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node Qingqing Zhou
  3 siblings, 1 reply; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-11  6:31 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, robimarko,
	quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu, Qingqing Zhou

Add devicetree binding for apps smmu on Qualcomm QCS615 SoC. SMMU function
is required by multiple functions including USB/UFS/Ethernet.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index 92d350b8e01a..9e62c2cdda08 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -36,6 +36,7 @@ properties:
         items:
           - enum:
               - qcom,qcm2290-smmu-500
+              - qcom,qcs615-smmu-500
               - qcom,qcs8300-smmu-500
               - qcom,qdu1000-smmu-500
               - qcom,sa8255p-smmu-500
-- 
2.17.1


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

* [PATCH 3/4] arm64: dts: qcom: qcs615: add scm node
  2024-10-11  6:31 [PATCH 0/4] Add support for APPS SMMU on QCS615 Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM " Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu Qingqing Zhou
@ 2024-10-11  6:31 ` Qingqing Zhou
  2024-10-11  6:31 ` [PATCH 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node Qingqing Zhou
  3 siblings, 0 replies; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-11  6:31 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, robimarko,
	quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu, Qingqing Zhou

Add the scm node for QCS615 platform. It is an interface to
communicate to the secure firmware.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs615.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
index ac4c4c751da1..027c5125f36b 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -278,6 +278,13 @@
 		reg = <0 0x80000000 0 0>;
 	};
 
+	firmware {
+		scm {
+			compatible = "qcom,scm-qcs615", "qcom,scm";
+			qcom,dload-mode = <&tcsr 0x13000>;
+		};
+	};
+
 	camnoc_virt: interconnect-0 {
 		compatible = "qcom,qcs615-camnoc-virt";
 		#interconnect-cells = <2>;
-- 
2.17.1


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

* [PATCH 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node
  2024-10-11  6:31 [PATCH 0/4] Add support for APPS SMMU on QCS615 Qingqing Zhou
                   ` (2 preceding siblings ...)
  2024-10-11  6:31 ` [PATCH 3/4] arm64: dts: qcom: qcs615: add scm node Qingqing Zhou
@ 2024-10-11  6:31 ` Qingqing Zhou
  3 siblings, 0 replies; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-11  6:31 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, robimarko,
	quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu, Qingqing Zhou

Add the APPS SMMU node for qcs615-based platforms. Add the dma-ranges
to limit DMA address range to 36bit width to align with system
architecture.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs615.dtsi | 74 ++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
index 027c5125f36b..fcba83fca7cf 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -379,6 +379,7 @@
 	soc: soc@0 {
 		compatible = "simple-bus";
 		ranges = <0 0 0 0 0x10 0>;
+		dma-ranges = <0 0 0 0 0x10 0>;
 		#address-cells = <2>;
 		#size-cells = <2>;
 
@@ -524,6 +525,79 @@
 			reg = <0x0 0x0c3f0000 0x0 0x400>;
 		};
 
+		apps_smmu: iommu@15000000 {
+			compatible = "qcom,qcs615-smmu-500", "qcom,smmu-500", "arm,mmu-500";
+			reg = <0x0 0x15000000 0x0 0x80000>;
+			#iommu-cells = <2>;
+			#global-interrupts = <1>;
+
+			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		intc: interrupt-controller@17a00000 {
 			compatible = "arm,gic-v3";
 			reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */
-- 
2.17.1


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

* Re: [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  2024-10-11  6:31 ` [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu Qingqing Zhou
@ 2024-10-11  6:48   ` Krzysztof Kozlowski
  2024-10-14  3:09     ` Qingqing Zhou
  0 siblings, 1 reply; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-11  6:48 UTC (permalink / raw)
  To: Qingqing Zhou, andersson, konradybcio, robh, krzk+dt, conor+dt,
	robimarko, quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu

On 11/10/2024 08:31, Qingqing Zhou wrote:
> Add devicetree binding for apps smmu on Qualcomm QCS615 SoC. SMMU function
> is required by multiple functions including USB/UFS/Ethernet.

Do not explain what SMMU is, because it is obvious, but explain how this
hardware differs from everything existing.

> 
> Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
> ---
>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> index 92d350b8e01a..9e62c2cdda08 100644
> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> @@ -36,6 +36,7 @@ properties:
>          items:
>            - enum:
>                - qcom,qcm2290-smmu-500
> +              - qcom,qcs615-smmu-500

This is incomplete? No clocks? No power-domains?

Best regards,
Krzysztof


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

* Re: [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM on QCS615
  2024-10-11  6:31 ` [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM " Qingqing Zhou
@ 2024-10-11  6:48   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-11  6:48 UTC (permalink / raw)
  To: Qingqing Zhou, andersson, konradybcio, robh, krzk+dt, conor+dt,
	robimarko, quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu

On 11/10/2024 08:31, Qingqing Zhou wrote:
> Document scm compatible for QCS615 SoCs. It is an interface to
> communicate to the secure firmware.

Same comment.


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  2024-10-11  6:48   ` Krzysztof Kozlowski
@ 2024-10-14  3:09     ` Qingqing Zhou
  2024-10-14  6:52       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-14  3:09 UTC (permalink / raw)
  To: Krzysztof Kozlowski, andersson, konradybcio, robh, krzk+dt,
	conor+dt, robimarko, quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu



在 10/11/2024 2:48 PM, Krzysztof Kozlowski 写道:
> On 11/10/2024 08:31, Qingqing Zhou wrote:
>> Add devicetree binding for apps smmu on Qualcomm QCS615 SoC. SMMU function
>> is required by multiple functions including USB/UFS/Ethernet.
> 
> Do not explain what SMMU is, because it is obvious, but explain how this
> hardware differs from everything existing.
OK, will improve the comments in next patch version.
> 
>>
>> Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
>> ---
>>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>> index 92d350b8e01a..9e62c2cdda08 100644
>> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>> @@ -36,6 +36,7 @@ properties:
>>          items:
>>            - enum:
>>                - qcom,qcm2290-smmu-500
>> +              - qcom,qcs615-smmu-500
> 
> This is incomplete? No clocks? No power-domains?
This is APPS SMMU, no clocks and no power-domains are needed for DT.
> 
> Best regards,
> Krzysztof
> 

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

* Re: [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  2024-10-14  3:09     ` Qingqing Zhou
@ 2024-10-14  6:52       ` Krzysztof Kozlowski
  2024-10-14  9:53         ` Qingqing Zhou
  0 siblings, 1 reply; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-14  6:52 UTC (permalink / raw)
  To: Qingqing Zhou, andersson, konradybcio, robh, krzk+dt, conor+dt,
	robimarko, quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu

On 14/10/2024 05:09, Qingqing Zhou wrote:
>>> ---
>>>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> index 92d350b8e01a..9e62c2cdda08 100644
>>> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> @@ -36,6 +36,7 @@ properties:
>>>          items:
>>>            - enum:
>>>                - qcom,qcm2290-smmu-500
>>> +              - qcom,qcs615-smmu-500
>>
>> This is incomplete? No clocks? No power-domains?
> This is APPS SMMU, no clocks and no power-domains are needed for DT.

Then express it in the binding.

Best regards,
Krzysztof


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

* Re: [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu
  2024-10-14  6:52       ` Krzysztof Kozlowski
@ 2024-10-14  9:53         ` Qingqing Zhou
  0 siblings, 0 replies; 10+ messages in thread
From: Qingqing Zhou @ 2024-10-14  9:53 UTC (permalink / raw)
  To: Krzysztof Kozlowski, andersson, konradybcio, robh, krzk+dt,
	conor+dt, robimarko, quic_gurus, will, robin.murphy, joro
  Cc: linux-arm-msm, devicetree, linux-kernel, iommu



在 10/14/2024 2:52 PM, Krzysztof Kozlowski 写道:
> On 14/10/2024 05:09, Qingqing Zhou wrote:
>>>> ---
>>>>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>>> index 92d350b8e01a..9e62c2cdda08 100644
>>>> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>>> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>>> @@ -36,6 +36,7 @@ properties:
>>>>          items:
>>>>            - enum:
>>>>                - qcom,qcm2290-smmu-500
>>>> +              - qcom,qcs615-smmu-500
>>>
>>> This is incomplete? No clocks? No power-domains?
>> This is APPS SMMU, no clocks and no power-domains are needed for DT.
> 
> Then express it in the binding.
OK, will add this in next patch version.
> 
> Best regards,
> Krzysztof
> 

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

end of thread, other threads:[~2024-10-14  9:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11  6:31 [PATCH 0/4] Add support for APPS SMMU on QCS615 Qingqing Zhou
2024-10-11  6:31 ` [PATCH 1/4] dt-bindings: firmware: qcom,scm: document SCM " Qingqing Zhou
2024-10-11  6:48   ` Krzysztof Kozlowski
2024-10-11  6:31 ` [PATCH 2/4] dt-bindings: arm-smmu: Document Qualcomm QCS615 apps smmu Qingqing Zhou
2024-10-11  6:48   ` Krzysztof Kozlowski
2024-10-14  3:09     ` Qingqing Zhou
2024-10-14  6:52       ` Krzysztof Kozlowski
2024-10-14  9:53         ` Qingqing Zhou
2024-10-11  6:31 ` [PATCH 3/4] arm64: dts: qcom: qcs615: add scm node Qingqing Zhou
2024-10-11  6:31 ` [PATCH 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node Qingqing Zhou

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).