[PATCH] ARM: dts: armada-{370, xp}: drop "marvell, orion-spi" from SPI controllers
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Thu Sep 9 00:50:05 PDT 2021
Hello,
On Wed, Dec 07, 2016 at 04:41:45PM +0100, Uwe Kleine-König wrote:
> Hello Gregory,
>
> On Wed, Dec 07, 2016 at 04:30:02PM +0100, Gregory CLEMENT wrote:
> > On mer., déc. 07 2016, Uwe Kleine-König <uwe at kleine-koenig.org> wrote:
> >
> > > From: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> > >
> > > The SPI controllers on Armada 370 and XP differ from the original Orion
> > > SPI controllers (at least) in the configuration of the baud rate. So
> > > it's wrong to claim compatibility which results in bogus baud rates.
> >
> > Until two years ago with the commits
> > df59fa7f4bca9658b75f0f5fee225b3a057475c5 and
> > 4dacccfac69494ba70248b134352f299171c41b7
> > we used "marvell,orion-spi" compatible on Armada XP and Armada 370
> > without any problem.
> >
> > The new compatible "marvell,armada-xp-spi" and "marvell,armada-xp-spi"
> > allows to have more choice for the baudrate for a given clock but it is
> > not true that Armada 370 and Armada XP are not compatible with
> > "marvell,orion-spi".
>
> The issue I was faced with that made me create this patch is that in
> barebox no special case for 370/XP was active. The result was that a
> device that could be operated at 60 MHz only got a clock of 11 MHz and
> the driver assumed it configured 41.666 MHz. I didn't check if the same
> can happen in the opposite direction (or if there are other important
> incompatibilities) but still I'd say this is a bug with my patch being
> the obvious fix.
I just found this patch in an old branch and wonder what do to with it.
It still applies fine at least.
(If the original patch already disappeared from your inbox, it can be
found at https://lore.kernel.org/r/20161207152109.17545-1-uwe@kleine-koenig.org/ )
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210909/a2c48491/attachment.sig>
More information about the linux-arm-kernel
mailing list