* [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms
@ 2023-03-23 23:37 Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Vladimir Zapolskiy
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
The changeset updates Qualcomm Crypto Engine compatible values from
deprecated ones to new according to the recent changes in
Documentation/devicetree/bindings/crypto/qcom-qce.yaml, also two
more Qualcomm platforms SM8250 and SM8450 gained QCE and BAM DMA
device tree nodes.
Vladimir Zapolskiy (5):
arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC
arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme
arm64: dts: qcom: sdm845: update QCE compatible according to a new scheme
arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP
arm64: dts: qcom: sm8450: add description of Qualcomm Crypto Engine IP
arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++
5 files changed, 49 insertions(+), 3 deletions(-)
--
2.33.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
@ 2023-03-23 23:37 ` Vladimir Zapolskiy
2023-03-24 9:51 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme Vladimir Zapolskiy
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
Change the old deprecated compatible name to a new one, which is specific
to IPQ4019 SoC.
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index dfcfb3339c23..3968bf0f585b 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -315,7 +315,7 @@ cryptobam: dma-controller@8e04000 {
};
crypto: crypto@8e3a000 {
- compatible = "qcom,crypto-v5.1";
+ compatible = "qcom,ipq4019-qce", "qcom,qce";
reg = <0x08e3a000 0x6000>;
clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
<&gcc GCC_CRYPTO_AXI_CLK>,
--
2.33.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Vladimir Zapolskiy
@ 2023-03-23 23:37 ` Vladimir Zapolskiy
2023-03-24 9:54 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 3/5] arm64: dts: qcom: sdm845: " Vladimir Zapolskiy
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
Change the old deprecated compatible name of QCE IP on MSM8996 to new ones
based on SoC name.
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 4661a556772e..2ee28f9b6229 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -784,7 +784,7 @@ cryptobam: dma-controller@644000 {
};
crypto: crypto@67a000 {
- compatible = "qcom,crypto-v5.4";
+ compatible = "qcom,msm8996-qce", "qcom,ipq4019-qce", "qcom,qce";
reg = <0x0067a000 0x6000>;
clocks = <&gcc GCC_CE1_AHB_CLK>,
<&gcc GCC_CE1_AXI_CLK>,
--
2.33.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/5] arm64: dts: qcom: sdm845: update QCE compatible according to a new scheme
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme Vladimir Zapolskiy
@ 2023-03-23 23:37 ` Vladimir Zapolskiy
2023-03-24 9:54 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 5/5] arm64: dts: qcom: sm8450: " Vladimir Zapolskiy
4 siblings, 1 reply; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
Change the old deprecated compatible name of QCE IP on SDM845 to new
ones based on SoC name.
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 2f32179c7d1b..bca0521dc08c 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -2643,7 +2643,7 @@ cryptobam: dma-controller@1dc4000 {
};
crypto: crypto@1dfa000 {
- compatible = "qcom,crypto-v5.4";
+ compatible = "qcom,sdm845-qce", "qcom,ipq4019-qce", "qcom,qce";
reg = <0 0x01dfa000 0 0x6000>;
clocks = <&gcc GCC_CE1_AHB_CLK>,
<&gcc GCC_CE1_AXI_CLK>,
--
2.33.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
` (2 preceding siblings ...)
2023-03-23 23:37 ` [PATCH 3/5] arm64: dts: qcom: sdm845: " Vladimir Zapolskiy
@ 2023-03-23 23:37 ` Vladimir Zapolskiy
2023-03-28 5:49 ` Bhupesh Sharma
2023-03-23 23:37 ` [PATCH 5/5] arm64: dts: qcom: sm8450: " Vladimir Zapolskiy
4 siblings, 1 reply; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
Add description of QCE and its corresponding BAM DMA IPs on SM8250 SoC.
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 7b78761f2041..363818da792a 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -2222,6 +2222,30 @@ ufs_mem_phy_lanes: phy@1d87400 {
};
};
+ cryptobam: dma-controller@1dc4000 {
+ compatible = "qcom,bam-v1.7.0";
+ reg = <0x0 0x01dc4000 0x0 0x24000>;
+ interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ qcom,ee = <0>;
+ qcom,controlled-remotely;
+ num-channels = <8>;
+ qcom,num-ees = <2>;
+ iommus = <&apps_smmu 0x586 0x11>,
+ <&apps_smmu 0x596 0x11>;
+ };
+
+ crypto: crypto@1dfa000 {
+ compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce";
+ reg = <0x0 0x01dfa000 0x0 0x6000>;
+ dmas = <&cryptobam 6>, <&cryptobam 7>;
+ dma-names = "rx", "tx";
+ interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>;
+ interconnect-names = "memory";
+ iommus = <&apps_smmu 0x586 0x11>,
+ <&apps_smmu 0x596 0x11>;
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x40000>;
--
2.33.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/5] arm64: dts: qcom: sm8450: add description of Qualcomm Crypto Engine IP
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
` (3 preceding siblings ...)
2023-03-23 23:37 ` [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Vladimir Zapolskiy
@ 2023-03-23 23:37 ` Vladimir Zapolskiy
2023-03-28 5:47 ` Bhupesh Sharma
4 siblings, 1 reply; 11+ messages in thread
From: Vladimir Zapolskiy @ 2023-03-23 23:37 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
Add description of QCE and its corresponding BAM DMA IPs on SM8450 SoC.
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index ce4b7d0a09ab..228c26fb9003 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -4081,6 +4081,28 @@ ufs_mem_phy_lanes: phy@1d87400 {
};
};
+ cryptobam: dma-controller@1dc4000 {
+ compatible = "qcom,bam-v1.7.0";
+ reg = <0x0 0x01dc4000 0x0 0x24000>;
+ interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ qcom,ee = <0>;
+ qcom,controlled-remotely;
+ num-channels = <8>;
+ qcom,num-ees = <2>;
+ iommus = <&apps_smmu 0x584 0x11>;
+ };
+
+ crypto: crypto@1dfa000 {
+ compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce";
+ reg = <0x0 0x01dfa000 0x0 0x6000>;
+ dmas = <&cryptobam 4>, <&cryptobam 5>;
+ dma-names = "rx", "tx";
+ interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>;
+ interconnect-names = "memory";
+ iommus = <&apps_smmu 0x584 0x11>;
+ };
+
sdhc_2: mmc@8804000 {
compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>;
--
2.33.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC
2023-03-23 23:37 ` [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Vladimir Zapolskiy
@ 2023-03-24 9:51 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-24 9:51 UTC (permalink / raw)
To: Vladimir Zapolskiy, Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
On 24/03/2023 00:37, Vladimir Zapolskiy wrote:
> Change the old deprecated compatible name to a new one, which is specific
> to IPQ4019 SoC.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> index dfcfb3339c23..3968bf0f585b 100644
> --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> @@ -315,7 +315,7 @@ cryptobam: dma-controller@8e04000 {
> };
>
> crypto: crypto@8e3a000 {
> - compatible = "qcom,crypto-v5.1";
> + compatible = "qcom,ipq4019-qce", "qcom,qce";
The bindings in current next do not allow such combination. Is there
some dependency here? Are you sure this passed dtbs_check?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme
2023-03-23 23:37 ` [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme Vladimir Zapolskiy
@ 2023-03-24 9:54 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-24 9:54 UTC (permalink / raw)
To: Vladimir Zapolskiy, Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
On 24/03/2023 00:37, Vladimir Zapolskiy wrote:
> Change the old deprecated compatible name of QCE IP on MSM8996 to new ones
> based on SoC name.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 4661a556772e..2ee28f9b6229 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -784,7 +784,7 @@ cryptobam: dma-controller@644000 {
> };
>
> crypto: crypto@67a000 {
> - compatible = "qcom,crypto-v5.4";
> + compatible = "qcom,msm8996-qce", "qcom,ipq4019-qce", "qcom,qce";
The driver change was just merged, so this cannot go no - it will break
existing boards. Also commit msg does not explain that this requires new
driver support / is non-backportable patch etc.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/5] arm64: dts: qcom: sdm845: update QCE compatible according to a new scheme
2023-03-23 23:37 ` [PATCH 3/5] arm64: dts: qcom: sdm845: " Vladimir Zapolskiy
@ 2023-03-24 9:54 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-24 9:54 UTC (permalink / raw)
To: Vladimir Zapolskiy, Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
Cc: Bhupesh Sharma, linux-arm-msm, devicetree
On 24/03/2023 00:37, Vladimir Zapolskiy wrote:
> Change the old deprecated compatible name of QCE IP on SDM845 to new
> ones based on SoC name.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 2f32179c7d1b..bca0521dc08c 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -2643,7 +2643,7 @@ cryptobam: dma-controller@1dc4000 {
> };
>
> crypto: crypto@1dfa000 {
> - compatible = "qcom,crypto-v5.4";
> + compatible = "qcom,sdm845-qce", "qcom,ipq4019-qce", "qcom,qce";
Same comments as previous patch. I guess it applies to other patches as
well.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 5/5] arm64: dts: qcom: sm8450: add description of Qualcomm Crypto Engine IP
2023-03-23 23:37 ` [PATCH 5/5] arm64: dts: qcom: sm8450: " Vladimir Zapolskiy
@ 2023-03-28 5:47 ` Bhupesh Sharma
0 siblings, 0 replies; 11+ messages in thread
From: Bhupesh Sharma @ 2023-03-28 5:47 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
linux-arm-msm, devicetree
On Fri, 24 Mar 2023 at 05:07, Vladimir Zapolskiy
<vladimir.zapolskiy@linaro.org> wrote:
>
> Add description of QCE and its corresponding BAM DMA IPs on SM8450 SoC.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> index ce4b7d0a09ab..228c26fb9003 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> @@ -4081,6 +4081,28 @@ ufs_mem_phy_lanes: phy@1d87400 {
> };
> };
>
> + cryptobam: dma-controller@1dc4000 {
> + compatible = "qcom,bam-v1.7.0";
> + reg = <0x0 0x01dc4000 0x0 0x24000>;
> + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + qcom,ee = <0>;
> + qcom,controlled-remotely;
> + num-channels = <8>;
> + qcom,num-ees = <2>;
> + iommus = <&apps_smmu 0x584 0x11>;
> + };
> +
> + crypto: crypto@1dfa000 {
> + compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce";
> + reg = <0x0 0x01dfa000 0x0 0x6000>;
> + dmas = <&cryptobam 4>, <&cryptobam 5>;
> + dma-names = "rx", "tx";
> + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>;
> + interconnect-names = "memory";
> + iommus = <&apps_smmu 0x584 0x11>;
> + };
> +
> sdhc_2: mmc@8804000 {
> compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5";
> reg = <0 0x08804000 0 0x1000>;
> --
> 2.33.0
Already folded Neil's patch and sent via [1], which includes the
correct BAM DMA compatible list as well.
[1]. https://lore.kernel.org/linux-arm-msm/20230322114519.3412469-11-bhupesh.sharma@linaro.org/
Thanks.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP
2023-03-23 23:37 ` [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Vladimir Zapolskiy
@ 2023-03-28 5:49 ` Bhupesh Sharma
0 siblings, 0 replies; 11+ messages in thread
From: Bhupesh Sharma @ 2023-03-28 5:49 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
linux-arm-msm, devicetree
On Fri, 24 Mar 2023 at 05:07, Vladimir Zapolskiy
<vladimir.zapolskiy@linaro.org> wrote:
>
> Add description of QCE and its corresponding BAM DMA IPs on SM8250 SoC.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index 7b78761f2041..363818da792a 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -2222,6 +2222,30 @@ ufs_mem_phy_lanes: phy@1d87400 {
> };
> };
>
> + cryptobam: dma-controller@1dc4000 {
> + compatible = "qcom,bam-v1.7.0";
> + reg = <0x0 0x01dc4000 0x0 0x24000>;
> + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + qcom,ee = <0>;
> + qcom,controlled-remotely;
> + num-channels = <8>;
> + qcom,num-ees = <2>;
> + iommus = <&apps_smmu 0x586 0x11>,
> + <&apps_smmu 0x596 0x11>;
> + };
> +
> + crypto: crypto@1dfa000 {
> + compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce";
> + reg = <0x0 0x01dfa000 0x0 0x6000>;
> + dmas = <&cryptobam 6>, <&cryptobam 7>;
> + dma-names = "rx", "tx";
> + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>;
> + interconnect-names = "memory";
> + iommus = <&apps_smmu 0x586 0x11>,
> + <&apps_smmu 0x596 0x11>;
> + };
> +
> tcsr_mutex: hwlock@1f40000 {
> compatible = "qcom,tcsr-mutex";
> reg = <0x0 0x01f40000 0x0 0x40000>;
> --
> 2.33.0
Already folded this patch (which includes your SoB) and sent via [1],
which includes the correct BAM DMA compatible list.
[1]. https://lore.kernel.org/linux-arm-msm/20230322114519.3412469-9-bhupesh.sharma@linaro.org/
Thanks.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-03-28 5:49 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23 23:37 [PATCH 0/5] arm64: dts: qcom: add QCE on SM8250 and SM8450 platforms Vladimir Zapolskiy
2023-03-23 23:37 ` [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Vladimir Zapolskiy
2023-03-24 9:51 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme Vladimir Zapolskiy
2023-03-24 9:54 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 3/5] arm64: dts: qcom: sdm845: " Vladimir Zapolskiy
2023-03-24 9:54 ` Krzysztof Kozlowski
2023-03-23 23:37 ` [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Vladimir Zapolskiy
2023-03-28 5:49 ` Bhupesh Sharma
2023-03-23 23:37 ` [PATCH 5/5] arm64: dts: qcom: sm8450: " Vladimir Zapolskiy
2023-03-28 5:47 ` Bhupesh Sharma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.