From: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Federico Vaga <federico.vaga-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"a.sappia-197Af0g7QoUlk5EcyZIkJQ@public.gmane.org"
<a.sappia-197Af0g7QoUlk5EcyZIkJQ@public.gmane.org>,
"puria.nafisi-yFROiS3d6cY@public.gmane.org"
<puria.nafisi-yFROiS3d6cY@public.gmane.org>
Subject: Re: How to correctly use spi_slave_tegra
Date: Thu, 15 Nov 2012 18:23:05 -0500 [thread overview]
Message-ID: <50A57959.1040208@nvidia.com> (raw)
In-Reply-To: <2843691.9Zl65ZOxsQ@number-5>
On 11/15/2012 02:41 PM, Federico Vaga wrote:
>> Yes, the above are correct. The way we wrote the driver is that to
>> support the sync and async both.
>> When driver configures spi controller and ready for receive data then
>> the callback from client is called. This callback is registered through
>> spi_tegra_register_callback(). The client code then can inform master in
>> this callback to start transfer through some mechanism i.e. gpio.
> One more question.
> From the Tegra 2 Manual, SPI slave section, I read (I cannot copy it because
> of DRM and Nvidia legal stuff) that the clock signal *must* has 1 cycle delay
> between each word (or packet in packet mode); but I don't read from the master
> section that the master controller provide 1 cycle delay between each word (or
> packet). If I connect a Tegra 2 SPI Master with a Tegra 2 SPI slave .... it
> works?
>
Aah, it is something written incorrectly. We had internal discussion to
remove this statement from TRM already. Please ignore the 1 cycle delay
statement.
next prev parent reply other threads:[~2012-11-15 23:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 20:08 How to correctly use spi_slave_tegra Federico Vaga
2012-11-15 18:47 ` Stephen Warren
[not found] ` <50A538DA.2010906-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-11-15 19:04 ` Laxman Dewangan
[not found] ` <50A53CB7.1090705-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-11-15 19:19 ` Federico Vaga
2012-11-15 19:41 ` Federico Vaga
2012-11-15 23:23 ` Laxman Dewangan [this message]
[not found] ` <50A57959.1040208-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-11-15 23:37 ` Federico Vaga
2012-11-15 19:10 ` Federico Vaga
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=50A57959.1040208@nvidia.com \
--to=ldewangan-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=a.sappia-197Af0g7QoUlk5EcyZIkJQ@public.gmane.org \
--cc=federico.vaga-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=puria.nafisi-yFROiS3d6cY@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@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.