* [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham
@ 2015-02-25 18:52 Matt Porter
2015-02-25 19:09 ` Robert Nelson
0 siblings, 1 reply; 3+ messages in thread
From: Matt Porter @ 2015-02-25 18:52 UTC (permalink / raw)
To: linux-arm-kernel
Beaglebone Black doesn't have AES and SHAM enabled like the
original Beaglebone White dts. This breaks applications that
leverage the crypto blocks so fix this by enabling these nodes
in the am335x-bone-common.dtsi. With this change, enabling the
nodes in am335x-bone.dts is no longer required so remove them.
Signed-off-by: Matt Porter <mporter@konsulko.com>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 8 ++++++++
arch/arm/boot/dts/am335x-bone.dts | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 6cc25ed..12cdb2b 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -300,3 +300,11 @@
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
cd-inverted;
};
+
+&aes {
+ status = "okay";
+};
+
+&sham {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 83d40f7..6b849372 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -24,11 +24,3 @@
&mmc1 {
vmmc-supply = <&ldo3_reg>;
};
-
-&sham {
- status = "okay";
-};
-
-&aes {
- status = "okay";
-};
--
1.8.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham
2015-02-25 18:52 [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham Matt Porter
@ 2015-02-25 19:09 ` Robert Nelson
2015-03-06 16:56 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Robert Nelson @ 2015-02-25 19:09 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter <mporter@konsulko.com> wrote:
> Beaglebone Black doesn't have AES and SHAM enabled like the
> original Beaglebone White dts. This breaks applications that
> leverage the crypto blocks so fix this by enabling these nodes
> in the am335x-bone-common.dtsi. With this change, enabling the
> nodes in am335x-bone.dts is no longer required so remove them.
>
> Signed-off-by: Matt Porter <mporter@konsulko.com>
Looks good! Wonder why didn't we do this sooner! ;)
Acked-by: Robert Nelson <robertcnelson@gmail.com>
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham
2015-02-25 19:09 ` Robert Nelson
@ 2015-03-06 16:56 ` Tony Lindgren
0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2015-03-06 16:56 UTC (permalink / raw)
To: linux-arm-kernel
* Robert Nelson <robertcnelson@gmail.com> [150225 11:13]:
> On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter <mporter@konsulko.com> wrote:
> > Beaglebone Black doesn't have AES and SHAM enabled like the
> > original Beaglebone White dts. This breaks applications that
> > leverage the crypto blocks so fix this by enabling these nodes
> > in the am335x-bone-common.dtsi. With this change, enabling the
> > nodes in am335x-bone.dts is no longer required so remove them.
> >
> > Signed-off-by: Matt Porter <mporter@konsulko.com>
>
> Looks good! Wonder why didn't we do this sooner! ;)
>
> Acked-by: Robert Nelson <robertcnelson@gmail.com>
Applying both into omap-for-v4.0/fixes thanks.
Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-06 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 18:52 [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham Matt Porter
2015-02-25 19:09 ` Robert Nelson
2015-03-06 16:56 ` Tony Lindgren
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).