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


Groups > linux.kernel > #1455304

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

From Rob Landley <rob@landley.net>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller
Date 2016-08-02 20:20 +0200
Message-ID <s1Msj-88r-71@gated-at.bofh.it> (permalink)
References (3 earlier) <rZZtD-2h2-3@gated-at.bofh.it> <rZZDj-2lv-9@gated-at.bofh.it> <s0ti1-5wF-3@gated-at.bofh.it> <s1pYK-1pc-7@gated-at.bofh.it> <s1x0e-628-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/01/2016 08:45 PM, Rich Felker wrote:
> Yes. 50 MHz is the natural default frequency, but I found out at the
> last minute from the hardware engineers that clocking the current SoC
> up to 62.5 MHz (for faster cpu) will require the SPI timing to be
> programmed based on the faster reference clock. This messes up the
> ability to get optimal SD card transfer rates, so we'll probably end
> up having a real 50 MHz clock for the SPI anyway, but I thought it was
> important to be able to handle this issue in the DT binding anyway.

For those of you following along at home, the first open source VHDL
release of http://j-core.org runs at 33 mhz on Spartan 6 FPGAs, the
second at 50mhz on the same hardware, and you'd think the third would be
66mhz as the chip continues to be optimized, but one of the new I/O
busses requires a multiple of 12.5 mhz and they didn't want to add a
clock domain crossing thing for it, hence 62.5 mhz.

Earlier it was easy to get everything to work off a single master clock,
but as we add more peripherals to the SOC and speed things up stuff's
likely to change. (Development is ongoing, and we have a public
http://j-core.org/roadmap.html out through 2019. It you're waiting for
stuff to stop changing before getting basic board support in that runs
on existing releases, it's might be a while.)

Rob

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


Thread

[PATCH v4 0/2] J-Core SPI controller support Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
  [PATCH v4 1/2] of: add J-Core SPI master bindings Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
    Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rob Herring <robh@kernel.org> - 2016-07-29 23:00 +0200
      Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rich Felker <dalias@libc.org> - 2016-08-03 00:10 +0200
        Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rob Herring <robh@kernel.org> - 2016-08-03 00:50 +0200
  [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
    Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-07-28 21:20 +0200
      Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-28 21:50 +0200
        Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-07-28 22:00 +0200
          Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-30 05:40 +0200
            Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-08-01 20:20 +0200
              Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-08-02 03:50 +0200
                Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rob Landley <rob@landley.net> - 2016-08-02 20:20 +0200
            Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Geert Uytterhoeven <geert@linux-m68k.org> - 2016-08-04 15:10 +0200
              Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-08-04 19:10 +0200

csiph-web