Re: spi-thunderx (OcteonTX) max SPI frequency

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

 



On Wed, Sep 22, 2021 at 9:14 AM Tim Harvey <tharvey@xxxxxxxxxxxxx> wrote:
>
> Greetings,
>
> Does anyone know why the MAX spi frequency for the spi-thunderx driver
> would be 16MHz? The CN81XX HM states the SPI clock frequency can go up
> to 50MHz.
>
> The driver was originally for Octeon (I'm thinking this was CN7xxx
> SoC's?) which perhaps were limited to 16MHz yet I downloaded a CN70XX
> ref manual and it shows 25MHz.
>
> I don't know my history regarding the Cavium (now Marvell) SoC's well
> enough to know exactly what Octeon means or meant vs ThunderX. Hoping
> someone from Marvell can answer this.
>

Adding some more Marvell folk to this thread including those involved
in the octeon-spi driver contributed to U-Boot to support the Octeon
II/III and OcteonTX/TX2 SoC which was allowed to run up to 50MHz [1]

My theory is that the Linux driver originally supported the Octeon I
SoC (still not clear what chip(s) that actually refers to) which was
likely 16MHz and that the driver should be patched to support 50MHz
for the SoC's that support it. I'm happy to submit a patch but I need
Marvell to step up and explain what chips are capable of 50MHz and
which are limited to 16MHz. All the Marvell reference manuals are
under NDA and this makes it a bit difficult to figure out.

Best Regards,

Tim
[1] https://github.com/u-boot/u-boot/commit/7853cc05984c60e616163c9b17c14d9a50300abe



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux