* [PATCH 0/2] Add QCrypto support for QCS8300
@ 2024-11-13 5:58 Yuvaraj Ranganathan
2024-11-13 5:58 ` [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
2024-11-13 5:58 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
0 siblings, 2 replies; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 5:58 UTC (permalink / raw)
To: Thara Gopinath, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bhupesh Sharma
Cc: linux-crypto, linux-arm-msm, devicetree, linux-kernel,
quic_yrangana
Document QCS8300 support for QCrypto driver and add QCE
and Crypto BAM DMA nodes.
This series depends on below patch series:
https://lore.kernel.org/all/20240925-qcs8300_initial_dtsi-v2-0-494c40fa2a42@quicinc.com/ - Reviewed
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
Yuvaraj Ranganathan (2):
dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine
arm64: dts: qcom: qcs8300: add QCrypto nodes
.../devicetree/bindings/crypto/qcom-qce.yaml | 1 +
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 24 +++++++++++++++++++
2 files changed, 25 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine
2024-11-13 5:58 [PATCH 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
@ 2024-11-13 5:58 ` Yuvaraj Ranganathan
2024-11-15 16:53 ` Rob Herring (Arm)
2024-11-13 5:58 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
1 sibling, 1 reply; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 5:58 UTC (permalink / raw)
To: Thara Gopinath, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bhupesh Sharma
Cc: linux-crypto, linux-arm-msm, devicetree, linux-kernel,
quic_yrangana
Document the crypto engine on the QCS8300 Platform.
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
index c09be97434ac..9fc82cd08a37 100644
--- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
@@ -44,6 +44,7 @@ properties:
- items:
- enum:
+ - qcom,qcs8300-qce
- qcom,sa8775p-qce
- qcom,sc7280-qce
- qcom,sm6350-qce
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-11-13 5:58 [PATCH 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
2024-11-13 5:58 ` [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
@ 2024-11-13 5:58 ` Yuvaraj Ranganathan
2024-11-14 15:22 ` Konrad Dybcio
1 sibling, 1 reply; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 5:58 UTC (permalink / raw)
To: Thara Gopinath, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bhupesh Sharma
Cc: linux-crypto, linux-arm-msm, devicetree, linux-kernel,
quic_yrangana
Add the QCE and Crypto BAM DMA nodes.
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 2c35f96c3f28..d7007e175c15 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -710,6 +710,30 @@ ufs_mem_phy: phy@1d87000 {
status = "disabled";
};
+ cryptobam: dma-controller@1dc4000 {
+ compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
+ reg = <0x0 0x01dc4000 0x0 0x28000>;
+ interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ qcom,ee = <0>;
+ qcom,controlled-remotely;
+ num-channels = <20>;
+ qcom,num-ees = <4>;
+ iommus = <&apps_smmu 0x480 0x00>,
+ <&apps_smmu 0x481 0x00>;
+ };
+
+ crypto: crypto@1dfa000 {
+ compatible = "qcom,qcs8300-qce", "qcom,qce";
+ reg = <0x0 0x01dfa000 0x0 0x6000>;
+ dmas = <&cryptobam 4>, <&cryptobam 5>;
+ dma-names = "rx", "tx";
+ iommus = <&apps_smmu 0x480 0x00>,
+ <&apps_smmu 0x481 0x00>;
+ interconnects = <&aggre2_noc MASTER_CRYPTO_CORE0 0 &mc_virt SLAVE_EBI1 0>;
+ interconnect-names = "memory";
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x20000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-11-13 5:58 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
@ 2024-11-14 15:22 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2024-11-14 15:22 UTC (permalink / raw)
To: Yuvaraj Ranganathan, Thara Gopinath, Herbert Xu, David S. Miller,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bhupesh Sharma
Cc: linux-crypto, linux-arm-msm, devicetree, linux-kernel
On 13.11.2024 6:58 AM, Yuvaraj Ranganathan wrote:
> Add the QCE and Crypto BAM DMA nodes.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 2c35f96c3f28..d7007e175c15 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -710,6 +710,30 @@ ufs_mem_phy: phy@1d87000 {
> status = "disabled";
> };
>
> + cryptobam: dma-controller@1dc4000 {
> + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
> + reg = <0x0 0x01dc4000 0x0 0x28000>;
> + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + qcom,ee = <0>;
> + qcom,controlled-remotely;
> + num-channels = <20>;
> + qcom,num-ees = <4>;
> + iommus = <&apps_smmu 0x480 0x00>,
> + <&apps_smmu 0x481 0x00>;
> + };
> +
> + crypto: crypto@1dfa000 {
> + compatible = "qcom,qcs8300-qce", "qcom,qce";
> + reg = <0x0 0x01dfa000 0x0 0x6000>;
> + dmas = <&cryptobam 4>, <&cryptobam 5>;
> + dma-names = "rx", "tx";
> + iommus = <&apps_smmu 0x480 0x00>,
> + <&apps_smmu 0x481 0x00>;
> + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE0 0 &mc_virt SLAVE_EBI1 0>;
QCOM_ICC_TAG_ALWAYS
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine
2024-11-13 5:58 ` [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
@ 2024-11-15 16:53 ` Rob Herring (Arm)
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring (Arm) @ 2024-11-15 16:53 UTC (permalink / raw)
To: Yuvaraj Ranganathan
Cc: Conor Dooley, linux-crypto, linux-kernel, devicetree, Herbert Xu,
Bhupesh Sharma, linux-arm-msm, Bjorn Andersson, David S. Miller,
Thara Gopinath, Konrad Dybcio, Krzysztof Kozlowski
On Wed, 13 Nov 2024 11:28:29 +0530, Yuvaraj Ranganathan wrote:
> Document the crypto engine on the QCS8300 Platform.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
> Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-15 16:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 5:58 [PATCH 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
2024-11-13 5:58 ` [PATCH 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
2024-11-15 16:53 ` Rob Herring (Arm)
2024-11-13 5:58 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
2024-11-14 15:22 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox