public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] LoongArch: Add built-in dtb support
@ 2023-06-16  6:10 Binbin Zhou
  2023-06-16  6:10 ` [PATCH 1/6] dt-bindings: loongarch: Add CPU bindings for LoongArch Binbin Zhou
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Binbin Zhou @ 2023-06-16  6:10 UTC (permalink / raw)
  To: Binbin Zhou, Huacai Chen, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree
  Cc: Huacai Chen, loongson-kernel, Xuerui Wang, loongarch, Jiaxun Yang,
	Hongliang Wang, Binbin Zhou

Hi all:

This patchset introduces LoongArch's built-in dtb support.

As we know, the Loongson-2K family supports DT. Inevitably, some systems
do not provide a useful device tree to the kernel at boot time. Chasing
around bootloaders for these systems is a headache, so we just keep a
device tree table in the kernel, keyed by the dts filename, that
contains the relevant DTBs.

Thanks.

Binbin Zhou (6):
  dt-bindings: loongarch: Add CPU bindings for LoongArch
  dt-bindings: loongarch: Add Loongson SoC boards compatibles
  LoongArch: Allow device trees to be built into the kernel
  LoongArch: DeviceTree for Loongson-2K0500
  LoongArch: DeviceTree for Loongson-2K1000
  LoongArch: DeviceTree for Loongson-2K2000

 .../devicetree/bindings/loongarch/boards.yaml |  31 +
 .../devicetree/bindings/loongarch/cpus.yaml   |  65 ++
 arch/loongarch/Kconfig                        |  16 +
 arch/loongarch/Makefile                       |  10 +-
 arch/loongarch/boot/dts/Makefile              |   7 +-
 arch/loongarch/boot/dts/loongson_2k0500.dts   | 311 ++++++++++
 arch/loongarch/boot/dts/loongson_2k1000.dts   | 565 ++++++++++++++++++
 arch/loongarch/boot/dts/loongson_2k2000.dts   | 417 +++++++++++++
 arch/loongarch/kernel/setup.c                 |   9 +-
 9 files changed, 1425 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/loongarch/boards.yaml
 create mode 100644 Documentation/devicetree/bindings/loongarch/cpus.yaml
 create mode 100644 arch/loongarch/boot/dts/loongson_2k0500.dts
 create mode 100644 arch/loongarch/boot/dts/loongson_2k1000.dts
 create mode 100644 arch/loongarch/boot/dts/loongson_2k2000.dts

-- 
2.39.3


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

end of thread, other threads:[~2023-06-17  9:44 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16  6:10 [PATCH 0/6] LoongArch: Add built-in dtb support Binbin Zhou
2023-06-16  6:10 ` [PATCH 1/6] dt-bindings: loongarch: Add CPU bindings for LoongArch Binbin Zhou
2023-06-16  9:34   ` Conor Dooley
2023-06-16  9:47     ` Krzysztof Kozlowski
2023-06-17  6:29     ` Binbin Zhou
2023-06-17  9:44       ` Conor Dooley
2023-06-16  9:51   ` Krzysztof Kozlowski
2023-06-17  6:31     ` Binbin Zhou
2023-06-17  7:15       ` Krzysztof Kozlowski
2023-06-16  6:10 ` [PATCH 2/6] dt-bindings: loongarch: Add Loongson SoC boards compatibles Binbin Zhou
2023-06-16  9:36   ` Conor Dooley
2023-06-16  6:10 ` [PATCH 3/6] LoongArch: Allow device trees to be built into the kernel Binbin Zhou
2023-06-16  6:10 ` [PATCH 4/6] LoongArch: DeviceTree for Loongson-2K0500 Binbin Zhou
2023-06-16  9:58   ` Krzysztof Kozlowski
2023-06-16 10:04   ` Krzysztof Kozlowski
2023-06-16  6:11 ` [PATCH 5/6] LoongArch: DeviceTree for Loongson-2K1000 Binbin Zhou
2023-06-16  9:48   ` Conor Dooley
2023-06-17  6:53     ` Binbin Zhou
2023-06-17  7:23       ` Krzysztof Kozlowski
2023-06-16  9:59   ` Krzysztof Kozlowski
2023-06-17  6:59     ` Binbin Zhou
2023-06-17  7:12       ` Krzysztof Kozlowski
2023-06-16  6:11 ` [PATCH 6/6] LoongArch: DeviceTree for Loongson-2K2000 Binbin Zhou

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