[PATCH V3 2/2] arm64: dts: qcom: qcs8300: add TRNG node

Yuvaraj Ranganathan posted 2 patches 1 week, 3 days ago
There is a newer version of this series
[PATCH V3 2/2] arm64: dts: qcom: qcs8300: add TRNG node
Posted by Yuvaraj Ranganathan 1 week, 3 days ago
The qcs8300 SoC has a True Random Number Generator, add the node with
the correct compatible set.

Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>
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..2a3862568da2 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@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
Re: [PATCH V3 2/2] arm64: dts: qcom: qcs8300: add TRNG node
Posted by Konrad Dybcio 1 week, 1 day ago
On 13.11.2024 3:18 AM, Yuvaraj Ranganathan wrote:
> The qcs8300 SoC has a True Random Number Generator, add the node with
> the correct compatible set.
> 
> Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>
> 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..2a3862568da2 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@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>;

There's a jarring style difference visible looking just at this diff :/

Konrad