From: Vitaly Wool <vwool@ru.mvista.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-kernel@vger.kernel.org, spi-devel-general@sourceforge.net
Subject: Re: [PATCH 2.6-git] SPI: add set_clock() to bitbang
Date: Fri, 23 Dec 2005 10:08:44 +0300 [thread overview]
Message-ID: <43ABA27C.6020309@ru.mvista.com> (raw)
In-Reply-To: <200512221637.07895.david-b@pacbell.net>
David Brownell wrote:
>>No, suppose there're two devices behind the same SPI bus that have
>>different clock constraints. As active SPI device change may well happen
>>when each new message is processed, we'll need to set up clocks again
>>for each message. Right?
>>
>>
>
>Clock is coupled to chipselect/device. When the bus controller
>switches to the other device, it updates the clock accordingly.
>
>
Yeah, but chipselect is called on per-transfer basis what is likely to
be redundant for clock setting.
Per-message clock configuration is enough AFAIS.
>How exactly that's done is system-specific. Many controllers
>just have a register per chipselect, listing stuff like SPI mode,
>clock divisor, and word size. So switching to that chipselect
>kicks those in automatically ... devices ignore the clock unless
>they've been selected.
>
>
Hmm, usually clocks are configured for the bus not device.
So, summarizing, you haven't convinced me yet. :)
Vitaly
next prev parent reply other threads:[~2005-12-23 7:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-22 15:04 [PATCH 2.6-git] SPI: add set_clock() to bitbang Vitaly Wool
2005-12-22 16:40 ` David Brownell
2005-12-22 21:23 ` Vitaly Wool
2005-12-22 21:37 ` David Brownell
2005-12-22 21:42 ` Vitaly Wool
2005-12-23 0:37 ` David Brownell
2005-12-23 7:08 ` Vitaly Wool [this message]
2005-12-23 8:28 ` David Brownell
2005-12-23 8:38 ` Vitaly Wool
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=43ABA27C.6020309@ru.mvista.com \
--to=vwool@ru.mvista.com \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=spi-devel-general@sourceforge.net \
/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.