* [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes
@ 2024-12-23 11:09 Yuvaraj Ranganathan
2024-12-23 11:32 ` Konrad Dybcio
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yuvaraj Ranganathan @ 2024-12-23 11:09 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: 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>
---
Changes in v3:
- Wrap the lengthy lines
- Reduced the patch series as other patch is merged.
- Link to v2: https://lore.kernel.org/all/20241125111923.2218374-3-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/
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 73abf2ef9c9f..30c1de1c4ad2 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -736,6 +736,31 @@ 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 related [flat|nested] 5+ messages in thread
* Re: [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-12-23 11:09 [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
@ 2024-12-23 11:32 ` Konrad Dybcio
2024-12-26 18:27 ` Bjorn Andersson
2025-01-16 14:34 ` Rob Herring
2 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2024-12-23 11:32 UTC (permalink / raw)
To: Yuvaraj Ranganathan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 23.12.2024 12:09 PM, Yuvaraj Ranganathan wrote:
> Add the QCE and Crypto BAM DMA nodes.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-12-23 11:09 [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
2024-12-23 11:32 ` Konrad Dybcio
@ 2024-12-26 18:27 ` Bjorn Andersson
2025-01-18 8:28 ` Krzysztof Kozlowski
2025-01-16 14:34 ` Rob Herring
2 siblings, 1 reply; 5+ messages in thread
From: Bjorn Andersson @ 2024-12-26 18:27 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yuvaraj Ranganathan
Cc: linux-arm-msm, devicetree, linux-kernel
On Mon, 23 Dec 2024 16:39:36 +0530, Yuvaraj Ranganathan wrote:
> Add the QCE and Crypto BAM DMA nodes.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: qcs8300: add QCrypto nodes
commit: a86d844099474acf59cfb45f4590800ae4d9365e
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-12-23 11:09 [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
2024-12-23 11:32 ` Konrad Dybcio
2024-12-26 18:27 ` Bjorn Andersson
@ 2025-01-16 14:34 ` Rob Herring
2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2025-01-16 14:34 UTC (permalink / raw)
To: Yuvaraj Ranganathan
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Mon, Dec 23, 2024 at 5:09 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>
> ---
> Changes in v3:
> - Wrap the lengthy lines
> - Reduced the patch series as other patch is merged.
> - Link to v2: https://lore.kernel.org/all/20241125111923.2218374-3-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/
>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 73abf2ef9c9f..30c1de1c4ad2 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -736,6 +736,31 @@ 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";
This doesn't match what the schema says.
You didn't test your schema change with this. That's the *whole* point
of the schemas...
Rob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes
2024-12-26 18:27 ` Bjorn Andersson
@ 2025-01-18 8:28 ` Krzysztof Kozlowski
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-18 8:28 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Yuvaraj Ranganathan
Cc: linux-arm-msm, devicetree, linux-kernel
On 26/12/2024 19:27, Bjorn Andersson wrote:
>
> On Mon, 23 Dec 2024 16:39:36 +0530, Yuvaraj Ranganathan wrote:
>> Add the QCE and Crypto BAM DMA nodes.
>>
>>
>
> Applied, thanks!
>
> [1/1] arm64: dts: qcom: qcs8300: add QCrypto nodes
> commit: a86d844099474acf59cfb45f4590800ae4d9365e
So this was applied 3 weeks ago, but Yuvaraj did not come ever with any
testing or fix... So maybe the way is to revert patches which were never
tested?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-01-18 8:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-23 11:09 [PATCH v3] arm64: dts: qcom: qcs8300: add QCrypto nodes Yuvaraj Ranganathan
2024-12-23 11:32 ` Konrad Dybcio
2024-12-26 18:27 ` Bjorn Andersson
2025-01-18 8:28 ` Krzysztof Kozlowski
2025-01-16 14:34 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox