Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1435012

Re: [PATCH 4/4] spi: Document option to insert delay between transactions

From Doug Anderson <dianders@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] spi: Document option to insert delay between transactions
Date 2016-07-01 06:50 +0200
Message-ID <rPYyS-28b-7@gated-at.bofh.it> (permalink)
References <rPBiV-4y7-3@gated-at.bofh.it> <rPBiV-4y7-7@gated-at.bofh.it> <rPEAa-6Gs-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Thu, Jun 30, 2016 at 12:12 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> CC devicetree
>
> On Thu, Jun 30, 2016 at 5:54 AM,  <apronin@chromium.org> wrote:
>> From: Andrey Pronin <apronin@chromium.org>
>>
>> Some devices may need CS to be deasserted for some time
>> between transactions. Added a new capability to guarantee
>> a delay between SPI transactions for the device.
>>
>> Signed-off-by: Andrey Pronin <apronin@chromium.org>
>> ---
>>  Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
>> index 1b7ffd4..87c117a 100644
>> --- a/Documentation/devicetree/bindings/spi/spi-bus.txt
>> +++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
>> @@ -70,6 +70,8 @@ contain the following properties.
>>                 sleep if there was no SPI activity (msec).
>>  - cs-wake-duration - (optional) Time it takes the device to wake up after
>>                 toggling CS if it went to sleep (msec).
>> +- xfer-delay      - (optional) Delay to insert between SPI transactions
>> +               to guarantee that CS is deasserted at least for some time.

msec?  usec?  nsec?

Also, as with the other patch, this should be _before_ the code
change, so this should really be patch 3 not patch 4.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] spi: Add option to wake a device by toggling CS apronin@chromium.org - 2016-06-30 06:00 +0200
  [PATCH 4/4] spi: Document option to insert delay between transactions apronin@chromium.org - 2016-06-30 06:00 +0200
    Re: [PATCH 4/4] spi: Document option to insert delay between transactions Geert Uytterhoeven <geert@linux-m68k.org> - 2016-06-30 09:30 +0200
      Re: [PATCH 4/4] spi: Document option to insert delay between transactions Doug Anderson <dianders@chromium.org> - 2016-07-01 06:50 +0200
  Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Doug Anderson <dianders@chromium.org> - 2016-07-01 06:40 +0200
    Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Mark Brown <broonie@kernel.org> - 2016-07-01 10:30 +0200
      Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Doug Anderson <dianders@chromium.org> - 2016-07-01 19:10 +0200
        Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Mark Brown <broonie@kernel.org> - 2016-07-01 19:20 +0200
          Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Andrey Pronin <apronin@chromium.org> - 2016-07-02 04:10 +0200
  Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Mark Brown <broonie@kernel.org> - 2016-07-01 10:30 +0200
    Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS Andrey Pronin <apronin@chromium.org> - 2016-07-02 03:50 +0200

csiph-web