From: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
cbou-JGs/UdohzUI@public.gmane.org
Cc: Stephen Street
<stephen-nl6u4wocdmy51APUEpUfAkEOCMrvLtNR@public.gmane.org>
Subject: Re: Fwd: PXA270 + ads7846 (TI TSC2046)
Date: Sun, 20 May 2007 20:08:58 -0700 [thread overview]
Message-ID: <200705202008.58743.david-b@pacbell.net> (raw)
In-Reply-To: <20070504155402.GA25198@zarina>
On Friday 04 May 2007, Anton Vorontsov wrote:
> Why Motorola hardcoded in pxa2xx spi driver? Is that means that with
> Motorola bit set we can do all we can with National bit? If not (and
> from my observation it's not) is that means that we can't use pxa2xx
> spi driver for chips requiring National/Microwire?
Modulo the misconception there -- Microwire being a strict subset
of the pure SPI/Motorola mode -- one other issue came up recently.
It seems that the patch making drivers/input/touchscreen/ads7846.c
use SPI_MODE_1 was incorrect. It should use SPI_MODE_0 ... since
it uses normal clock polarity (CPOL=0) and samples on the leading
edge of that clock (CPHA=0).
When I tested -- with omap_uwire and pxa2xx_spi -- I used SPI_MODE_0;
but it was later changed. It seems that when it's used with the
omap_uwire driver, SPI_MODE_1 also works. That might explain some
of the problems observed...
- Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
parent reply other threads:[~2007-05-21 3:08 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20070504155402.GA25198@zarina>]
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=200705202008.58743.david-b@pacbell.net \
--to=david-b-ybekhbn/0ldr7s880joybq@public.gmane.org \
--cc=cbou-JGs/UdohzUI@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=stephen-nl6u4wocdmy51APUEpUfAkEOCMrvLtNR@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.