The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/9] MIPS: Ingenic: Add XBurst / XBurst II infrastructure and improve overall Ingenic SoC support
@ 2026-11-12  8:10 H. Nikolaus Schaller
  2026-11-12  8:10 ` [PATCH v2 1/9] MIPS: Kconfig: Allow user selection of BUILTIN_DTB with description H. Nikolaus Schaller
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: H. Nikolaus Schaller @ 2026-11-12  8:10 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paul Cercueil, Paul Burton,
	Maciej W. Rozycki, H. Nikolaus Schaller, Pengpeng Hou,
	Christophe Leroy, David Heidelberg, Greg Kroah-Hartman,
	Takashi Iwai, Janusz Krzysztofik, 周琰杰,
	Paul Boddie, Olivier Louvignes
  Cc: linux-mips, linux-kernel, letux-kernel

PATCH V2 2026-11-12 09:10:31:
The series updates the Ingenic platform support to allow clean transitions
between bootloader-provided Device Trees and built-in fallbacks. It provides
the foundational Kconfig, PRID, and CPU-probe blocks required for newer 
Ingenic/Lumissil hardware generations (X1600, X2000, X2600) and adds JZ4730
for completeness.

Changes to V1
- allow user selection of BUILTIN_DTB (suggested by Paul Cercueil <paul@crapouillou.net>)
- added the CPU_XBURTS2 type here to solve an issue reported by kernel test robot
- removed PRID_IMP_XBURST2_R2 and merged into single commit
- reviewed all PRID_IMP with data sheets and programming manuals
- added full x2600 and jz4730 definition for completeness
- added platform makefile and load address for X1600, X2000, X2600

PATCH V1 2026-10-25 20:20:55:
The series updates the Ingenic platform support to allow clean transitions
between bootloader-provided Device Trees and built-in fallbacks. It provides
the foundational Kconfig, PRID, and CPU-probe blocks required for newer 
Ingenic/Lumissil hardware generations (X1600, X2000, X2600).

The first patch corrects an inverted Kconfig condition regarding appended 
and built-in DTBs. This fix is necessary to allow configurations where 
the kernel relies entirely on a Device Tree provided dynamically by the 
bootloader instead of forcing a built-in fallback.

The remaining patches implement CPU-probe initialization, correct PRID 
mappings (including vendor-kernel values for the Ingenic A1 SoC), 
platform load addresses, Kconfig updates, and generic board match updates.

Structure of the series:
1. MIPS: Ingenic: Fix inverted MIPS_NO_APPENDED_DTB logic in Kconfig
2. MIPS: Ingenic: Add and update PRIDs for XBurst II R0 and R2
3. MIPS: Ingenic: Expand Kconfig for X1600, X2000, and X2600 SoCs
4. MIPS: Ingenic: Add cpu-probe setup for XBurst and XBurst II R2
5. MIPS: generic: Add MACH_INGENIC type and compatible for X1600
6. MIPS: Ingenic: Add Platform makefile for X1600 and X2000

Testing:
The series has been compile-tested for generic Ingenic targets. PRID 
values for jz4780, x1600, X2000, X2600 were verified on real hardware 
(CI20, LX16, LX20 and LX26 boards respectively).

Please review and consider for inclusion.


H. Nikolaus Schaller (8):
  MIPS: Kconfig: Allow user selection of BUILTIN_DTB with description
  MIPS: Ingenic: Configure CONFIG_BUILTIN_DTB=y for Ingenic based
    devices
  MIPS: Ingenic: Do not force BUILTIN_DTB in Kconfig
  MIPS: Ingenic: Update Ingenic XBurst implementation IDs
  MIPS: generic: Add MACH_INGENIC type and compatible for X1600 and
    X2600
  MIPS: Ingenic: Expand Kconfig for X1600, X2000, and X2600 SoCs
  MIPS: Ingenic: Expand Kconfig by MACH_JZ4730
  MIPS: Ingenic: Add Platform makefile and load addresses for X1600,
    X2000, X2600

周琰杰 (Zhou Yanjie) (1):
  MIPS: Ingenic: Add a new CPU_XBURST2 type

 arch/mips/Kconfig                      | 25 +++++++++++++--
 arch/mips/configs/ci20_defconfig       |  1 +
 arch/mips/configs/cu1000-neo_defconfig |  1 +
 arch/mips/configs/cu1830-neo_defconfig |  1 +
 arch/mips/configs/gcw0_defconfig       |  1 +
 arch/mips/configs/qi_lb60_defconfig    |  1 +
 arch/mips/configs/rs90_defconfig       |  1 +
 arch/mips/generic/board-ingenic.c      |  8 ++++-
 arch/mips/include/asm/bootinfo.h       |  2 ++
 arch/mips/include/asm/cpu-type.h       |  1 +
 arch/mips/include/asm/cpu.h            | 13 ++++----
 arch/mips/ingenic/Kconfig              | 43 ++++++++++++++++++++++++++
 arch/mips/ingenic/Platform             |  3 ++
 arch/mips/kernel/cpu-probe.c           |  7 +++++
 14 files changed, 99 insertions(+), 9 deletions(-)
 create mode 100644 arch/mips/ingenic/Platform

-- 
2.56.0


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2026-11-12 15:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12  8:10 [PATCH v2 0/9] MIPS: Ingenic: Add XBurst / XBurst II infrastructure and improve overall Ingenic SoC support H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 1/9] MIPS: Kconfig: Allow user selection of BUILTIN_DTB with description H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 2/9] MIPS: Ingenic: Configure CONFIG_BUILTIN_DTB=y for Ingenic based devices H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 3/9] MIPS: Ingenic: Do not force BUILTIN_DTB in Kconfig H. Nikolaus Schaller
2026-11-12 13:57   ` Paul Cercueil
2026-11-12 15:30     ` H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 4/9] MIPS: Ingenic: Add a new CPU_XBURST2 type H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 5/9] MIPS: Ingenic: Update Ingenic XBurst implementation IDs H. Nikolaus Schaller
2026-11-12 14:03   ` Paul Cercueil
2026-11-12 15:37     ` H. Nikolaus Schaller
2026-11-12 15:49       ` Paul Cercueil
2026-11-12  8:10 ` [PATCH v2 6/9] MIPS: generic: Add MACH_INGENIC type and compatible for X1600 and X2600 H. Nikolaus Schaller
2026-11-12 14:09   ` Paul Cercueil
2026-11-12 15:41     ` H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 7/9] MIPS: Ingenic: Expand Kconfig for X1600, X2000, and X2600 SoCs H. Nikolaus Schaller
2026-11-12 14:16   ` Paul Cercueil
2026-11-12 15:48     ` H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 8/9] MIPS: Ingenic: Expand Kconfig by MACH_JZ4730 H. Nikolaus Schaller
2026-11-12  8:10 ` [PATCH v2 9/9] MIPS: Ingenic: Add Platform makefile and load addresses for X1600, X2000, X2600 H. Nikolaus Schaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox