From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 25 Feb 2014 17:12:02 -0500 Subject: [U-Boot] [U-Boot PATCH v2 11/12] spi: davinci: add support for multiple bus and chip select In-Reply-To: <1392918914-15564-12-git-send-email-m-karicheri2@ti.com> References: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> <1392918914-15564-12-git-send-email-m-karicheri2@ti.com> Message-ID: <20140225221202.GM16805@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 20, 2014 at 12:55:13PM -0500, Murali Karicheri wrote: > From: Rex Chang > > Currently davinci spi driver supports only bus 0 cs 0. > This patch allows driver to support bus 1 and bus 2 with > configurable number of chip selects. Also defaults are > selected in a way to avoid regression on other platforms > that uses davinci spi driver and has only one spi bus. > > Signed-off-by: Rex Chang > Signed-off-by: Murali Karicheri > --- > drivers/spi/davinci_spi.c | 62 ++++++++++++++++++++++++++++++++++++++++++--- > drivers/spi/davinci_spi.h | 33 ++++++++++++++++++++++++ > 2 files changed, 91 insertions(+), 4 deletions(-) > > diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c > index e3fb321..c708a04 100644 > --- a/drivers/spi/davinci_spi.c > +++ b/drivers/spi/davinci_spi.c > @@ -23,7 +23,7 @@ void spi_init() > struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, > unsigned int max_hz, unsigned int mode) > { > - struct davinci_spi_slave *ds; > + struct davinci_spi_slave *ds; Drop this whitespace change please. Then you can add: Acked-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: