* [PATCH 0/2] Enable Inline crypto engine for QCS8300
@ 2024-11-13 4:33 Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 1/2] dt-bindings: crypto: ice: document the qcs8300 inline crypto engine Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the " Yuvaraj Ranganathan
0 siblings, 2 replies; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 4:33 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana
Document and add device-tree node to enable Inline crypto engine for QCS8300
This series depends on below patch series:
https://lore.kernel.org/all/20240925-qcs8300_initial_dtsi-v2-0-494c40fa2a42@quicinc.com/ - Reviewed
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
Yuvaraj Ranganathan (2):
dt-bindings: crypto: ice: document the qcs8300 inline crypto engine
arm64: dts: qcom: qcs8300: enable the inline crypto engine
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 8 ++++++++
2 files changed, 9 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] dt-bindings: crypto: ice: document the qcs8300 inline crypto engine
2024-11-13 4:33 [PATCH 0/2] Enable Inline crypto engine for QCS8300 Yuvaraj Ranganathan
@ 2024-11-13 4:33 ` Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the " Yuvaraj Ranganathan
1 sibling, 0 replies; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 4:33 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana
Add the compatible string for QCom ICE on qcs8300 SoCs.
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
.../devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
index 0304f074cf08..657693867ddf 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
@@ -13,6 +13,7 @@ properties:
compatible:
items:
- enum:
+ - qcom,qcs8300-inline-crypto-engine
- qcom,sa8775p-inline-crypto-engine
- qcom,sc7180-inline-crypto-engine
- qcom,sc7280-inline-crypto-engine
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the inline crypto engine
2024-11-13 4:33 [PATCH 0/2] Enable Inline crypto engine for QCS8300 Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 1/2] dt-bindings: crypto: ice: document the qcs8300 inline crypto engine Yuvaraj Ranganathan
@ 2024-11-13 4:33 ` Yuvaraj Ranganathan
2024-11-14 15:23 ` Konrad Dybcio
1 sibling, 1 reply; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-13 4:33 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana
Add an ICE node to qcs8300 SoC description and enable it by adding a
phandle to the UFS node.
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 2c35f96c3f28..2d6ce6014329 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -685,6 +685,7 @@ &mc_virt SLAVE_EBI1 0>,
<0 0>,
<0 0>,
<0 0>;
+ qcom,ice = <&ice>;
status = "disabled";
};
@@ -710,6 +711,13 @@ ufs_mem_phy: phy@1d87000 {
status = "disabled";
};
+ ice: crypto@1d88000 {
+ compatible = "qcom,qcs8300-inline-crypto-engine",
+ "qcom,inline-crypto-engine";
+ reg = <0x0 0x01d88000 0x0 0x8000>;
+ clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x20000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the inline crypto engine
2024-11-13 4:33 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the " Yuvaraj Ranganathan
@ 2024-11-14 15:23 ` Konrad Dybcio
0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2024-11-14 15:23 UTC (permalink / raw)
To: Yuvaraj Ranganathan, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel
On 13.11.2024 5:33 AM, Yuvaraj Ranganathan wrote:
> Add an ICE node to qcs8300 SoC description and enable it by adding a
> phandle to the UFS node.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 2c35f96c3f28..2d6ce6014329 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -685,6 +685,7 @@ &mc_virt SLAVE_EBI1 0>,
> <0 0>,
> <0 0>,
> <0 0>;
> + qcom,ice = <&ice>;
> status = "disabled";
> };
>
> @@ -710,6 +711,13 @@ ufs_mem_phy: phy@1d87000 {
> status = "disabled";
> };
>
> + ice: crypto@1d88000 {
> + compatible = "qcom,qcs8300-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0x0 0x01d88000 0x0 0x8000>;
This should be a big longer
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-14 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 4:33 [PATCH 0/2] Enable Inline crypto engine for QCS8300 Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 1/2] dt-bindings: crypto: ice: document the qcs8300 inline crypto engine Yuvaraj Ranganathan
2024-11-13 4:33 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: enable the " Yuvaraj Ranganathan
2024-11-14 15:23 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox