2015-11-22 20:45 GMT+01:00 Maxime Ripard :
>> Julien, Rob: thanks for your comments! Ok, I will make the following changes:
>>
>> - remove "sun4i,spi-wdelay" from the sun4i binding and add the
>> property to the spi-bus.txt binding instead
>> - remove the comment
Hi,
On Fri, Nov 20, 2015 at 05:45:48PM +0100, Marcus Weseloh wrote:
> 2015-11-20 17:12 GMT+01:00 Rob Herring :
> > On Fri, Nov 20, 2015 at 02:56:34PM +0100, Marcus Weseloh wrote:
> >> > (and the wdelay should
> >> > arguably be a core-spi thing, not a sunxi thing, but that's a
Hi Julien,
2015-11-20 11:12 GMT+01:00 Julian Calaby :
> Having magic numbers is kind-of a drivers' job.
Yes, of course. What I meant was that I didn't feel comfortable to
include this magic number in driver code because I'm not 100% sure if
it is correct across all SPI
Hi Marcus,
On Fri, Nov 20, 2015 at 7:45 PM, Marcus Weseloh wrote:
> Hi Julian,
>
> 2015-11-19 23:59 GMT+01:00 Julian Calaby :
>> Should you possibly hide the 3 clock periods from the user?
>>
>> I.e. they set whatever they want for the wdelay, we
On Fri, Nov 20, 2015 at 02:56:34PM +0100, Marcus Weseloh wrote:
> Hi Julien,
>
> 2015-11-20 11:12 GMT+01:00 Julian Calaby :
> > Having magic numbers is kind-of a drivers' job.
I guess all my comments were already raised...
>
> Yes, of course. What I meant was that I
2015-11-20 17:12 GMT+01:00 Rob Herring :
> On Fri, Nov 20, 2015 at 02:56:34PM +0100, Marcus Weseloh wrote:
>> > (and the wdelay should
>> > arguably be a core-spi thing, not a sunxi thing, but that's a separate
>> > discussion)
>>
>> I've been thinking about that, but it seemed to
Hi Julian,
2015-11-19 23:59 GMT+01:00 Julian Calaby :
> Should you possibly hide the 3 clock periods from the user?
>
> I.e. they set whatever they want for the wdelay, we set it to the
> closest number we can that's greater or equal to what they ask for.
That's a good
Hi Marcus,
On Fri, Nov 20, 2015 at 2:53 AM, Marcus Weseloh wrote:
> Adds support and documentation for a new slave device property
> "sun4i,spi-wdelay" that allows to set the SPI Wait Clock Register per
> device / transfer. The SPI hardware will wait the specified amount of