linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mkl@pengutronix.de (Marc Kleine-Budde)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] MXS: Enable FLEXCAN for MXS/DT
Date: Tue, 26 Jun 2012 11:04:18 +0200	[thread overview]
Message-ID: <4FE97B12.8040306@pengutronix.de> (raw)
In-Reply-To: <1338084709-12043-1-git-send-email-marex@denx.de>

On 05/27/2012 04:11 AM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Detlev Zundel <dzu@denx.de>
> CC: Dong Aisheng <b29396@freescale.com>
> CC: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Linux ARM kernel <linux-arm-kernel@lists.infradead.org>
> CC: Shawn Guo <shawn.guo@linaro.org>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Wolfgang Denk <wd@denx.de>
> ---
>  arch/arm/boot/dts/imx28.dtsi |    2 ++
>  arch/arm/mach-mxs/Kconfig    |    1 +
>  2 files changed, 3 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index 119f183..13c6084 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -278,12 +278,14 @@
>  			};
>  
>  			can0: can at 80032000 {
> +				compatible = "fsl,p1010-flexcan";
>  				reg = <0x80032000 2000>;
>  				interrupts = <8>;
>  				status = "disabled";
>  			};
>  
>  			can1: can at 80034000 {
> +				compatible = "fsl,p1010-flexcan";
>  				reg = <0x80034000 2000>;
>  				interrupts = <9>;
>  				status = "disabled";
> diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig
> index 91cf062..0406f37 100644
> --- a/arch/arm/mach-mxs/Kconfig
> +++ b/arch/arm/mach-mxs/Kconfig
> @@ -18,6 +18,7 @@ config SOC_IMX28
>  	select CPU_ARM926T
>  	select HAVE_PWM
>  	select PINCTRL_IMX28
> +	select MXS_HAVE_PLATFORM_FLEXCAN

This compiles in the code to create a flexcan platform device, which
should not be needed in the DT case. You save some bytes if you use:

+       select HAVE_CAN_FLEXCAN if NET && CAN

>  
>  comment "MXS platforms:"
>  

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120626/fc2a62f9/attachment.sig>

  parent reply	other threads:[~2012-06-26  9:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-27  2:11 [PATCH] MXS: Enable FLEXCAN for MXS/DT Marek Vasut
2012-06-06  5:39 ` Shawn Guo
2012-06-26  9:04 ` Marc Kleine-Budde [this message]
2012-06-26  9:07   ` Marc Kleine-Budde
2012-06-26 11:28     ` Shawn Guo
2012-06-26 11:43       ` Marc Kleine-Budde
2012-06-26 14:07         ` Shawn Guo
2012-06-26 15:43           ` Marek Vasut
  -- strict thread matches above, loose matches on Subject: below --
2012-06-08 18:57 Marek Vasut
2012-06-11  7:13 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE97B12.8040306@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).