All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>,
	Maarten ter Huurne <maarten@treewalker.org>
Subject: Re: [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC
Date: Tue, 23 Oct 2012 20:15:23 +0200	[thread overview]
Message-ID: <5086DEBB.1030506@metafoo.de> (raw)
In-Reply-To: <1351014241-3207-1-git-send-email-antonynpavlov@gmail.com>

On 10/23/2012 07:43 PM, Antony Pavlov wrote:
> AFAIK the single known chip in Ingenic JZ4750D line is JZ4755.
> It has just the same CPU core as JZ4740, but another set of
> peripherals (though the program model for the most
> of the peripherals is the same).
> 
> +-----------------+--------------+--------------+
> |                 |   JZ4755     |    JZ4740    |
> +-----------------+--------------+--------------+
> | UART            |      3       |       4      |
> | MSC (mmc/sd)    |      2       |       1      |
> | GPIO            |     5x32     |      4x32    |
> | TCU (timers)    | 6x16 + 1x32  |      8x16    |
> | USB             |  device 2.0  |   host 1.1   |
> |                 |              |  device 2.0  |
> +-----------------+--------------+--------------+
> 
> The most significant advantage of the JZ4755 chip
> is the second MIPS core dedicated for image processing.
> Also JZ4755 is made with use of more precise technology
> and it can run on the higher clock rate (approx. 433 MHz
> for JZ4755 vs 336 MHz for JZ4740).
> 
> The JZ4755 is used in some game consoles:
> * Ritmix RZX-50;
> * Dingoo A320E/A380;
> * GameLinBox.
> 
> This patch series based on the work of Lars-Peter Clausen.
> To tell the truth it is the Lars-Peter Clausen's patches
> with some fixes and changes.
> 
> As most of the code for JZ4750D is very close to code
> for JZ4740 we can incorporate the code for JZ4750D
> to the code for JZ4740 to avoid code duplication.

Yes, definitely agreed. Most of the peripherals are similar enough that they
can be supported by a shared driver. I actually started working on this some
time ago, but never finished it, because other things took priority.
The code can be found here:
http://projects.qi-hardware.com/index.php/p/qi-kernel/source/tree/jz47xx-2.6.38/arch/mips/jz47xx

The code is based on 2.6.38 and is a bit outdated by now, but I think it gets
the idea over quite well. And most of the patches touching jz47xx related code
are still valid as well.

As for the renaming I'm not so sure if it is really necessary. We often stick
we the name for the driver or architecture version which was first supported by
the kernel and add note in Kconfig and comments that the driver also supports
other version/variants of the peripheral or SoC.

- Lars

  parent reply	other threads:[~2012-10-23 18:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 17:43 [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC Antony Pavlov
2012-10-23 17:43 ` [RFC 01/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D System-on-a-Chip Antony Pavlov
2012-10-23 17:43 ` [RFC 02/13] MIPS: JZ4750D: Add clock API support Antony Pavlov
2012-10-23 17:43 ` [RFC 03/13] MIPS: JZ4750D: Add IRQ handler code Antony Pavlov
2012-10-23 17:43 ` [RFC 04/13] MIPS: JZ4750D: Add timer support Antony Pavlov
2012-10-23 17:43 ` [RFC 05/13] MIPS: JZ4750D: Add clocksource/clockevent support Antony Pavlov
2012-10-23 17:43 ` [RFC 06/13] MIPS: JZ4750D: Add system reset support Antony Pavlov
2012-10-23 17:43 ` [RFC 07/13] MIPS: JZ4750D: Add setup code Antony Pavlov
2012-10-23 17:43 ` [RFC 08/13] MIPS: JZ4750D: Add serial support Antony Pavlov
2012-10-23 17:43 ` [RFC 09/13] MIPS: JZ4750D: Add prom support Antony Pavlov
2012-10-23 17:43 ` [RFC 10/13] MIPS: JZ4750D: Add platform UART devices Antony Pavlov
2012-10-23 17:43 ` [RFC 11/13] MIPS: JZ4750D: Add Kbuild files Antony Pavlov
2012-10-24 16:16   ` Maarten ter Huurne
2012-10-24 16:56     ` Ralf Baechle
2012-10-24 17:18     ` Antony Pavlov
2012-10-24 17:43     ` Florian Fainelli
2012-10-24 18:15       ` Maarten ter Huurne
2012-10-23 17:44 ` [RFC 12/13] MIPS: JZ4750D: Add rzx50 board support Antony Pavlov
2012-10-23 17:44 ` [RFC 13/13] MIPS: rzx50: Add defconfig file Antony Pavlov
2012-10-23 18:15 ` Lars-Peter Clausen [this message]
2012-10-23 19:57   ` [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC Steven J. Hill
2012-10-24  8:25     ` Lars-Peter Clausen
  -- strict thread matches above, loose matches on Subject: below --
2012-10-23 17:53 Antony Pavlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5086DEBB.1030506@metafoo.de \
    --to=lars@metafoo.de \
    --cc=antonynpavlov@gmail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=maarten@treewalker.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.