mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aaron Brice <aaron.brice@datasoft.com>
To: broonie@kernel.org
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	stefan@agner.ch, devicetree@vger.kernel.org
Subject: [PATCH v3 0/3] spi: fsl-dspi (vf610) clock fixes
Date: Fri,  3 Apr 2015 13:39:28 -0700	[thread overview]
Message-ID: <1428093571-20407-1-git-send-email-aaron.brice@datasoft.com> (raw)

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


             reply	other threads:[~2015-04-03 20:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 20:39 Aaron Brice [this message]
2015-04-03 20:39 ` [PATCH v3 1/3] spi: fsl-dspi: Fix clock rate scale values Aaron Brice
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
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
2015-04-06 17:12   ` Mark Brown

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=1428093571-20407-1-git-send-email-aaron.brice@datasoft.com \
    --to=aaron.brice@datasoft.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=stefan@agner.ch \
    /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