From: Bob Liu <lliubbo@gmail.com>
To: <linux-kernel@vger.kernel.org>
Cc: <sonic.adi@gmail.com>, <uclinux-dist-devel@blackfin.uclinux.org>,
<vapier@gentoo.org>, Scott Jiang <scott.jiang.linux@gmail.com>
Subject: [PATCH 10/11] bf537: spi sport driver can support any gpio as its cs pin
Date: Mon, 12 Dec 2011 11:28:32 +0800 [thread overview]
Message-ID: <1323660513-9620-10-git-send-email-lliubbo@gmail.com> (raw)
In-Reply-To: <1323660513-9620-1-git-send-email-lliubbo@gmail.com>
From: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
---
arch/blackfin/mach-bf537/boards/stamp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index c59d21f..1b34466 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -1462,7 +1462,7 @@ static struct platform_device bfin_spi0_device = {
/* SPORT SPI controller data */
static struct bfin5xx_spi_master bfin_sport_spi0_info = {
- .num_chipselect = 1, /* master only supports one device */
+ .num_chipselect = MAX_BLACKFIN_GPIOS,
.enable_dma = 0, /* master don't support DMA */
.pin_req = {P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_DRPRI,
P_SPORT0_RSCLK, P_SPORT0_TFS, P_SPORT0_RFS, 0},
@@ -1492,7 +1492,7 @@ static struct platform_device bfin_sport_spi0_device = {
};
static struct bfin5xx_spi_master bfin_sport_spi1_info = {
- .num_chipselect = 1, /* master only supports one device */
+ .num_chipselect = MAX_BLACKFIN_GPIOS,
.enable_dma = 0, /* master don't support DMA */
.pin_req = {P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_DRPRI,
P_SPORT1_RSCLK, P_SPORT1_TFS, P_SPORT1_RFS, 0},
--
1.7.0.4
next prev parent reply other threads:[~2011-12-12 3:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 3:28 [PATCH 01/11] blackfin: bf533-stamp: fix ad1836 name Bob Liu
2011-12-12 3:28 ` [PATCH 02/11] blackfin: bf533-stamp: add missed patches for new asoc driver Bob Liu
2011-12-12 3:28 ` [PATCH 03/11] blackfin: smp: add suspend and wakeup irq flags Bob Liu
2011-12-12 3:28 ` [PATCH 04/11] blackfin: smp: cleanup smp code Bob Liu
2011-12-12 3:28 ` [PATCH 05/11] blackfin: config: update def config for all boards Bob Liu
2011-12-12 3:28 ` [PATCH 06/11] blackfin: config: update macro SPI_BFIN in board file Bob Liu
2011-12-12 3:28 ` [PATCH 07/11] blackfin: smp: fix msg queue overflow issue Bob Liu
2011-12-12 3:28 ` [PATCH 08/11] bf54x: get mem size: missing break in switch Bob Liu
2011-12-12 3:28 ` [PATCH 09/11] serial: bfin-uart: remove unused field for hardware flow control Bob Liu
2011-12-12 3:28 ` Bob Liu [this message]
2011-12-12 3:28 ` [PATCH 11/11] blackfin: mac: dsa: add vlan mask in board file Bob Liu
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=1323660513-9620-10-git-send-email-lliubbo@gmail.com \
--to=lliubbo@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=scott.jiang.linux@gmail.com \
--cc=sonic.adi@gmail.com \
--cc=uclinux-dist-devel@blackfin.uclinux.org \
--cc=vapier@gentoo.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
Powered by JetHome