public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 0/2] Add QCrypto support for SA8775P
@ 2024-10-17 14:44 Yuvaraj Ranganathan
  2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-10-17 14:44 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-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_yrangana, quic_sravank

Document SA8775P support for QCrypto driver and add QCE 
and Crypto BAM DMA nodes.

Yuvaraj Ranganathan (2):
  dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine
  arm64: dts: qcom: sa8775p: add QCrypto nodes

 .../devicetree/bindings/crypto/qcom-qce.yaml  |  1 +
 arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 22 +++++++++++++++++++
 2 files changed, 23 insertions(+)

-- 
2.34.1


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

* [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine
  2024-10-17 14:44 [PATCH V1 0/2] Add QCrypto support for SA8775P Yuvaraj Ranganathan
@ 2024-10-17 14:44 ` Yuvaraj Ranganathan
  2024-10-18  6:47   ` Krzysztof Kozlowski
  2024-10-26  7:02   ` Herbert Xu
  2024-10-17 14:45 ` [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes Yuvaraj Ranganathan
  2024-10-23  4:16 ` (subset) [PATCH V1 0/2] Add QCrypto support for SA8775P Bjorn Andersson
  2 siblings, 2 replies; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-10-17 14:44 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-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_yrangana, quic_sravank

Document the crypto engine on the SA8775P 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 e285e382d4ec..c09be97434ac 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,sa8775p-qce
               - qcom,sc7280-qce
               - qcom,sm6350-qce
               - qcom,sm8250-qce
-- 
2.34.1


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

* [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes
  2024-10-17 14:44 [PATCH V1 0/2] Add QCrypto support for SA8775P Yuvaraj Ranganathan
  2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
@ 2024-10-17 14:45 ` Yuvaraj Ranganathan
  2025-01-16 14:36   ` Rob Herring
  2024-10-23  4:16 ` (subset) [PATCH V1 0/2] Add QCrypto support for SA8775P Bjorn Andersson
  2 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-10-17 14:45 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-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_yrangana, quic_sravank

Add the QCE and Crypto BAM DMA nodes.

Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
index e8dbc8d820a6..c1c53f81a555 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
@@ -1912,6 +1912,28 @@ ice: crypto@1d88000 {
 			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
 		};
 
+		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;
+			iommus = <&apps_smmu 0x480 0x00>,
+				 <&apps_smmu 0x481 0x00>;
+		};
+
+		crypto: crypto@1dfa000 {
+			compatible = "qcom,sa8775p-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";
+		};
+
 		stm: stm@4002000 {
 			compatible = "arm,coresight-stm", "arm,primecell";
 			reg = <0x0 0x4002000 0x0 0x1000>,
-- 
2.34.1


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

* Re: [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine
  2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
@ 2024-10-18  6:47   ` Krzysztof Kozlowski
  2024-10-26  7:02   ` Herbert Xu
  1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-18  6:47 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Thara Gopinath, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
	Bhupesh Sharma, linux-arm-msm, linux-crypto, devicetree,
	linux-kernel, quic_sravank

On Thu, Oct 17, 2024 at 08:14:59PM +0530, Yuvaraj Ranganathan wrote:
> Document the crypto engine on the SA8775P 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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: (subset) [PATCH V1 0/2] Add QCrypto support for SA8775P
  2024-10-17 14:44 [PATCH V1 0/2] Add QCrypto support for SA8775P Yuvaraj Ranganathan
  2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
  2024-10-17 14:45 ` [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes Yuvaraj Ranganathan
@ 2024-10-23  4:16 ` Bjorn Andersson
  2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2024-10-23  4:16 UTC (permalink / raw)
  To: Thara Gopinath, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bhupesh Sharma,
	Yuvaraj Ranganathan
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_sravank


On Thu, 17 Oct 2024 20:14:58 +0530, Yuvaraj Ranganathan wrote:
> Document SA8775P support for QCrypto driver and add QCE
> and Crypto BAM DMA nodes.
> 
> Yuvaraj Ranganathan (2):
>   dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine
>   arm64: dts: qcom: sa8775p: add QCrypto nodes
> 
> [...]

Applied, thanks!

[2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes
      commit: 7ff3da43ef4453a6295bf82cb942168414043119

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

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

* Re: [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine
  2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
  2024-10-18  6:47   ` Krzysztof Kozlowski
@ 2024-10-26  7:02   ` Herbert Xu
  1 sibling, 0 replies; 7+ messages in thread
From: Herbert Xu @ 2024-10-26  7:02 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-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_sravank

On Thu, Oct 17, 2024 at 08:14:59PM +0530, Yuvaraj Ranganathan wrote:
> Document the crypto engine on the SA8775P Platform.
> 
> 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] 7+ messages in thread

* Re: [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes
  2024-10-17 14:45 ` [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes Yuvaraj Ranganathan
@ 2025-01-16 14:36   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2025-01-16 14:36 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Thara Gopinath, Herbert Xu, David S. Miller, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	quic_sravank

On Thu, Oct 17, 2024 at 9:45 AM Yuvaraj Ranganathan
<quic_yrangana@quicinc.com> wrote:
>
> Add the QCE and Crypto BAM DMA nodes.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/sa8775p.dtsi | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> index e8dbc8d820a6..c1c53f81a555 100644
> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> @@ -1912,6 +1912,28 @@ ice: crypto@1d88000 {
>                         clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
>                 };
>
> +               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;
> +                       iommus = <&apps_smmu 0x480 0x00>,
> +                                <&apps_smmu 0x481 0x00>;
> +               };
> +
> +               crypto: crypto@1dfa000 {
> +                       compatible = "qcom,sa8775p-qce", "qcom,qce";

This one also doesn't match the schema...

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

end of thread, other threads:[~2025-01-16 14:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-17 14:44 [PATCH V1 0/2] Add QCrypto support for SA8775P Yuvaraj Ranganathan
2024-10-17 14:44 ` [PATCH V1 1/2] dt-bindings: crypto: qcom-qce: document the SA8775P crypto engine Yuvaraj Ranganathan
2024-10-18  6:47   ` Krzysztof Kozlowski
2024-10-26  7:02   ` Herbert Xu
2024-10-17 14:45 ` [PATCH V1 2/2] arm64: dts: qcom: sa8775p: add QCrypto nodes Yuvaraj Ranganathan
2025-01-16 14:36   ` Rob Herring
2024-10-23  4:16 ` (subset) [PATCH V1 0/2] Add QCrypto support for SA8775P Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox