All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/9 v4] i.MX31: support GPIO as a chip-select in the mxc_spi driver
Date: Tue, 24 Feb 2009 14:40:27 +0100	[thread overview]
Message-ID: <200902241440.27384.agust@denx.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0902130923570.4513@axis700.grange>

On Friday 13 February 2009 09:26:40 am Guennadi Liakhovetski wrote:
> Some SPI devices have special requirements on chip-select handling.
> With this patch we can use a GPIO as a chip-select and strictly follow
> the SPI_XFER_BEGIN and SPI_XFER_END flags.
>
> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
> ---
>
> Changes since v1: long lines split, mx31_gpio_* calls now also defined if
> CONFIG_MX31_GPIO is not defined (see patch 2/9), '!!' removed.
> Changes since v2: added braces in a multiline if, switched to
> ARRAY_SIZE().
> Changes since v3: moved GPIO chipselect initialisation into a separate
> function, as suggested by Wolfgang Denk
>
>  drivers/spi/mxc_spi.c |   64
> ++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 56
> insertions(+), 8 deletions(-)

Applied to u-boot-video/master.

Thanks,
Anatolij

      parent reply	other threads:[~2009-02-24 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13  8:26 [U-Boot] [PATCH 3/9 v4] i.MX31: support GPIO as a chip-select in the mxc_spi driver Guennadi Liakhovetski
2009-02-14  8:31 ` Jean-Christophe PLAGNIOL-VILLARD
2009-02-16 22:03   ` Wolfgang Denk
2009-02-16 23:21     ` Guennadi Liakhovetski
2009-02-24 13:40 ` Anatolij Gustschin [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=200902241440.27384.agust@denx.de \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.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 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.