[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <vm3bmy7m3ouajawi4dhfi7ifbqio2j4xh74opc5zdcwxe4l77i@42bagwbh3b4m>
Date: Thu, 27 Feb 2025 18:28:21 -0600
From: Bjorn Andersson <andersson@...nel.org>
To: Yuvaraj Ranganathan <quic_yrangana@...cinc.com>
Cc: Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto node
On Thu, Feb 27, 2025 at 11:38:17PM +0530, Yuvaraj Ranganathan wrote:
> The initial QCE node change is reverted by the following patch
> https://lore.kernel.org/all/20250128115333.95021-2-krzysztof.kozlowski@linaro.org/
> because of the build warning,
>
> qcs8300-ride.dtb: crypto@...a000: compatible: 'oneOf' conditional failed, one must be fixed:
> ...
> 'qcom,qcs8300-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
>
> 1. ICE crypto node is not sorted and fix to sort it.
> 2. Add the QCE node back that fix the above warning.
>
Please put that in two patches. Please also adjust the language as
requested in patch 1.
Thanks,
Bjorn
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@...cinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 22 +++++++++++++++++-----
> 1 file changed, 17 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 13b1121cdf17..0ee0539a22e8 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -785,6 +785,13 @@ ufs_mem_phy: phy@...7000 {
> status = "disabled";
> };
>
> + ice: crypto@...8000 {
> + compatible = "qcom,qcs8300-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0x0 0x01d88000 0x0 0x18000>;
> + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> + };
> +
> cryptobam: dma-controller@...4000 {
> compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
> reg = <0x0 0x01dc4000 0x0 0x28000>;
> @@ -798,11 +805,16 @@ cryptobam: dma-controller@...4000 {
> <&apps_smmu 0x481 0x00>;
> };
>
> - ice: crypto@...8000 {
> - compatible = "qcom,qcs8300-inline-crypto-engine",
> - "qcom,inline-crypto-engine";
> - reg = <0x0 0x01d88000 0x0 0x18000>;
> - clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> + crypto: crypto@...a000 {
> + compatible = "qcom,qcs8300-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 QCOM_ICC_TAG_ALWAYS
> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
> + interconnect-names = "memory";
> };
>
> tcsr_mutex: hwlock@...0000 {
> --
> 2.34.1
>
Powered by blists - more mailing lists