[PATCH 3/3] ARM: mxs: dts: Enable DCP for MXS

Lothar Waßmann LW at KARO-electronics.de
Thu Sep 26 07:36:10 EDT 2013


Hi,

Marek Vasut writes:
> Enable the DCP by default on both i.MX23 and i.MX28.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Herbert Xu <herbert at gondor.apana.org.au>
> Cc: David S. Miller <davem at davemloft.net>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Shawn Guo <shawn.guo at linaro.org>
> To: linux-crypto at vger.kernel.org
> ---
>  arch/arm/boot/dts/imx23.dtsi | 4 +++-
>  arch/arm/boot/dts/imx28.dtsi | 5 +++--
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
> index 87faa6e..0630a9a 100644
> --- a/arch/arm/boot/dts/imx23.dtsi
> +++ b/arch/arm/boot/dts/imx23.dtsi
> @@ -337,8 +337,10 @@
>  			};
>  
>  			dcp at 80028000 {
> +				compatible = "fsl,mxs-dcp";
>  				reg = <0x80028000 0x2000>;
> -				status = "disabled";
> +				interrupts = <53 54>;
> +				status = "okay";
>  			};
AFAICT the policy seems to be that nodes, that are always enabled
don't get a 'status' property at all.

>  			pxp at 8002a000 {
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index 918d419..8b5ad60 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -782,9 +782,10 @@
>  			};
>  
>  			dcp: dcp at 80028000 {
> +				compatible = "fsl,mxs-dcp";
>  				reg = <0x80028000 0x2000>;
> -				interrupts = <52 53 54>;
> -				compatible = "fsl-dcp";
>
What about drivers/crypto/dcp.c that is currently using this property?


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list