* [PATCH v6 0/2] arm64: dts: add prng-ee nodes
@ 2018-10-01 6:21 Vinod Koul
2018-10-01 6:21 ` [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node Vinod Koul
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Vinod Koul @ 2018-10-01 6:21 UTC (permalink / raw)
To: Andy Gross, David Brown
Cc: Vinod Koul, Rob Herring, Mark Rutland,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
This adds prng-ee nodes for msm8996 and sdm845
changes in v6:
- Fix comments given by Stan
changes in v5:
- Add more description in patch logs
changes in v4:
- Fix node address on sdm845
changes in v3:
- Add Bjorn's reviewed-by
- Update patch titles to reflect that they add nodes
changes in v2:
- rebase on v4.19-rc1
Vinod Koul (2):
arm64: dts: msm8996: add prng-ee node
arm64: dts: sdm845: add prng-ee node
arch/arm64/boot/dts/qcom/msm8996.dtsi | 7 +++++++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
2 files changed, 15 insertions(+)
--
2.14.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node
2018-10-01 6:21 [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
@ 2018-10-01 6:21 ` Vinod Koul
2018-10-01 6:21 ` [PATCH v6 2/2] arm64: dts: sdm845: " Vinod Koul
2018-11-15 3:45 ` [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2018-10-01 6:21 UTC (permalink / raw)
To: Andy Gross, David Brown
Cc: Vinod Koul, Rob Herring, Mark Rutland,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
RNG hardware in 8996 features (Execution Environment) EE for
HLOS to use, add the node for prng-ee for msm8996.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index cd3865e7a270..40e52a43f670 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -729,6 +729,13 @@
};
};
+ rng: rng@83000 {
+ compatible = "qcom,prng-ee";
+ reg = <0x00083000 0x1000>;
+ clocks = <&gcc GCC_PRNG_AHB_CLK>;
+ clock-names = "core";
+ };
+
mmcc: clock-controller@8c0000 {
compatible = "qcom,mmcc-msm8996";
#clock-cells = <1>;
--
2.14.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v6 2/2] arm64: dts: sdm845: add prng-ee node
2018-10-01 6:21 [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2018-10-01 6:21 ` [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node Vinod Koul
@ 2018-10-01 6:21 ` Vinod Koul
2018-11-15 3:45 ` [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2018-10-01 6:21 UTC (permalink / raw)
To: Andy Gross, David Brown
Cc: Vinod Koul, Rob Herring, Mark Rutland,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
RNG hardware in SDM845 features (Execution Environment) EE for
HLOS to use, add the node for prng-ee for sdm845.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 0c9a2aa6a1b5..9d8109761fe8 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -9,6 +9,7 @@
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
+#include <dt-bindings/clock/qcom,gcc-sdm845.h>
/ {
interrupt-parent = <&intc>;
@@ -997,6 +998,13 @@
cell-index = <0>;
};
+ rng: rng@793000 {
+ compatible = "qcom,prng-ee";
+ reg = <0x00793000 0x1000>;
+ clocks = <&gcc GCC_PRNG_AHB_CLK>;
+ clock-names = "core";
+ };
+
apss_shared: mailbox@17990000 {
compatible = "qcom,sdm845-apss-shared";
reg = <0x17990000 0x1000>;
--
2.14.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v6 0/2] arm64: dts: add prng-ee nodes
2018-10-01 6:21 [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2018-10-01 6:21 ` [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node Vinod Koul
2018-10-01 6:21 ` [PATCH v6 2/2] arm64: dts: sdm845: " Vinod Koul
@ 2018-11-15 3:45 ` Vinod Koul
2018-11-15 19:20 ` Andy Gross
2 siblings, 1 reply; 6+ messages in thread
From: Vinod Koul @ 2018-11-15 3:45 UTC (permalink / raw)
To: Andy Gross
Cc: Rob Herring, Mark Rutland, David Brown,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
On 01-10-18, 11:51, Vinod Koul wrote:
> This adds prng-ee nodes for msm8996 and sdm845
Ping Andy, would appreciate if you can pick these up.
Thanks
>
> changes in v6:
> - Fix comments given by Stan
>
> changes in v5:
> - Add more description in patch logs
>
> changes in v4:
> - Fix node address on sdm845
>
> changes in v3:
> - Add Bjorn's reviewed-by
> - Update patch titles to reflect that they add nodes
>
> changes in v2:
> - rebase on v4.19-rc1
>
> Vinod Koul (2):
> arm64: dts: msm8996: add prng-ee node
> arm64: dts: sdm845: add prng-ee node
>
> arch/arm64/boot/dts/qcom/msm8996.dtsi | 7 +++++++
> arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
> 2 files changed, 15 insertions(+)
>
> --
> 2.14.4
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v6 0/2] arm64: dts: add prng-ee nodes
2018-11-15 3:45 ` [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
@ 2018-11-15 19:20 ` Andy Gross
2018-11-16 3:22 ` Vinod Koul
0 siblings, 1 reply; 6+ messages in thread
From: Andy Gross @ 2018-11-15 19:20 UTC (permalink / raw)
To: Vinod Koul
Cc: Rob Herring, Mark Rutland, David Brown,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
On Thu, Nov 15, 2018 at 09:15:18AM +0530, Vinod Koul wrote:
> On 01-10-18, 11:51, Vinod Koul wrote:
> > This adds prng-ee nodes for msm8996 and sdm845
>
> Ping Andy, would appreciate if you can pick these up.
Done. I did have to massage the location in dts for both of these patches to
keep the address order correct.
Andy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v6 0/2] arm64: dts: add prng-ee nodes
2018-11-15 19:20 ` Andy Gross
@ 2018-11-16 3:22 ` Vinod Koul
0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2018-11-16 3:22 UTC (permalink / raw)
To: Andy Gross
Cc: Rob Herring, Mark Rutland, David Brown,
open list:ARM/QUALCOMM SUPPORT, open list:ARM/QUALCOMM SUPPORT,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Bjorn Andersson, Stanimir Varbanov
On 15-11-18, 11:20, Andy Gross wrote:
> On Thu, Nov 15, 2018 at 09:15:18AM +0530, Vinod Koul wrote:
> > On 01-10-18, 11:51, Vinod Koul wrote:
> > > This adds prng-ee nodes for msm8996 and sdm845
> >
> > Ping Andy, would appreciate if you can pick these up.
>
> Done. I did have to massage the location in dts for both of these patches to
> keep the address order correct.
Thank you Andy, appreciate it.
I have two more series in queue, QCS404 DTS series https://patchwork.kernel.org/project/linux-arm-msm/list/?series=40841
and QCS404 defconfigs https://patchwork.kernel.org/project/linux-arm-msm/list/?series=40853
Would be great if you can review these as well
Regards
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-11-16 3:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 6:21 [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2018-10-01 6:21 ` [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node Vinod Koul
2018-10-01 6:21 ` [PATCH v6 2/2] arm64: dts: sdm845: " Vinod Koul
2018-11-15 3:45 ` [PATCH v6 0/2] arm64: dts: add prng-ee nodes Vinod Koul
2018-11-15 19:20 ` Andy Gross
2018-11-16 3:22 ` Vinod Koul
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).