devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
@ 2025-02-27 18:08 Yuvaraj Ranganathan
  2025-02-27 18:08 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: " Yuvaraj Ranganathan
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-02-27 18:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, quic_yrangana

The initial QCE node change is reverted by the following patch 
https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
because of the build warning,

  sa8775p-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
    ...
    'qcom,sa8775p-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']

Add the QCE node back that fix the warnings.

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

diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
index 23049cc58896..b0d77b109305 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
@@ -2418,6 +2418,18 @@ cryptobam: dma-controller@1dc4000 {
 				 <&apps_smmu 0x481 0x00>;
 		};
 
+		crypto: crypto@1dfa000 {
+			compatible = "qcom,sa8775p-qce", "qcom,sm8150-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] 19+ messages in thread

end of thread, other threads:[~2025-03-29 12:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 18:08 [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node Yuvaraj Ranganathan
2025-02-27 18:08 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: " Yuvaraj Ranganathan
2025-02-28  0:28   ` Bjorn Andersson
2025-03-01 16:59   ` Dmitry Baryshkov
2025-02-28  0:26 ` [PATCH 1/2] arm64: dts: qcom: sa8775p: " Bjorn Andersson
2025-02-28  5:31   ` Yuvaraj Ranganathan
2025-02-28 14:14     ` Bjorn Andersson
2025-03-01 13:36       ` Krzysztof Kozlowski
2025-03-25  5:20         ` Yuvaraj Ranganathan
2025-03-25  7:30 ` Krzysztof Kozlowski
2025-03-26 17:40   ` Yuvaraj Ranganathan
2025-03-27  7:08     ` Krzysztof Kozlowski
2025-03-28  6:04       ` Yuvaraj Ranganathan
2025-03-28  7:17         ` Krzysztof Kozlowski
2025-03-28  8:32           ` Yuvaraj Ranganathan
2025-03-28  9:09             ` Krzysztof Kozlowski
2025-03-28 12:48         ` Dmitry Baryshkov
2025-03-29 12:08           ` Konrad Dybcio
2025-03-26 17:34 ` Dmitry Baryshkov

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