mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/3] mx28evk: add m25p80 flash via ssp2
Date: Tue, 5 Feb 2013 10:24:35 +0100	[thread overview]
Message-ID: <20130205092435.GS1906@pengutronix.de> (raw)
In-Reply-To: <1359998781-31956-4-git-send-email-m.grzeschik@pengutronix.de>

On Mon, Feb 04, 2013 at 06:26:21PM +0100, Michael Grzeschik wrote:
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---
>  arch/arm/boards/freescale-mx28-evk/mx28-evk.c |   28 +++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> index 4311473..325365b 100644
> --- a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> +++ b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> @@ -30,6 +30,7 @@
>  #include <mach/mci.h>
>  #include <mach/fb.h>
>  #include <mach/ocotp.h>
> +#include <spi/spi.h>
>  
>  #include <asm/armlinux.h>
>  #include <asm/mmu.h>
> @@ -126,6 +127,13 @@ static const uint32_t mx28evk_pads[] = {
>  	GPMI_ALE | VE_3_3V,
>  	GPMI_CLE | VE_3_3V,
>  	GPMI_RESETN,		/* act as WP, external PU */
> +
> +	/* SSP */
> +	SSP2_D0 | VE_3_3V | PULLUP(1) | STRENGTH(S8MA), /* MISO DO */
> +	SSP2_D3 | VE_3_3V | PULLUP(1) | STRENGTH(S8MA), /* SS0 !CS */
> +	SSP2_CMD | VE_3_3V | PULLUP(1) | STRENGTH(S8MA), /* MOSI DIO */
> +	SSP2_SCK | VE_3_3V | PULLUP(1) | STRENGTH(S8MA), /* CLK */
> +
>  };

unnecessary blank line.

>  
>  static struct mxs_mci_platform_data mci_pdata = {
> @@ -225,6 +233,17 @@ static int mx28_evk_mem_init(void)
>  }
>  mem_initcall(mx28_evk_mem_init);
>  
> +static const struct spi_board_info mx28evk_spi_board_info[] = {
> +	{
> +		.name = "m25p80",
> +		/* we leave this with the lower frequency
> +		   as the ssp unit otherwise locks up */

	/*
	 * multiline
	 * comment
	 */

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2013-02-05  9:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 17:26 [PATCH 0/3] Add mxs spi driver and mx28evk as its first user Michael Grzeschik
2013-02-04 17:26 ` [PATCH 1/3] mxs: ssp move to common register layout Michael Grzeschik
2013-02-05  9:10   ` Sascha Hauer
2013-02-04 17:26 ` [PATCH 2/3] mxs_spi: initial commit Michael Grzeschik
2013-02-04 17:57   ` Alexander Aring
2013-02-04 18:15     ` Alexander Aring
2013-02-04 18:18       ` Alexander Aring
2013-02-05  9:22   ` Sascha Hauer
2013-02-04 17:26 ` [PATCH 3/3] mx28evk: add m25p80 flash via ssp2 Michael Grzeschik
2013-02-05  9:24   ` Sascha Hauer [this message]

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=20130205092435.GS1906@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=m.grzeschik@pengutronix.de \
    /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