All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
@ 2015-02-25 17:07 ` Matt Porter
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Porter @ 2015-02-25 17:07 UTC (permalink / raw)
  To: Benoît Cousson, Tony Lindgren
  Cc: Rob Herring, Mark Rutland, Linux OMAP List, Linux ARM Kernel List,
	Linux Kernel Mailing List

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.

Signed-off-by: Matt Porter <mporter@konsulko.com>
---
 arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
index 5c42d25..00853ff 100644
--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
@@ -33,6 +33,14 @@
 	status = "okay";
 };
 
+&sham {
+	status = "okay";
+};
+
+&aes {
+	status = "okay";
+};
+
 &am33xx_pinmux {
 	nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
 		pinctrl-single,pins = <
-- 
1.8.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
@ 2015-02-25 17:07 ` Matt Porter
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Porter @ 2015-02-25 17:07 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.

Signed-off-by: Matt Porter <mporter@konsulko.com>
---
 arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
index 5c42d25..00853ff 100644
--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
@@ -33,6 +33,14 @@
 	status = "okay";
 };
 
+&sham {
+	status = "okay";
+};
+
+&aes {
+	status = "okay";
+};
+
 &am33xx_pinmux {
 	nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
 		pinctrl-single,pins = <
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
  2015-02-25 17:07 ` Matt Porter
@ 2015-02-25 18:36   ` Robert Nelson
  -1 siblings, 0 replies; 6+ messages in thread
From: Robert Nelson @ 2015-02-25 18:36 UTC (permalink / raw)
  To: Matt Porter
  Cc: Benoît Cousson, Tony Lindgren, Mark Rutland, Linux OMAP List,
	Rob Herring, Linux Kernel Mailing List, Linux ARM Kernel List

On Wed, Feb 25, 2015 at 11:07 AM, 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.
>
> Signed-off-by: Matt Porter <mporter@konsulko.com>
> ---
>  arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
> index 5c42d25..00853ff 100644
> --- a/arch/arm/boot/dts/am335x-boneblack.dts
> +++ b/arch/arm/boot/dts/am335x-boneblack.dts
> @@ -33,6 +33,14 @@
>         status = "okay";
>  };
>
> +&sham {
> +       status = "okay";
> +};
> +
> +&aes {
> +       status = "okay";
> +};
> +
>  &am33xx_pinmux {
>         nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
>                 pinctrl-single,pins = <
> --
> 1.8.4

Shouldn't we just move these to: "am335x-bone-common.dtsi" ?

(and then nuke the 6 lines in the am335x-bone.dts )

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
@ 2015-02-25 18:36   ` Robert Nelson
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Nelson @ 2015-02-25 18:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 25, 2015 at 11:07 AM, 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.
>
> Signed-off-by: Matt Porter <mporter@konsulko.com>
> ---
>  arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
> index 5c42d25..00853ff 100644
> --- a/arch/arm/boot/dts/am335x-boneblack.dts
> +++ b/arch/arm/boot/dts/am335x-boneblack.dts
> @@ -33,6 +33,14 @@
>         status = "okay";
>  };
>
> +&sham {
> +       status = "okay";
> +};
> +
> +&aes {
> +       status = "okay";
> +};
> +
>  &am33xx_pinmux {
>         nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
>                 pinctrl-single,pins = <
> --
> 1.8.4

Shouldn't we just move these to: "am335x-bone-common.dtsi" ?

(and then nuke the 6 lines in the am335x-bone.dts )

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
  2015-02-25 18:36   ` Robert Nelson
@ 2015-02-25 18:42     ` Matt Porter
  -1 siblings, 0 replies; 6+ messages in thread
From: Matt Porter @ 2015-02-25 18:42 UTC (permalink / raw)
  To: Robert Nelson
  Cc: Benoît Cousson, Tony Lindgren, Mark Rutland, Linux OMAP List,
	Rob Herring, Linux Kernel Mailing List, Linux ARM Kernel List

On Wed, Feb 25, 2015 at 12:36:11PM -0600, Robert Nelson wrote:
> On Wed, Feb 25, 2015 at 11:07 AM, 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.
> >
> > Signed-off-by: Matt Porter <mporter@konsulko.com>
> > ---
> >  arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
> > index 5c42d25..00853ff 100644
> > --- a/arch/arm/boot/dts/am335x-boneblack.dts
> > +++ b/arch/arm/boot/dts/am335x-boneblack.dts
> > @@ -33,6 +33,14 @@
> >         status = "okay";
> >  };
> >
> > +&sham {
> > +       status = "okay";
> > +};
> > +
> > +&aes {
> > +       status = "okay";
> > +};
> > +
> >  &am33xx_pinmux {
> >         nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
> >                 pinctrl-single,pins = <
> > --
> > 1.8.4
> 
> Shouldn't we just move these to: "am335x-bone-common.dtsi" ?
> 
> (and then nuke the 6 lines in the am335x-bone.dts )

Good idea, v2 on the way.

-Matt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: am335x-boneblack: enable aes and sham
@ 2015-02-25 18:42     ` Matt Porter
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Porter @ 2015-02-25 18:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 25, 2015 at 12:36:11PM -0600, Robert Nelson wrote:
> On Wed, Feb 25, 2015 at 11:07 AM, 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.
> >
> > Signed-off-by: Matt Porter <mporter@konsulko.com>
> > ---
> >  arch/arm/boot/dts/am335x-boneblack.dts | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
> > index 5c42d25..00853ff 100644
> > --- a/arch/arm/boot/dts/am335x-boneblack.dts
> > +++ b/arch/arm/boot/dts/am335x-boneblack.dts
> > @@ -33,6 +33,14 @@
> >         status = "okay";
> >  };
> >
> > +&sham {
> > +       status = "okay";
> > +};
> > +
> > +&aes {
> > +       status = "okay";
> > +};
> > +
> >  &am33xx_pinmux {
> >         nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
> >                 pinctrl-single,pins = <
> > --
> > 1.8.4
> 
> Shouldn't we just move these to: "am335x-bone-common.dtsi" ?
> 
> (and then nuke the 6 lines in the am335x-bone.dts )

Good idea, v2 on the way.

-Matt

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-25 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 17:07 [PATCH] ARM: dts: am335x-boneblack: enable aes and sham Matt Porter
2015-02-25 17:07 ` Matt Porter
2015-02-25 18:36 ` Robert Nelson
2015-02-25 18:36   ` Robert Nelson
2015-02-25 18:42   ` Matt Porter
2015-02-25 18:42     ` Matt Porter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.