Message ID | 20250328084629.1290797-1-loic.poulain@oss.qualcomm.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] arm64: dts: qcom: qcm2290: Add crypto engine | expand |
On Fri, Mar 28, 2025 at 09:46:29AM +0100, Loic Poulain wrote: > Add Qualcomm Crypto Engine (QCE) and BAM related nodes for this SoC. > > Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> > --- > v2: Remove redundant iommu streams already covered by the SMR masks > > arch/arm64/boot/dts/qcom/qcm2290.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
On Fri, 28 Mar 2025 09:46:29 +0100, Loic Poulain wrote: > Add Qualcomm Crypto Engine (QCE) and BAM related nodes for this SoC. > > Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> > --- > v2: Remove redundant iommu streams already covered by the SMR masks > > arch/arm64/boot/dts/qcom/qcm2290.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade This patch series was applied (using b4) to base: Base: attempting to guess base-commit... Base: failed to guess base If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically) New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20250328084629.1290797-1-loic.poulain@oss.qualcomm.com: arch/arm64/boot/dts/qcom/qrb2210-rb1.dtb: dma@1b04000: $nodename:0: 'dma@1b04000' does not match '^dma-controller(@.*)?$' from schema $id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml# arch/arm64/boot/dts/qcom/qrb2210-rb1.dtb: crypto@1b3a000: compatible: 'oneOf' conditional failed, one must be fixed: ['qcom,qcm2290-qce', 'qcom,qce'] is too long ['qcom,qcm2290-qce', 'qcom,qce'] is too short 'qcom,crypto-v5.1' was expected 'qcom,crypto-v5.4' was expected 'qcom,qcm2290-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce'] 'qcom,qcm2290-qce' is not one of ['qcom,qcs8300-qce', 'qcom,sa8775p-qce', 'qcom,sc7280-qce', 'qcom,sm6350-qce', 'qcom,sm8250-qce', 'qcom,sm8350-qce', 'qcom,sm8450-qce', 'qcom,sm8550-qce', 'qcom,sm8650-qce', 'qcom,sm8750-qce', 'qcom,x1e80100-qce'] 'qcom,ipq4019-qce' was expected 'qcom,sm8150-qce' was expected from schema $id: http://devicetree.org/schemas/crypto/qcom-qce.yaml#
diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi index f0746123e594..ffe4b2444256 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -749,6 +749,30 @@ config_noc: interconnect@1900000 { #interconnect-cells = <2>; }; + cryptobam: dma@1b04000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x0 0x01b04000 0x0 0x24000>; + interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&rpmcc RPM_SMD_CE1_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x0084 0x11>, + <&apps_smmu 0x0086 0x11>; + }; + + crypto: crypto@1b3a000 { + compatible = "qcom,qcm2290-qce", "qcom,qce"; + reg = <0x0 0x01b3a000 0x0 0x6000>; + clocks = <&rpmcc RPM_SMD_CE1_CLK>; + clock-names = "core"; + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x0084 0x11>, + <&apps_smmu 0x0086 0x11>; + }; + qfprom@1b44000 { compatible = "qcom,qcm2290-qfprom", "qcom,qfprom"; reg = <0x0 0x01b44000 0x0 0x3000>;
Add Qualcomm Crypto Engine (QCE) and BAM related nodes for this SoC. Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> --- v2: Remove redundant iommu streams already covered by the SMR masks arch/arm64/boot/dts/qcom/qcm2290.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)