Re: [PATCH V4] spi: s3c64xx: Enable Word transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 08 of November 2013 11:05:17 Mark Brown wrote:
> On Thu, Nov 07, 2013 at 10:39:37AM +0100, Tomasz Figa wrote:
> > On Thursday 07 of November 2013 14:52:36 Rajeshwari Birje wrote:
> 
> > > 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.
> 
> This is all sounding very confused.  Either this patch is a bug fix or
> it's breaking the driver but I can't tell without more information about
> what it's supposed to do.  Can someone explain in concrete terms what
> the intended effect of the patch is on wire behaviour?
> 
> It is possible that the s5c73m3 driver is buggy here if it's only been
> tested with the s3c64xx driver (which seems likely) since the author
> could have worked around the driver behaviour.

I'm confused here as well.

Looking at the W25Q32DW datasheet[1], it does not really support 32 bit
words and using such with it seems more like an abuse of this feature.

As for the s5c73m3 sensor, we should ask Andrzej or Sylwester to look
at the datasheet and see how SPI transfer are supposed to work there.

[1] http://www.winbond.com.tw/NR/rdonlyres/D35D5D04-4CE9-46A1-8950-AEA573045507/0/W25Q32DW.pdf

Best regards,
Tomasz

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




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux