[PATCH 0/3] Some DT binding quirks for T-Head C9xx
From: Icenowy Zheng
Date: Sun Nov 20 2022 - 23:19:01 EST
These patchset is just full of DT binding patches related to T-Head
C906/C910. These cores now have an open-source fixed-configuration
edition, which enables everyone to explore with them.
The first patch adds an compatible string set for T-Head CLINT, which is
incompatible with SiFive ones by not having a mtime register. The Linux
CLINT driver, which is only used in M mode now, does not support it at
all -- having a DT binding is for OpenSBI.
The second and third patches are for OpenC906, the open source edition
of C906. They try to add some DT binding strings for it.
By the way, as we discussed in the BoufalloLab series, C906/C910 do not
have so many customizable options for PLIC/CLINT, so maybe we should
not add additional per-SoC-system compatible strings and allow only
"thead,c900-*".
Icenowy Zheng (3):
dt-bindings: timer: sifive,clint: add comaptibles for T-Head's C9xx
dt-bindings: timer: sifive,clint: add compatible for OpenC906
dt-bindings: interrupt-controller: sifive,plic: add OpenC906
compatible
.../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
.../devicetree/bindings/timer/sifive,clint.yaml | 9 +++++++++
2 files changed, 10 insertions(+)
--
2.37.1