From: Sergei Shtylyov <sshtylyov@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver
Date: Tue, 18 Jan 2011 18:37:16 +0300 [thread overview]
Message-ID: <4D35B3AC.4030304@mvista.com> (raw)
In-Reply-To: <1295349749-32406-1-git-send-email-sbabic@denx.de>
Hello.
Stefano Babic wrote:
> From: Anatolij Gustschin <agust@denx.de>
> The MXC SPI driver didn't calculate the SPI clock up to
> now and just highest possible divider 512 for DATA
^
I think "used" shouldn't have been ommitted here.
> RATE in the control register. This results in very low
> transfer rates.
> The patch adds code to calculate and setup the SPI clock
> frequency for transfers.
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Signed-off-by: Stefano Babic <sbabic@denx.de>
WBR, Sergei
next prev parent reply other threads:[~2011-01-18 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-16 18:17 [U-Boot] [PATCH 1/2] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case Anatolij Gustschin
2011-01-16 18:17 ` [U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver Anatolij Gustschin
2011-01-17 9:00 ` Stefano Babic
2011-01-17 9:30 ` Anatolij Gustschin
2011-01-17 9:36 ` Anatolij Gustschin
2011-01-17 9:41 ` Stefano Babic
2011-01-18 11:22 ` [U-Boot] [PATCH V2 " Stefano Babic
2011-01-18 15:37 ` Sergei Shtylyov [this message]
2011-01-20 8:11 ` Stefano Babic
2011-01-18 11:20 ` [U-Boot] [PATCH 1/2] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case Stefano Babic
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=4D35B3AC.4030304@mvista.com \
--to=sshtylyov@mvista.com \
--cc=u-boot@lists.denx.de \
/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