LoongArch architecture development
 help / color / mirror / Atom feed
From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Yao Zi <me@ziyao.cc>, Binbin Zhou <zhoubb.aaron@gmail.com>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Huacai Chen <chenhuacai@kernel.org>,
	Xuerui Wang <kernel@xen0n.name>,
	loongarch@lists.linux.dev, devicetree@vger.kernel.org,
	Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v3 0/9] LoongArch: DTS: Fix dtbs_check warnings
Date: Sun,  4 Jan 2026 14:41:10 +0800	[thread overview]
Message-ID: <cover.1767505859.git.zhoubinbin@loongson.cn> (raw)

Hi all:

As Krzysztof pointed out in the OSS talk, LoongArch only has three DTS,
but has a bunch of warnings. The patchset attempts to fix them.

Patch-1 and patch-5 are taken from Yao[1],thanks a lot!

[1]: https://lore.kernel.org/all/20251209140006.54821-1-me@ziyao.cc/

Test environment and results: 

Package                   Version
------------------------- -----------
attrs                     25.4.0
dtschema                  2025.12
jsonschema                4.25.1
jsonschema-specifications 2025.9.1
pip                       25.3
pylibfdt                  1.7.2.post1
referencing               0.37.0
rfc3987                   1.3.8
rpds-py                   0.30.0
ruamel.yaml               0.18.16
ruamel.yaml.clib          0.2.15
typing_extensions         4.15.0

---------
make dtbs_check W=1

  SYNC    include/config/auto.conf
  UPD     include/config/kernel.release
  DTC [C] arch/loongarch/boot/dts/loongson-2k0500-ref.dtb
  DTC [C] arch/loongarch/boot/dts/loongson-2k1000-ref.dtb
  DTC [C] arch/loongarch/boot/dts/loongson-2k2000-ref.dtb

========
V3:
patch (2/9)(3/9):
 - New patches, document `#address-cells` property;

patch (4/9):
 - Rewrite commit title and message;
 - Remove unneeded changes, leaving only the `#address-cells`
   value set.

patch (6/9):
 - Set `#address-cells = <0>` to liointc node;

patch (8/9):
 - Set `#address-cells = <0>` to liointc and eiointc node;

Link to V2:
https://lore.kernel.org/all/cover.1766037997.git.zhoubinbin@loongson.cn/


V2:
patch(1/7)(3/7):
 - Add myself s-o-b;

patch(2/7):
 - Define the value of #address-cells to 0;

patch(5/7):
 - Set `#address-cells = <0>` to liointc0 node;

patch(7/7):
 - Fix commit msg about `i2c@address`;
 - Add Reviewed-by tag form Krzysztof, thanks.

Link to V1:
https://lore.kernel.org/all/cover.1765778124.git.zhoubinbin@loongson.cn/

Binbin Zhou (7):
  dt-bindings: interrupt-controller: loongson,eiointc: Document
    address-cells
  dt-bindings: interrupt-controller: loongson,liointc: Document
    address-cells
  dt-bindings: interrupt-controller: loongson,pch-pic: Document
    address-cells
  LoongArch: dts: loongson-2k0500: Add default interrupt controller
    address cells
  LoongArch: dts: loongson-2k1000: Add default Local I/O interrupt
    controller address cells
  LoongArch: dts: loongson-2k2000: Add default interrupt controller
    address cells
  LoongArch: dts: loongson-2k1000: Fix i2c-gpio node names

Yao Zi (2):
  dt-bindings: PCI: loongson: Document msi-parent property
  LoongArch: dts: Describe PCI sideband IRQ through interrupt-extended

 .../loongson,eiointc.yaml                     |  3 ++
 .../loongson,liointc.yaml                     |  3 ++
 .../loongson,pch-pic.yaml                     |  3 ++
 .../devicetree/bindings/pci/loongson.yaml     |  2 ++
 arch/loongarch/boot/dts/loongson-2k0500.dtsi  |  3 ++
 arch/loongarch/boot/dts/loongson-2k1000.dtsi  | 31 +++++++---------
 arch/loongarch/boot/dts/loongson-2k2000.dtsi  | 35 ++++++++-----------
 7 files changed, 42 insertions(+), 38 deletions(-)


base-commit: e8a259e82c7c3ee53e933bb238366ec2ba0bc892
-- 
2.47.3


             reply	other threads:[~2026-01-04  6:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-04  6:41 Binbin Zhou [this message]
2026-01-04  6:41 ` [PATCH v3 1/9] dt-bindings: PCI: loongson: Document msi-parent property Binbin Zhou
2026-01-06  2:37   ` Huacai Chen
2026-01-04  6:41 ` [PATCH v3 2/9] dt-bindings: interrupt-controller: loongson,eiointc: Document address-cells Binbin Zhou
2026-01-05 21:59   ` Rob Herring (Arm)
2026-01-04  6:41 ` [PATCH v3 3/9] dt-bindings: interrupt-controller: loongson,liointc: " Binbin Zhou
2026-01-05 21:58   ` Rob Herring (Arm)
2026-01-04  6:41 ` [PATCH v3 4/9] dt-bindings: interrupt-controller: loongson,pch-pic: " Binbin Zhou
2026-01-05 21:59   ` Rob Herring (Arm)
2026-01-04  6:41 ` [PATCH v3 5/9] LoongArch: dts: Describe PCI sideband IRQ through interrupt-extended Binbin Zhou
2026-01-04  6:41 ` [PATCH v3 6/9] LoongArch: dts: loongson-2k0500: Add default interrupt controller address cells Binbin Zhou
2026-01-04  6:41 ` [PATCH v3 7/9] LoongArch: dts: loongson-2k1000: Add default Local I/O " Binbin Zhou
2026-01-04  6:42 ` [PATCH v3 8/9] LoongArch: dts: loongson-2k2000: Add default " Binbin Zhou
2026-01-04  6:42 ` [PATCH v3 9/9] LoongArch: dts: loongson-2k1000: Fix i2c-gpio node names Binbin Zhou
2026-01-15 10:55 ` [PATCH v3 0/9] LoongArch: DTS: Fix dtbs_check warnings Huacai Chen

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=cover.1767505859.git.zhoubinbin@loongson.cn \
    --to=zhoubinbin@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@xen0n.name \
    --cc=krzk+dt@kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=me@ziyao.cc \
    --cc=robh@kernel.org \
    --cc=zhoubb.aaron@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox