devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] Enable TRNG for QCS8300
@ 2024-11-22  7:43 Yuvaraj Ranganathan
  2024-11-22  7:43 ` [PATCH V4 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
  2024-11-22  7:43 ` [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
  0 siblings, 2 replies; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-22  7:43 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

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 v4:
 - Address the reg entry style
 - Link to v3: https://lore.kernel.org/all/20241113021819.2616961-1-quic_yrangana@quicinc.com/

Changes in v3:
 - Drop DT label as per review comments
 - Link to v2: https://lore.kernel.org/all/20241107121513.641281-1-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] 7+ messages in thread

* [PATCH V4 1/2] dt-bindings: crypto: qcom,prng: document QCS8300
  2024-11-22  7:43 [PATCH V4 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
@ 2024-11-22  7:43 ` Yuvaraj Ranganathan
  2024-11-22  7:43 ` [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
  1 sibling, 0 replies; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-22  7:43 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, 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node
  2024-11-22  7:43 [PATCH V4 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
  2024-11-22  7:43 ` [PATCH V4 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
@ 2024-11-22  7:43 ` Yuvaraj Ranganathan
  2024-11-22 15:00   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-22  7:43 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, Konrad Dybcio

The qcs8300 SoC has a True Random Number Generator, add the node with
the correct compatible set.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
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..a95baa432872 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 = <0x0 0x010d2000 0x0 0x1000>;
+		};
+
 		config_noc: interconnect@14c0000 {
 			compatible = "qcom,qcs8300-config-noc";
 			reg = <0x0 0x014c0000 0x0 0x13080>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node
  2024-11-22  7:43 ` [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
@ 2024-11-22 15:00   ` Krzysztof Kozlowski
  2024-11-24  3:47     ` Yuvaraj Ranganathan
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-22 15:00 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,
	Konrad Dybcio

On 22/11/2024 08:43, Yuvaraj Ranganathan wrote:
> The qcs8300 SoC has a True Random Number Generator, add the node with
> the correct compatible set.
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>

NAK, stop adding fake tags. It is impossible to receive above tag from
me written that way.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node
  2024-11-22 15:00   ` Krzysztof Kozlowski
@ 2024-11-24  3:47     ` Yuvaraj Ranganathan
  2024-11-25 22:35       ` Dmitry Baryshkov
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-24  3:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski, 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,
	Konrad Dybcio

Hi Krzysztof,

I sincerely apologize for the inconvenience. I added the "Reviewed-by"
tag without fully understanding its implications. I will remove the tag
in the next patch series.

Thanks,
Yuvaraj.

On 11/22/2024 8:30 PM, Krzysztof Kozlowski wrote:
> On 22/11/2024 08:43, Yuvaraj Ranganathan wrote:
>> The qcs8300 SoC has a True Random Number Generator, add the node with
>> the correct compatible set.
>>
>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>> Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>
> 
> NAK, stop adding fake tags. It is impossible to receive above tag from
> me written that way.
> 
> Best regards,
> Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node
  2024-11-24  3:47     ` Yuvaraj Ranganathan
@ 2024-11-25 22:35       ` Dmitry Baryshkov
  2024-11-26 17:59         ` Yuvaraj Ranganathan
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Baryshkov @ 2024-11-25 22:35 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Krzysztof Kozlowski, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
	Vinod Koul, linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	Konrad Dybcio

On Sun, Nov 24, 2024 at 09:17:40AM +0530, Yuvaraj Ranganathan wrote:
> Hi Krzysztof,
> 
> I sincerely apologize for the inconvenience. I added the "Reviewed-by"
> tag without fully understanding its implications. I will remove the tag
> in the next patch series.

First of all, please don't top-post. Put your text under the phrases
that you are responding to, not at the top of the message. Otherwise the
logic is a bit broken.

Second, may I ask, what made you add that tag at all? I went on and
checked. Krzysztof didn't repond at all to v3 and didn't respond to v2
of this patch. So why?

Third, if you are unsure about what you are doing and as you seem to be
using b4 tool, please just use `b4 trailers -u`. It has its own
drawbacks so in some cases one should be careful, but at least it
doesn't invent tags on its own.

> 
> Thanks,
> Yuvaraj.
> 
> On 11/22/2024 8:30 PM, Krzysztof Kozlowski wrote:
> > On 22/11/2024 08:43, Yuvaraj Ranganathan wrote:
> >> The qcs8300 SoC has a True Random Number Generator, add the node with
> >> the correct compatible set.
> >>
> >> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> >> Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>
> > 
> > NAK, stop adding fake tags. It is impossible to receive above tag from
> > me written that way.
> > 
> > Best regards,
> > Krzysztof
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node
  2024-11-25 22:35       ` Dmitry Baryshkov
@ 2024-11-26 17:59         ` Yuvaraj Ranganathan
  0 siblings, 0 replies; 7+ messages in thread
From: Yuvaraj Ranganathan @ 2024-11-26 17:59 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Krzysztof Kozlowski, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
	Vinod Koul, linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	Konrad Dybcio

On 11/26/2024 4:05 AM, Dmitry Baryshkov wrote:
> On Sun, Nov 24, 2024 at 09:17:40AM +0530, Yuvaraj Ranganathan wrote:
>> Hi Krzysztof,
>>
>> I sincerely apologize for the inconvenience. I added the "Reviewed-by"
>> tag without fully understanding its implications. I will remove the tag
>> in the next patch series.
> 
> First of all, please don't top-post. Put your text under the phrases
> that you are responding to, not at the top of the message. Otherwise the
> logic is a bit broken.
> 
> Second, may I ask, what made you add that tag at all? I went on and
> checked. Krzysztof didn't repond at all to v3 and didn't respond to v2
> of this patch. So why?
> 
> Third, if you are unsure about what you are doing and as you seem to be
> using b4 tool, please just use `b4 trailers -u`. It has its own
> drawbacks so in some cases one should be careful, but at least it
> doesn't invent tags on its own.
> 
>>
>> Thanks,
>> Yuvaraj.
>>
>> On 11/22/2024 8:30 PM, Krzysztof Kozlowski wrote:
>>> On 22/11/2024 08:43, Yuvaraj Ranganathan wrote:
>>>> The qcs8300 SoC has a True Random Number Generator, add the node with
>>>> the correct compatible set.
>>>>
>>>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>>> Reviewed-by: Krzysztof Kozlowski <krzk+dt@kernel.org>
>>>
>>> NAK, stop adding fake tags. It is impossible to receive above tag from
>>> me written that way.
>>>
>>> Best regards,
>>> Krzysztof
>>
> 

I've added the "Reviewed-by" tag without a proper understanding as I got
few comments
(https://lore.kernel.org/all/4009f4ee-2c55-4a4f-8805-eafe7efc0147@kernel.org/)
 on the earlier patches and tagged the reviewers under "Reviewed-by". I
sincerely apologize on this and will ensure to avoid such mistakes in
future.

Thanks,
Yuvaraj.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-26 17:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22  7:43 [PATCH V4 0/2] Enable TRNG for QCS8300 Yuvaraj Ranganathan
2024-11-22  7:43 ` [PATCH V4 1/2] dt-bindings: crypto: qcom,prng: document QCS8300 Yuvaraj Ranganathan
2024-11-22  7:43 ` [PATCH V4 2/2] arm64: dts: qcom: qcs8300: add TRNG node Yuvaraj Ranganathan
2024-11-22 15:00   ` Krzysztof Kozlowski
2024-11-24  3:47     ` Yuvaraj Ranganathan
2024-11-25 22:35       ` Dmitry Baryshkov
2024-11-26 17:59         ` Yuvaraj Ranganathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).