* [PATCH V2 0/2] Enable TRNG for QCS8300
@ 2024-11-07 12:15 Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
0 siblings, 2 replies; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-07 12:15 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Vinod Koul
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana, quic_sravank
Add device-tree nodes to enable TRNG 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>
---
Changes in v2:
- Mistakenly uploaded the base dtsi change instead of marking dependency
- Link to v1: https://lore.kernel.org/all/20241106110002.3054839-1-quic_yrangana@quicinc.com/
---
Yuvaraj Ranganathan (2):
dt-bindings: crypto: qcom,prng: document QCS8300
arm64: dts: qcom: qcs8300: add TRNG node
Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 1 +
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 5 +++++
2 files changed, 6 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH V2 1/2] dt-bindings: crypto: qcom,prng: document QCS8300
2024-11-07 12:15 [PATCH V2 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
@ 2024-11-07 12:15 ` Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
1 sibling, 0 replies; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-07 12:15 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Vinod Koul
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana, quic_sravank, Conor Dooley
Document QCS8300 compatible for the True Random Number
Generator.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
index 048b769a73c0..2c959162e428 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
@@ -17,6 +17,7 @@ properties:
- qcom,prng-ee # 8996 and later using EE
- items:
- enum:
+ - qcom,qcs8300-trng
- qcom,sa8255p-trng
- qcom,sa8775p-trng
- qcom,sc7280-trng
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node
2024-11-07 12:15 [PATCH V2 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
@ 2024-11-07 12:15 ` Yuvaraj Ranganathan
2024-11-07 12:22 ` Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-07 12:15 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Vinod Koul
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_yrangana, quic_sravank
The qcs8300 SoC has a True Random Number Generator, add the node with
the correct compatible set.
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 2c35f96c3f28..39c0c6b8516d 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -588,6 +588,11 @@ &clk_virt SLAVE_QUP_CORE_0 0>,
};
};
+ rng: rng@10d2000 {
+ compatible = "qcom,qcs8300-trng", "qcom,trng";
+ reg = <0 0x010d2000 0 0x1000>;
+ };
+
config_noc: interconnect@14c0000 {
compatible = "qcom,qcs8300-config-noc";
reg = <0x0 0x014c0000 0x0 0x13080>;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node
2024-11-07 12:15 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
@ 2024-11-07 12:22 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-07 12:22 UTC (permalink / raw)
To: Yuvaraj Ranganathan, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Vinod Koul
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
quic_sravank
On 07/11/2024 13:15, Yuvaraj Ranganathan wrote:
> The qcs8300 SoC has a True Random Number Generator, add the node with
> the correct compatible set.
>
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 2c35f96c3f28..39c0c6b8516d 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -588,6 +588,11 @@ &clk_virt SLAVE_QUP_CORE_0 0>,
> };
> };
>
> + rng: rng@10d2000 {
Drop unused label.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-07 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07 12:15 [PATCH V2 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
2024-11-07 12:15 ` [PATCH V2 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
2024-11-07 12:22 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox