2018-05-24 23:03:49

by Vitaly Andrianov

[permalink] [raw]
Subject: [PATCH 0/3] Dts nodes for Keystone2 hw_rng driver

This series adds dts nodes for Keystone2 hw_rng driver

Vitaly Andrianov (3):
ARM: dts: k2hk: add dts node for k2hk hw_rng driver
ARM: dts: k2l: add dts node for k2l hw_rng driver
ARM: dts: k2e: add dts node for k2e hw_rng driver

arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 20 ++++++++++++++++++++
arch/arm/boot/dts/keystone-k2hk-netcp.dtsi | 20 ++++++++++++++++++++
arch/arm/boot/dts/keystone-k2l-netcp.dtsi | 20 ++++++++++++++++++++
3 files changed, 60 insertions(+)

--
2.7.4



2018-05-24 23:03:04

by Vitaly Andrianov

[permalink] [raw]
Subject: [PATCH 1/3] ARM: dts: k2hk: add dts node for k2hk hw_rng driver

This patch adds dts node for k2hk hw_random generator driver

Signed-off-by: Vitaly Andrianov <[email protected]>
[[email protected]: added missing addresses from node identifiers]
Signed-off-by: Tero Kristo <[email protected]>
Signed-off-by: Murali Karicheri <[email protected]>
---
arch/arm/boot/dts/keystone-k2hk-netcp.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
index b88c068..e203145 100644
--- a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
@@ -228,3 +228,23 @@ netcp: netcp@2000000 {
};
};
};
+
+sa_subsys: subsys@20c0000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0x20c0000 0x40000>;
+
+ sa_config: subsys@0 {
+ compatible = "syscon";
+ reg = <0x0 0x100>;
+ };
+
+ rng@24000 {
+ compatible = "ti,keystone-rng";
+ reg = <0x24000 0x1000>;
+ ti,syscon-sa-cfg = <&sa_config>;
+ clocks = <&clksa>;
+ clock-names = "fck";
+ };
+};
--
2.7.4


2018-05-24 23:06:08

by Vitaly Andrianov

[permalink] [raw]
Subject: [PATCH 2/3] ARM: dts: k2l: add dts node for k2l hw_rng driver

This patch adds dts node for k2l hw_random generator driver

Signed-off-by: Vitaly Andrianov <[email protected]>
[[email protected]: added missing addresses from node identifiers]
Signed-off-by: Tero Kristo <[email protected]>
Signed-off-by: Murali Karicheri <[email protected]>
---
arch/arm/boot/dts/keystone-k2l-netcp.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
index 9ec8422..a2e47ba 100644
--- a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
@@ -208,3 +208,23 @@ netcp: netcp@26000000 {
};
};
};
+
+sa_subsys: subsys@26080000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ ranges = <0 0x26080000 0x40000>;
+
+ sa_config: subsys@0 {
+ compatible = "syscon";
+ reg = <0x0 0x100>;
+ };
+
+ rng@24000 {
+ compatible = "ti,keystone-rng";
+ reg = <0x24000 0x1000>;
+ ti,syscon-sa-cfg = <&sa_config>;
+ clocks = <&clksa>;
+ clock-names = "fck";
+ };
+};
--
2.7.4


2018-05-24 23:07:33

by Vitaly Andrianov

[permalink] [raw]
Subject: [PATCH 3/3] ARM: dts: k2e: add dts node for k2e hw_rng driver

This patch adds dts node for k2e hw_random generator driver

Signed-off-by: Vitaly Andrianov <[email protected]>
Signed-off-by: Murali Karicheri <[email protected]>
---
arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
index a17311c..1db17ec 100644
--- a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
@@ -225,3 +225,23 @@ netcp: netcp@24000000 {
};
};
};
+
+sa_subsys: subsys@24080000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ ranges = <0 0x24080000 0x40000>;
+
+ sa_config: subsys@0 {
+ compatible = "syscon";
+ reg = <0x0 0x100>;
+ };
+
+ rng@24000 {
+ compatible = "ti,keystone-rng";
+ reg = <0x24000 0x1000>;
+ ti,syscon-sa-cfg = <&sa_config>;
+ clocks = <&clksa>;
+ clock-names = "fck";
+ };
+};
--
2.7.4


2018-05-26 04:44:28

by Santosh Shilimkar

[permalink] [raw]
Subject: Re: [PATCH 0/3] Dts nodes for Keystone2 hw_rng driver

On 5/24/18 6:12 AM, Vitaly Andrianov wrote:
> This series adds dts nodes for Keystone2 hw_rng driver
>
> Vitaly Andrianov (3):
> ARM: dts: k2hk: add dts node for k2hk hw_rng driver
> ARM: dts: k2l: add dts node for k2l hw_rng driver
> ARM: dts: k2e: add dts node for k2e hw_rng driver
>
Looks good. Will queue this up for 4.19. Thanks !!

Regards,
Santosh

2018-06-26 21:20:51

by Santosh Shilimkar

[permalink] [raw]
Subject: Re: [PATCH 0/3] Dts nodes for Keystone2 hw_rng driver

On 5/25/2018 9:43 PM, [email protected] wrote:
> On 5/24/18 6:12 AM, Vitaly Andrianov wrote:
>> This series adds dts nodes for Keystone2 hw_rng driver
>>
>> Vitaly Andrianov (3):
>>    ARM: dts: k2hk: add dts node for k2hk hw_rng driver
>>    ARM: dts: k2l: add dts node for k2l hw_rng driver
>>    ARM: dts: k2e: add dts node for k2e hw_rng driver
>>
> Looks good. Will queue this up for 4.19. Thanks !!
>
Applied. You should see it in linux-next as well.

Regards,
Santosh