Commit Graph

9 Commits

Author SHA1 Message Date
Harini Jayaraman
4266ddf465 spi_qsd: Move to new clock APIs
Replace use of clk_enable() and clk_disable() with calls to
clk_prepare_enable() and clk_disable_unprepare(), respectively.

Change-Id: I1932b6677906003c2c912b2849fdb72655334ff6
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2012-01-23 16:51:02 -07:00
Harini Jayaraman
c710a5e5d6 spi_qsd: Add support for new QUPe controller.
The SPI driver is modified to support the new QUPe
controller (version 0x2). The SPI functionality of the
controller is very similar to the previous QUPe
controller (version 0x1). This change addresses
some cleanup along with register address modifications and
flow changes.

Change-Id: I15e7084dd54a1144bd85bf75efd7757b545d24f9
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2012-01-12 19:40:45 -07:00
Harini Jayaraman
e4c06190dd spi_qsd: GPIO configuration changes for SPI chip-select line
The chip-select GPIO's pertaining to each slave remains in suspended
configuration until the first transfer is intiated by the slave.

Change-Id: I3aa8555289be7ce457b91a969cf03909be0965d7
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2011-10-10 11:05:26 -06:00
Jordan Crouse
47b3f83b78 spi_qsd: Fix possible uninitialized variable
Change-Id: Ic0dedbad184046e9835cde015ad5d592f33e82a6
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2011-10-06 09:28:00 -07:00
Harini Jayaraman
970b520385 spi_qsd: Fix Klocwork errors in SPI driver
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2011-10-03 16:20:53 -07:00
Harini Jayaraman
bcef77324e spi_qsd: Fix for SPI Operational State Invalid error
This error is reproted randomly when the SPI core is put
into RUN state and occurs when the ACPU clock is low.
When the timer expires, we check again to ensure that the
STATE_VALID bit is set before returning.

CRs-fixed: 304672
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2011-10-03 16:19:09 -07:00
Jeff Ohlstein
dc39f977d2 msm: dma: remove crci conflict checking
The crci conflict checking code was designed for a system where a crci's
mux could be changed at runtime. In reality, our chips configure these
statically, so it is not necessary.

Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
2011-10-03 16:18:14 -07:00
Matt Wagantall
ac294855f6 msm: clock: Rename all I2C/SPI clocks to 'core_clk' or "iface_clk"
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name.

Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-qrdc.c
	arch/arm/mach-msm/board-qt8660.c
2011-10-03 16:16:43 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00