[Top] [All Lists]

Re: [PATCH 0/3] XBurst JZ4730 support

To: Lars-Peter Clausen <>
Subject: Re: [PATCH 0/3] XBurst JZ4730 support
From: Graham Gower <>
Date: Fri, 26 Feb 2010 14:04:18 +1030
Cc: Florian Fainelli <>, Mirko Vogt <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=EXnM8Yc9e+A/XPW3yrbZfQ5zzpsoziEXt7ACt2fVJJA=; b=k1rTfO4PGq62f3FIXsNAlupSHas0s3T268CorEGZ2o01qIjNeoBcuqVNTy2CVKzFag 23SdG8g5+EITVlWEkgQD9YzX/Gw93xTtP+5d44NCj1w/4Bc7Wtk62Ob55R7dqwEQOKz5 CslAV8YCPo0VH073zx3xeJSfdPp9EiotA6w3I=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kNzIO0PRik+Q6zCBouh+5p7SVIm7Kwz4cn1jlJOXd7J8gkJX0Z4S4pp+D8+KwXI5FO aU85yi/KV8M3yPy7WTW4cdphqXNHFam/yhE0FApcQVgWynyP3V+ZXKE/hX3GqHq4qeBd 5wzDjCh8DgjGvx/y/7EIqslSZBVcOJxcvQe4I=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
On 26 February 2010 12:21, Lars-Peter Clausen <> wrote:
> Hash: SHA1
> Hi
> Graham Gower wrote:
>> On 25 February 2010 18:22, Florian Fainelli <> wrote:
>>> Maybe you should work with the OpenWrt and qi-hardware guys to get the
> jz4740
>>> also merged in the same time?
>> I've not seen any active attempt to get xburst code merged before and
>> assumed there was no interest from others. I'm happy to be wrong on
>> this.
> I'm currently working on linux support for a few jz4740 hbased devices.
> And it's definitely a goal get the code merged upstream once it is in
> proper shape, but there is still some stuff that needs to be done.
> Mostly documentation and smaller cleanups.

I was hoping to get something simple (i.e. bootable with serial) into
the tree and submit other drivers later, as time permits.

>> My patch does not preclude adding jz4740 support. I don't have any of
>> these devices however, so have only included code for the jz4730.
> Unfortunately I don't have a jz4730 programmers manual to check so I
> can't say for sure, but I guess there is quite some code that could be
> shared between between both SoCS(and other jz47xx). I think we don't
> want to do what Ingenic did with their codebase and copy 'n paste the
> same file with minor modifications for each soc type.

The 4740 docs are a copy/paste of the 4730 docs with changes here and
there and lots of register shuffling.

> You can find the patches (and files) adding jz4740 support to the
> linux kernel at [1] and [2].
> I suggest you take a look at it and see if we could use some of the
> files(irq, gpio, dma, ...) for a common base between all jz47xx SoCs.

The interrupt controllers look quite similar (the irq numbers have
been shuffled around). The gpio and dma controllers are quite
different however.

The MMC and LCD controllers look almost identical. I don't have any
docs for the nand, but Ingenic's code for the 4730 and 4740 look very
similar. The USB gadget code differs (udc controller info is missing
from my 4740 docs) - the jz4730 gadget driver they are shipping is
broken and they ignored my patch to fix it.


<Prev in Thread] Current Thread [Next in Thread>