<pcercuei>
I wrote pinctrl-jz4770, and one week after ImgTec released their set of drivers for the jz4780
<paul_boddie>
OK. That might be a better starting point, I guess.
<pcercuei>
I think you could start from MIPS/CI20_Linux
<pcercuei>
they have some improvements to the jz4740 core that is not upstream (and not in the qi-kernel repo either)
<paul_boddie>
I was looking at gcwnow jz-3.18-dts and jz-3.19. The MIPS one didn't seem to be any different.
<pcercuei>
let's say it's getting more and more similar ;)
<pcercuei>
that wasn't really the case a few months ago when they first released the code
<pcercuei>
but we still have some crappy ingenic code in arch/mips/jz4770
<pcercuei>
for instance, we don't have real support for DMA or timers
<paul_boddie>
What about the upstream jz4740 DMA support?
<pcercuei>
we use a MMC driver that would scare away any sane kernel developer
<pcercuei>
it's for jz4740; we would need to adapt it to jz4770
<pcercuei>
the only difference AFAIK is that we have two DMA chips
<pcercuei>
so 2x 6 channels
<paul_boddie>
How does one find out the differences? I'm just hoping at the moment that most of the work has already been kind of done. ;-)
<pcercuei>
what do you mean?
<paul_boddie>
I'm just thinking about the details like registers, interrupts, and so on.
<pcercuei>
by reading the docs
<paul_boddie>
The programming manual, I guess.
<pcercuei>
yes
<paul_boddie>
I'll look at MIPS/CI20_Linux ci20-v3.18, then.
<paul_boddie>
(If any of that EOMA-68 hardware gets released with a jz4775 CPU, it'd be nice to see a kernel later than Ingenic's own code-drop version that actually supports it.)
pcercuei has quit [Ping timeout: 265 seconds]
<paul_boddie>
Stupid git! Is it normal that git fails when cloning and then leaves no trace of its CPU-thrashing antics?
archang has quit [Ping timeout: 264 seconds]
pcercuei has joined #qi-hardware
pcercuei has quit [Ping timeout: 252 seconds]
rjeffries has joined #qi-hardware
rjeffries has quit [Ping timeout: 250 seconds]
wolfspraul has joined #qi-hardware
rjeffries has joined #qi-hardware
rjeffries has quit [Ping timeout: 252 seconds]
paul_boddie has quit []
rjeffries has joined #qi-hardware
freespace has joined #qi-hardware
<wpwrak>
hmm, one for the gnu cpp wish list: #define foo(x) #ifdef x##foo ...