* [PATCH V2 0/2] Add QCrypto support for QCS8300
@ 2024-11-25 11:19 Yuvaraj Ranganathan
2024-11-25 11:19 ` [PATCH V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
2024-11-25 11:19 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
0 siblings, 2 replies; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-25 11:19 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>
---
Changes in v2:
- Set the interconnect tag to QCOM_ICC_TAG_ALWAYS instead of passing 0(no TAG).
- Link to v1: https://lore.kernel.org/all/20241113055830.2918347-1-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 V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine
2024-11-25 11:19 [PATCH V2 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
@ 2024-11-25 11:19 ` Yuvaraj Ranganathan
2024-12-10 5:48 ` Herbert Xu
2024-11-25 11:19 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
1 sibling, 1 reply; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-25 11:19 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.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
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 [flat|nested] 5+ messages in thread
* [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-11-25 11:19 [PATCH V2 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
2024-11-25 11:19 ` [PATCH V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
@ 2024-11-25 11:19 ` Yuvaraj Ranganathan
2024-12-05 19:51 ` Konrad Dybcio
1 sibling, 1 reply; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-25 11:19 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..d699706638f0 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 QCOM_ICC_TAG_ALWAYS &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+ interconnect-names = "memory";
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x20000>;
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-11-25 11:19 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
@ 2024-12-05 19:51 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2024-12-05 19:51 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 25.11.2024 12:19 PM, 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..d699706638f0 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 QCOM_ICC_TAG_ALWAYS &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
Please wrap this line, see other files for an example
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine
2024-11-25 11:19 ` [PATCH V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
@ 2024-12-10 5:48 ` Herbert Xu
0 siblings, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2024-12-10 5:48 UTC (permalink / raw)
To: Yuvaraj Ranganathan
Cc: Thara Gopinath, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bhupesh Sharma, linux-crypto, linux-arm-msm,
devicetree, linux-kernel
On Mon, Nov 25, 2024 at 04:49:22PM +0530, Yuvaraj Ranganathan wrote:
> Document the crypto engine on the QCS8300 Platform.
>
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
> Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 1 +
> 1 file changed, 1 insertion(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-12-10 5:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-25 11:19 [PATCH V2 0/2] Add QCrypto support for QCS8300 Yuvaraj Ranganathan
2024-11-25 11:19 ` [PATCH V2 1/2] dt-bindings: crypto: qcom-qce: document the QCS8300 crypto engine Yuvaraj Ranganathan
2024-12-10 5:48 ` Herbert Xu
2024-11-25 11:19 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
2024-12-05 19:51 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®