* [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450
@ 2023-11-03 22:52 Elliot Berman
2023-11-05 13:03 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Elliot Berman @ 2023-11-03 22:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Herbert Xu,
David S. Miller, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul
Cc: Conor Dooley, Elliot Berman, linux-arm-msm, linux-crypto,
devicetree, linux-kernel
From: Konrad Dybcio <konrad.dybcio@linaro.org>
SM8450's PRNG does not require a core clock reference. Add a new
compatible with a qcom,prng-ee fallback and handle that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
---
I noticed this patch got missed while running make dtbs_check. No
changes to this patch from the original version:
https://lore.kernel.org/all/2c208796-5ad6-c362-dabc-1228b978ca1d@linaro.org/
.../devicetree/bindings/crypto/qcom,prng.yaml | 24 +++++++++++++++----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
index bb42f4588b40..36b0ebd9a44b 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
@@ -11,9 +11,13 @@ maintainers:
properties:
compatible:
- enum:
- - qcom,prng # 8916 etc.
- - qcom,prng-ee # 8996 and later using EE
+ oneOf:
+ - enum:
+ - qcom,prng # 8916 etc.
+ - qcom,prng-ee # 8996 and later using EE
+ - items:
+ - const: qcom,sm8450-prng-ee
+ - const: qcom,prng-ee
reg:
maxItems: 1
@@ -28,8 +32,18 @@ properties:
required:
- compatible
- reg
- - clocks
- - clock-names
+
+allOf:
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: qcom,sm8450-prng-ee
+ then:
+ required:
+ - clocks
+ - clock-names
additionalProperties: false
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450
2023-11-03 22:52 [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450 Elliot Berman
@ 2023-11-05 13:03 ` Krzysztof Kozlowski
2023-11-06 17:05 ` Elliot Berman
0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-05 13:03 UTC (permalink / raw)
To: Elliot Berman, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Vinod Koul
Cc: Conor Dooley, linux-arm-msm, linux-crypto, devicetree,
linux-kernel
On 03/11/2023 23:52, Elliot Berman wrote:
> From: Konrad Dybcio <konrad.dybcio@linaro.org>
>
> SM8450's PRNG does not require a core clock reference. Add a new
> compatible with a qcom,prng-ee fallback and handle that.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> ---
> I noticed this patch got missed while running make dtbs_check. No
> changes to this patch from the original version:
>
> https://lore.kernel.org/all/2c208796-5ad6-c362-dabc-1228b978ca1d@linaro.org/
>
I don't understand why do you send this. This is not a correct patch,
was rejected. Different patch was already merged.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450
2023-11-05 13:03 ` Krzysztof Kozlowski
@ 2023-11-06 17:05 ` Elliot Berman
2023-11-06 18:06 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Elliot Berman @ 2023-11-06 17:05 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Vinod Koul
Cc: Conor Dooley, linux-arm-msm, linux-crypto, devicetree,
linux-kernel
On 11/5/2023 5:03 AM, Krzysztof Kozlowski wrote:
> On 03/11/2023 23:52, Elliot Berman wrote:
>> From: Konrad Dybcio <konrad.dybcio@linaro.org>
>>
>> SM8450's PRNG does not require a core clock reference. Add a new
>> compatible with a qcom,prng-ee fallback and handle that.
>>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>> Acked-by: Conor Dooley <conor.dooley@microchip.com>
>> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
>> ---
>> I noticed this patch got missed while running make dtbs_check. No
>> changes to this patch from the original version:
>>
>> https://lore.kernel.org/all/2c208796-5ad6-c362-dabc-1228b978ca1d@linaro.org/
>>
>
> I don't understand why do you send this. This is not a correct patch,
> was rejected. Different patch was already merged.
I see that 6.6 has
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm8450.dtsi?h=v6.6#n1741
but bindings not updated:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/crypto/qcom,prng.yaml?h=v6.6
I came up with similar-ish fix offline, then found Konrad had posted the patch when searching lore.
I didn't find any other patch on lore.
I think you rejected a proposal to drop "p" from "prng", but this patch
doesn't do that and we stayed course with naming scheme.
Thanks,
Elliot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450
2023-11-06 17:05 ` Elliot Berman
@ 2023-11-06 18:06 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-06 18:06 UTC (permalink / raw)
To: Elliot Berman, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Vinod Koul
Cc: Conor Dooley, linux-arm-msm, linux-crypto, devicetree,
linux-kernel
On 06/11/2023 18:05, Elliot Berman wrote:
>
>
> On 11/5/2023 5:03 AM, Krzysztof Kozlowski wrote:
>> On 03/11/2023 23:52, Elliot Berman wrote:
>>> From: Konrad Dybcio <konrad.dybcio@linaro.org>
>>>
>>> SM8450's PRNG does not require a core clock reference. Add a new
>>> compatible with a qcom,prng-ee fallback and handle that.
>>>
>>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>>> Acked-by: Conor Dooley <conor.dooley@microchip.com>
>>> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
>>> ---
>>> I noticed this patch got missed while running make dtbs_check. No
>>> changes to this patch from the original version:
>>>
>>> https://lore.kernel.org/all/2c208796-5ad6-c362-dabc-1228b978ca1d@linaro.org/
>>>
>>
>> I don't understand why do you send this. This is not a correct patch,
>> was rejected. Different patch was already merged.
>
> I see that 6.6 has
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm8450.dtsi?h=v6.6#n1741
>
> but bindings not updated:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/crypto/qcom,prng.yaml?h=v6.6
>
> I came up with similar-ish fix offline, then found Konrad had posted the patch when searching lore.
> I didn't find any other patch on lore.
>
> I think you rejected a proposal to drop "p" from "prng", but this patch
> doesn't do that and we stayed course with naming scheme.
Please start working on linux-next, not on the last kernel release.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-06 18:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 22:52 [RESEND PATCH] dt-bindings: crypto: qcom,prng: Add SM8450 Elliot Berman
2023-11-05 13:03 ` Krzysztof Kozlowski
2023-11-06 17:05 ` Elliot Berman
2023-11-06 18:06 ` Krzysztof Kozlowski
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).