devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] MIPS: loongson32: Convert all platform devices to DT
@ 2025-07-09 11:05 Keguang Zhang via B4 Relay
  2025-07-09 11:05 ` [PATCH v2 1/9] dt-bindings: mips: loongson: Add LS1B demo board Keguang Zhang via B4 Relay
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Keguang Zhang via B4 Relay @ 2025-07-09 11:05 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jiaxun Yang, Keguang Zhang
  Cc: linux-mips, devicetree, linux-kernel, Philippe Mathieu-Daudé

Convert all platform devices to Device Tree.  
Remove all obsolete platform device code.  
Switch to the generic MIPS kernel.  
Update Kconfig and Makefile accordingly.  
Update and rename the defconfig.

Changes in v2:
- Document two new boards: loongson,ls1b-demo and loongson,cq-t300b.
- Submit complete DTS files for each board.
- Switch to the generic MIPS kernel.
- Consolidate Loongson1 defconfigs.
- Link to v1: https://lore.kernel.org/all/20230729134318.1694467-1-keguang.zhang@gmail.com/

---
Keguang Zhang (9):
      dt-bindings: mips: loongson: Add LS1B demo board
      dt-bindings: mips: loongson: Add CQ-T300B board
      MIPS: dts: loongson: Add LS1B-DEMO board
      MIPS: dts: loongson: Add LSGZ_1B_DEV board
      MIPS: dts: loongson: Add Smartloong-1C board
      MIPS: dts: loongson: Add CQ-T300B board
      MIPS: loongson32: Switch to generic kernel
      MIPS: Unify Loongson1 PRID_REV
      MIPS: configs: Consolidate Loongson1 defconfigs

 .../devicetree/bindings/mips/loongson/devices.yaml |   2 +
 MAINTAINERS                                        |   3 +-
 arch/mips/Kconfig                                  |  64 ++---
 arch/mips/boot/dts/Makefile                        |   1 +
 arch/mips/boot/dts/loongson/Makefile               |   9 +
 arch/mips/boot/dts/loongson/cq-t300b.dts           |  93 +++++++
 arch/mips/boot/dts/loongson/loongson1.dtsi         | 136 ++++++++++
 arch/mips/boot/dts/loongson/loongson1b.dtsi        | 198 ++++++++++++++
 arch/mips/boot/dts/loongson/loongson1c.dtsi        | 141 ++++++++++
 arch/mips/boot/dts/loongson/ls1b-demo.dts          | 108 ++++++++
 arch/mips/boot/dts/loongson/lsgz_1b_dev.dts        | 145 +++++++++++
 arch/mips/boot/dts/loongson/smartloong-1c.dts      |  93 +++++++
 .../{loongson1b_defconfig => loongson1_defconfig}  |  94 +++++--
 arch/mips/configs/loongson1c_defconfig             | 121 ---------
 arch/mips/include/asm/cpu-type.h                   |   3 +-
 arch/mips/include/asm/cpu.h                        |   3 +-
 arch/mips/include/asm/mach-loongson32/irq.h        | 107 --------
 arch/mips/include/asm/mach-loongson32/loongson1.h  |  50 ----
 arch/mips/include/asm/mach-loongson32/platform.h   |  23 --
 arch/mips/include/asm/mach-loongson32/regs-mux.h   | 124 ---------
 arch/mips/kernel/cpu-probe.c                       |   6 +-
 arch/mips/loongson32/Kconfig                       |  43 +---
 arch/mips/loongson32/Makefile                      |  17 --
 arch/mips/loongson32/Platform                      |   1 -
 arch/mips/loongson32/common/Makefile               |   6 -
 arch/mips/loongson32/common/irq.c                  | 191 --------------
 arch/mips/loongson32/common/platform.c             | 285 ---------------------
 arch/mips/loongson32/common/prom.c                 |  42 ---
 arch/mips/loongson32/common/setup.c                |  26 --
 arch/mips/loongson32/common/time.c                 |  23 --
 arch/mips/loongson32/ls1b/Makefile                 |   6 -
 arch/mips/loongson32/ls1b/board.c                  |  55 ----
 arch/mips/loongson32/ls1c/Makefile                 |   6 -
 arch/mips/loongson32/ls1c/board.c                  |  23 --
 34 files changed, 1049 insertions(+), 1199 deletions(-)
---
base-commit: b5a1f9870f9828bd6625d6c946c66be4983d56f6
change-id: 20250414-loongson1-arch-5ea8ced4c9a9

Best regards,
-- 
Keguang Zhang <keguang.zhang@gmail.com>



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

end of thread, other threads:[~2025-07-16  9:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09 11:05 [PATCH v2 0/9] MIPS: loongson32: Convert all platform devices to DT Keguang Zhang via B4 Relay
2025-07-09 11:05 ` [PATCH v2 1/9] dt-bindings: mips: loongson: Add LS1B demo board Keguang Zhang via B4 Relay
2025-07-10 12:21   ` Krzysztof Kozlowski
2025-07-09 11:05 ` [PATCH v2 2/9] dt-bindings: mips: loongson: Add CQ-T300B board Keguang Zhang via B4 Relay
2025-07-10 12:22   ` Krzysztof Kozlowski
2025-07-11  2:38     ` Keguang Zhang
2025-07-09 11:05 ` [PATCH v2 3/9] MIPS: dts: loongson: Add LS1B-DEMO board Keguang Zhang via B4 Relay
2025-07-10 12:27   ` Krzysztof Kozlowski
2025-07-16  9:41     ` Keguang Zhang
2025-07-09 11:05 ` [PATCH v2 4/9] MIPS: dts: loongson: Add LSGZ_1B_DEV board Keguang Zhang via B4 Relay
2025-07-10 12:28   ` Krzysztof Kozlowski
2025-07-16  9:45     ` Keguang Zhang
2025-07-09 11:05 ` [PATCH v2 5/9] MIPS: dts: loongson: Add Smartloong-1C board Keguang Zhang via B4 Relay
2025-07-09 11:05 ` [PATCH v2 6/9] MIPS: dts: loongson: Add CQ-T300B board Keguang Zhang via B4 Relay
2025-07-09 11:05 ` [PATCH v2 7/9] MIPS: loongson32: Switch to generic kernel Keguang Zhang via B4 Relay
2025-07-09 11:05 ` [PATCH v2 8/9] MIPS: Unify Loongson1 PRID_REV Keguang Zhang via B4 Relay
2025-07-09 11:06 ` [PATCH v2 9/9] MIPS: configs: Consolidate Loongson1 defconfigs Keguang Zhang via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).