From: H Hartley Sweeten <hartleys-3FF4nKcrg1dE2c76skzGb0EOCMrvLtNR@public.gmane.org>
To: Mika Westerberg <mika.westerberg-X3B1VOXEql0@public.gmane.org>,
"spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
<spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Cc: "martinwguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<martinwguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH v3 0/2] spi: driver for Cirrus EP93xx SPI controller
Date: Fri, 16 Apr 2010 13:28:05 -0500 [thread overview]
Message-ID: <0D753D10438DA54287A00B0270842697636D710785@AUSP01VMBX24.collaborationhost.net> (raw)
In-Reply-To: <cover.1271156934.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
On Tuesday, April 13, 2010 7:10 AM, Mika Westerberg wrote:
> Hello,
>
> This is third revision of the driver. Thanks to Martin Guy who tested and
> reviewed the code.
>
> Changes since v2:
> - corrected spi clock rate calculation
> - interrupt handling is now more efficient
> - driver now supports polling mode as well, this can be selected with
> 'transfer_method' module parameter.
> - controller is disabled in probe function
> - some cosmetic changes
>
> I have been testing this on my TS-7260 board (ep9302 based) with mmc_spi and
> at25 drivers.
>
> Note that patch 2/2 depends on patch that is already in Russell's patch
> tracking system:
> http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5998/1
>
Hello Mika,
I finally was able to get this working on my system. Not sure what the issue
was earlier.
The only thing I don't like right off hand is the chip select handling.
The way it currently is done you are limited to using only the built-in GPIO's
of the EP93xx. This prohibits a system from using an external i2c/spi/etc.
gpio expander to provide more chip selects. And if a platform is not setup
correctly, the BUG_ON in cs_to_gpio in your example for the tx72xx is pretty
nasty.
Ryan and I worked out a runtime setup/cleanup for the spi device chip selects
in the spi driver I have in my tree. I will take a look at it and see how
much trouble it will be to implement in your driver.
Anyway, now that I have your driver functioning I will be able to actually
provide some feedback to you.
Regards,
Hartley
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
next prev parent reply other threads:[~2010-04-16 18:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 14:10 [PATCH v3 0/2] spi: driver for Cirrus EP93xx SPI controller Mika Westerberg
[not found] ` <cover.1271156934.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-04-13 14:10 ` [PATCH v3 1/2] spi: implemented " Mika Westerberg
2010-04-17 6:30 ` Grant Likely
2010-04-17 11:00 ` Mika Westerberg
2010-04-19 18:02 ` Grant Likely
[not found] ` <q2pfa686aa41004191102qc93f09b6m941785b4cb4e32db-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-19 18:52 ` Martin Guy
[not found] ` <o2g56d259a01004191152w9c2245fdgaa2d4ac1b9e95ed7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-19 19:05 ` Grant Likely
[not found] ` <j2hfa686aa41004191205jf61e53ectc994ab0e5a2c4c53-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-19 19:26 ` Martin Guy
2010-04-19 19:16 ` Martin Guy
2010-05-20 4:56 ` Grant Likely
2010-04-20 6:16 ` Mika Westerberg
[not found] ` <e0e5dc30af89f0b65fd2e5e52f9e7fe9f162516b.1271156934.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-04-13 14:10 ` [PATCH v3 2/2] ep93xx: SPI driver platform support code Mika Westerberg
[not found] ` <d24cf3f10fb125837c9b660b3880956940440b79.1271156934.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-04-16 18:40 ` H Hartley Sweeten
2010-04-16 18:28 ` H Hartley Sweeten [this message]
[not found] ` <0D753D10438DA54287A00B0270842697636D710785-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-04-17 4:59 ` [PATCH v3 0/2] spi: driver for Cirrus EP93xx SPI controller Mika Westerberg
[not found] ` <20100417045913.GA19534-WfG2TfFPcQ9S6P4I59wummXnswh1EIUO@public.gmane.org>
2010-04-17 18:43 ` Martin Guy
[not found] ` <s2i56d259a01004171143m74b06d85yd1cbb38ef7ce778e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-18 5:33 ` Mika Westerberg
2010-04-19 17:04 ` H Hartley Sweeten
[not found] ` <0D753D10438DA54287A00B0270842697636D78D9CF-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-04-19 17:44 ` Mika Westerberg
[not found] ` <20100419174446.GH19534-WfG2TfFPcQ9S6P4I59wummXnswh1EIUO@public.gmane.org>
2010-04-19 18:11 ` H Hartley Sweeten
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=0D753D10438DA54287A00B0270842697636D710785@AUSP01VMBX24.collaborationhost.net \
--to=hartleys-3ff4nkcrg1de2c76skzgb0eocmrvltnr@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=martinwguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=mika.westerberg-X3B1VOXEql0@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).