Skip to content

RFC MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC

Antony Pavlov linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13MIPS: JZ4750D: Add base support for Ingenic JZ4750D System-on-a-Chiparch/mips/include/asm/bootinfo.h arch/mips/include/asm/mach-jz4750d/base.h arch/mips/include/asm/mach-jz4750d/war.h+38 -00 replies
2/13MIPS: JZ4750D: Add clock API supportarch/mips/jz4750d/clock-debugfs.c arch/mips/jz4750d/clock.c arch/mips/jz4750d/clock.h+681 -00 replies
3/13MIPS: JZ4750D: Add IRQ handler codearch/mips/include/asm/mach-jz4750d/irq.h arch/mips/jz4750d/irq.c+187 -00 replies
4/13MIPS: JZ4750D: Add timer supportarch/mips/include/asm/mach-jz4750d/timer.h arch/mips/jz4750d/timer.c arch/mips/jz4750d/timer.h+252 -00 replies
5/13MIPS: JZ4750D: Add clocksource/clockevent supportarch/mips/jz4750d/time.c+145 -00 replies
6/13MIPS: JZ4750D: Add system reset supportarch/mips/jz4750d/reset.c arch/mips/jz4750d/reset.h+85 -00 replies
7/13MIPS: JZ4750D: Add setup codearch/mips/jz4750d/setup.c+35 -00 replies
8/13MIPS: JZ4750D: Add serial supportarch/mips/jz4750d/serial.c arch/mips/jz4750d/serial.h+54 -00 replies
9/13MIPS: JZ4750D: Add prom supportarch/mips/jz4750d/prom.c+67 -00 replies
10/13MIPS: JZ4750D: Add platform UART devicesarch/mips/include/asm/mach-jz4750d/platform.h arch/mips/jz4750d/platform.c+106 -00 replies
11/13MIPS: JZ4750D: Add Kbuild filesarch/mips/Kbuild.platforms arch/mips/Kconfig arch/mips/jz4750d/Kconfig +2 more+30 -05 replies
12/13MIPS: JZ4750D: Add rzx50 board supportarch/mips/jz4750d/Kconfig arch/mips/jz4750d/Makefile arch/mips/jz4750d/board-rzx50.c+48 -00 replies
13/13MIPS: rzx50: Add defconfig filearch/mips/configs/ritmix-rzx50_defonfig+63 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC

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.

I propose to rename 'jz4740' mach directory to 'xburst' or 'ingenic'.

The patch series introduces the minimal support for the JZ4755, no peripherals are enabled save UART1. To test the kernel I run it with incorporated initrd rootfs made with help of https://github.com/gcwnow/buildroot.git

[RFC 01/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D [RFC 02/13] MIPS: JZ4750D: Add clock API support
[RFC 03/13] MIPS: JZ4750D: Add IRQ handler code
[RFC 04/13] MIPS: JZ4750D: Add timer support
[RFC 05/13] MIPS: JZ4750D: Add clocksource/clockevent support [RFC 06/13] MIPS: JZ4750D: Add system reset support [RFC 07/13] MIPS: JZ4750D: Add setup code
[RFC 08/13] MIPS: JZ4750D: Add serial support
[RFC 09/13] MIPS: JZ4750D: Add prom support
[RFC 10/13] MIPS: JZ4750D: Add platform UART devices [RFC 11/13] MIPS: JZ4750D: Add Kbuild files
[RFC 12/13] MIPS: JZ4750D: Add rzx50 board support [RFC 13/13] MIPS: rzx50: Add defconfig file