Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Lukasz Czerwinski <l.czerwinski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Tomasz Figa <tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Rajeshwari Birje
	<rajeshwari.birje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Tomasz Figa <t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Rajeshwari S Shinde
	<rajeshwari.s-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	linux-samsung-soc
	<linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	Alim Akhtar <alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Doug Anderson <dianders-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Andrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Sylwester Nawrocki
	<s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH V4] spi: s3c64xx: Enable Word transfer
Date: Thu, 07 Nov 2013 10:59:43 +0100	[thread overview]
Message-ID: <527B648F.1000401@samsung.com> (raw)
In-Reply-To: <1546740.qqSm3Pi1hO@flatron>

On 11/07/2013 10:39 AM, Tomasz Figa wrote:
> [CCing Sylwester, Andrzej and Lukasz]
>
> On Thursday 07 of November 2013 14:52:36 Rajeshwari Birje wrote:
>> Hi Mark Brown,
>>
>> On Wed, Nov 6, 2013 at 1:51 PM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>>> On Wed, Nov 06, 2013 at 10:23:07AM +0530, Rajeshwari Birje wrote:
>>>> On Thu, Oct 31, 2013 at 6:07 PM, Tomasz Figa <t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> wrote:
>>>>> The driver as of today's linux-next does not seem to support word
>>>>> transfers. Do you have some additional, out of tree patches that
>>>>> add
>>>>> such support?
>>>>
>>>> Yes I set the bits_per_word to 32/16 in drivers/mtd/devices/m25p80.c
>>>> m25p_probe function and the call spi_setup(spi).
>>>
>>> This sound wrong.  If you just set bits per word then this should
>>> result in data corruption on the bus since it should cause the words
>>> written to the bus to be reordered.  Are you sure that the existing
>>> driver isn't working correctly?
>>
>> The reordering of the words is taken care by the Swap configuration
>> (swap_cfg) register, which I have set for both 16 and 32 bits_per_word
>> case. I have tested this patch and works fine for me and also has
>> improved the timing performance.
>
> This driver seems to have already worked fine with 32 bits per word,
> using the s5c73m3 camera sensor, which uses SPI for firmware upload.
>
Yes, You are right.
> Sylwester, Andrzej or Lukasz: Can you confirm this?
>
> Best regards,
> Tomasz
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-11-07  9:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18  5:32 [PATCH V4] spi: s3c64xx: Enable Word transfer Rajeshwari S Shinde
     [not found] ` <1382074356-28430-1-git-send-email-rajeshwari.s-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-10-19 16:25   ` Mark Brown
     [not found]     ` <CAPnjgZ1A335KstnpTRwpxEbBArtqh1sYSPQJBw6LX5zUeptpfA@mail.gmail.com>
2013-10-19 20:04       ` Mark Brown
2013-10-29 10:59     ` Rajeshwari Birje
     [not found]       ` <CAPs=JDeOqkJT32quBH1tF9FtFUOt=CHP7m6ZqzhfASM2uPj-dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-29 11:29         ` Rajeshwari Birje
     [not found]           ` <CAPs=JDdzvnM5BzgRLhLsJrdwcVSwxd6x8_kFz0EvB=OjFfVszw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-29 16:39             ` Mark Brown
     [not found]               ` <20131029163926.GA6776-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-10-30  6:22                 ` Rajeshwari Birje
     [not found]                   ` <CAPs=JDeDbevjOtMH0y+9aVSbNSV4zmEQxWygtB-f69XzooSinQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-30 17:00                     ` Mark Brown
2013-10-30 17:06                       ` Tomasz Figa
2013-10-31 10:47                         ` Rajeshwari Birje
2013-10-31 12:37                           ` Tomasz Figa
2013-11-06  4:53                             ` Rajeshwari Birje
2013-11-06  8:21                               ` Mark Brown
     [not found]                                 ` <20131106082141.GA11602-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-11-07  9:22                                   ` Rajeshwari Birje
     [not found]                                     ` <CAPs=JDctq1yRbuwnFH40dnQJJHF0C_D1p3iVokSPusPXA27Qeg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-07  9:39                                       ` Tomasz Figa
2013-11-07  9:59                                         ` Lukasz Czerwinski [this message]
2013-11-08 11:05                                         ` Mark Brown
2013-11-10 17:26                                           ` Tomasz Figa
2013-11-13  8:28                                             ` Andrzej Hajda

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=527B648F.1000401@samsung.com \
    --to=l.czerwinski-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
    --cc=a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=dianders-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rajeshwari.birje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=rajeshwari.s-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@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