Re: dma_declare_coherent_memory and SuperH
From: Geert Uytterhoeven
Date: Mon Jun 28 2021 - 04:57:24 EST
Hi Adrian, Daniel,
On Sun, Jun 27, 2021 at 10:48 AM John Paul Adrian Glaubitz
<glaubitz@xxxxxxxxxxxxxxxxxxx> wrote:
> On 6/27/21 5:08 AM, Daniel Palmer wrote:
> > On Wed, 23 Jun 2021 at 22:32, Christoph Hellwig <hch@xxxxxx> wrote
> >> I have a vague recollection that you were planning on dropping support
> >> for non-devicetree platforms, is that still the case?
> >
> > Are there any SH4 boards that actually support DT?
> > I'm still using an ecovec24 board(SH7724). I'd love to use DT if
> > that's possible.
>
> There is an unmerged patch set by Yoshinori Sato that adds device tree support for SH.
But it does not include support for SH7724 yet, only for SH775[01]
(note to myself: still have to try it on my landisk).
Fortunately most core devices on SH7724 and Ecovec should already
have DT support in their drivers. The main missing pieces are
interrupt and clock support.
The SH7750 INTC seems to be a simpler derivative of the SH7724 INTC.
The SH7724 clock controller is very similar to those used on later
ARM-based SH/R-Mobile and even R-Car SoCs, so adding support for it
to the renesas-cpg-mssr.c driver framework shouldn't be that difficult.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds