linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] spi: fsl-dspi (vf610) clock fixes
@ 2015-04-03 20:39 Aaron Brice
       [not found] ` <1428093571-20407-1-git-send-email-aaron.brice-vSOi0k5x9wFWk0Htik3J/w@public.gmane.org>
  2015-04-03 20:39 ` [PATCH v3 3/3] spi: fsl-dspi: Add ~50ns delay between cs and sck Aaron Brice
  0 siblings, 2 replies; 7+ messages in thread
From: Aaron Brice @ 2015-04-03 20:39 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, stefan-XLVq0VzYD2Y,
	devicetree-u79uwXL29TY76Z2rM5mHXA

We were having intermittent problems writing to SRAM chip on SPI bus on vf610
SoM.  Added support for CS setup and hold times to meet the SRAM spec.  In the
process noticed that the baud rate was a little high.

Changes since v2:
 * Incorporate fixes per Stefen Agner review, namely moved hard-coded 50ns
   delays to device tree properties
 * Fix for baud rate scale value remainders, reported by Andy Shevchenko

Changes since v1:
 * More detail in commit message for clock rate fix

Aaron Brice (3):
  spi: fsl-dspi: Fix clock rate scale values
  devicetree: spi: fsl-dspi: Add cs-sck delays
  spi: fsl-dspi: Add ~50ns delay between cs and sck

 .../devicetree/bindings/spi/spi-fsl-dspi.txt       |  8 ++
 drivers/spi/spi-fsl-dspi.c                         | 97 ++++++++++++++++++----
 2 files changed, 89 insertions(+), 16 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-06 17:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-03 20:39 [PATCH v3 0/3] spi: fsl-dspi (vf610) clock fixes Aaron Brice
     [not found] ` <1428093571-20407-1-git-send-email-aaron.brice-vSOi0k5x9wFWk0Htik3J/w@public.gmane.org>
2015-04-03 20:39   ` [PATCH v3 1/3] spi: fsl-dspi: Fix clock rate scale values Aaron Brice
     [not found]     ` <1428093571-20407-2-git-send-email-aaron.brice-vSOi0k5x9wFWk0Htik3J/w@public.gmane.org>
2015-04-06 17:11       ` Mark Brown
2015-04-03 20:39   ` [PATCH v3 2/3] devicetree: spi: fsl-dspi: Add cs-sck delays Aaron Brice
     [not found]     ` <1428093571-20407-3-git-send-email-aaron.brice-vSOi0k5x9wFWk0Htik3J/w@public.gmane.org>
2015-04-06 17:12       ` Mark Brown
2015-04-03 20:39 ` [PATCH v3 3/3] spi: fsl-dspi: Add ~50ns delay between cs and sck Aaron Brice
     [not found]   ` <1428093571-20407-4-git-send-email-aaron.brice-vSOi0k5x9wFWk0Htik3J/w@public.gmane.org>
2015-04-06 17:12     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).