]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: interrupt-controller: Convert mti,gic to DT schema
authorBaikal Electronics <support@baikalelectronics.ru>
Tue, 14 Jul 2020 12:57:48 +0000 (15:57 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 21 Jul 2020 08:24:30 +0000 (10:24 +0200)
commit718cc04d801599c90518882cb019ff4cc62bdce1
tree0823ebabd99c610070d81daaa85c337f6ed0d925
parent9ae93809917f3d76691bb688cdc597fc4d224dcd
dt-bindings: interrupt-controller: Convert mti,gic to DT schema

Modern device tree bindings are supposed to be created as YAML-files
in accordance with DT schema. This commit replaces MIPS GIC legacy bare
text binding with YAML file. As before the binding file states that the
corresponding dts node is supposed to be compatible with MIPS Global
Interrupt Controller indicated by the "mti,gic" compatible string and
to provide a mandatory interrupt-controller and '#interrupt-cells'
properties. There might be optional registers memory range,
"mti,reserved-cpu-vectors" and "mti,reserved-ipi-vectors" properties
specified.

MIPS GIC also includes a free-running global timer, per-CPU count/compare
timers, and a watchdog. Since currently the GIC Timer is only supported the
DT schema expects an IRQ and clock-phandler charged timer sub-node with
"mti,mips-gic-timer" compatible string.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt [deleted file]
Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml [new file with mode: 0644]