Skip to contentSkip to conversation

ARM: dts: NSP: Add crypto (SPU) to dtsi

PATCH Applied Steve Lin 3 participants 5 messages Feb 22, 2017 – Mar 17, 2017

Subsystems (3)
lore
Share & tools
lore

Steve Lin

author
#0 lore raw

PATCH 1/1 ARM: dts: NSP: Add crypto (SPU) to dtsi

Adds crypto hardware (SPU) to Northstar Plus device tree file.

---
Code changes for this addition were submitted previously by Rob
Rice: https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=9d12ba86f818aa9cfe9f01b750336aa441f2ffa2

---
 arch/arm/boot/dts/bcm-nsp.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +6 -0
index b6142bd..9bac0c8 100644
@@ -241,6 +241,12 @@
 			brcm,nand-has-wp;
 		};
 
+		crypto at 2f000 {
+			compatible = "brcm,spum-nsp-crypto";
+			reg = <0x2f000 0x900>;
+			mboxes = <&mailbox 0>;
+		};
+
 		gpiob: gpio at 30000 {
 			compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
 			reg = <0x30000 0x50>;
Signature · 1 line
2.1.0
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Steve Lin

Adds crypto hardware (SPU) to Northstar Plus device tree file.

Looks good to me!

Quoted 28 lines

---
Code changes for this addition were submitted previously by Rob
Rice: https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=9d12ba86f818aa9cfe9f01b750336aa441f2ffa2

---
 arch/arm/boot/dts/bcm-nsp.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +6 -1
index b6142bd..9bac0c8 100644
@@ -241,6 +241,12 @@
                        brcm,nand-has-wp;
                };
 
+               crypto at 2f000 {
+                       compatible = "brcm,spum-nsp-crypto";
+                       reg = <0x2f000 0x900>;
+                       mboxes = <&mailbox 0>;
+               };
+
                gpiob: gpio at 30000 {
                        compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
                        reg = <0x30000 0x50>;
--

2.1.0

#3 lore raw
Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Steve Lin

Adds crypto hardware (SPU) to Northstar Plus device tree file.

Applied, thanks!

And dropped, since there is a dependency on "ARM: dts: NSP: Add mailbox (PDC) to NSP" to be applied first.

Let's wait for the mailbox maintainer to chime in before I apply the following patches (in that order):

ARM: dts: NSP: Add mailbox (PDC) to NSP
ARM: dts: NSP: Add crypto (SPU) to dtsi

Thanks!

Signature · 1 line
Florian
#4 lore raw
Quoted 8 lines · Florian Fainelli
Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Steve Lin

Adds crypto hardware (SPU) to Northstar Plus device tree file.

Applied, thanks!

Quoted 8 lines

And dropped, since there is a dependency on "ARM: dts: NSP: Add mailbox (PDC) to NSP" to be applied first.

Let's wait for the mailbox maintainer to chime in before I apply the following patches (in that order):

ARM: dts: NSP: Add mailbox (PDC) to NSP
ARM: dts: NSP: Add crypto (SPU) to dtsi

Applied again.

Signature · 1 line
Florian