Thomas, Jason, Marc Could you take a look at this patch and merge it in if you are ok with its content. We've got Rob's Reviewed-by tag here, so it's only waiting for your acceptance.
-Sergey On Thu, May 14, 2020 at 02:06:32PM -0500, Rob Herring wrote: > On Thu, 7 May 2020 00:41:03 +0300, Serge Semin wrote: > > 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 <[email protected]> > > Cc: Alexey Malahov <[email protected]> > > Cc: Thomas Bogendoerfer <[email protected]> > > Cc: Paul Burton <[email protected]> > > Cc: Ralf Baechle <[email protected]> > > Cc: Alessandro Zummo <[email protected]> > > Cc: Alexandre Belloni <[email protected]> > > Cc: Daniel Lezcano <[email protected]> > > Cc: Arnd Bergmann <[email protected]> > > Cc: [email protected] > > Cc: [email protected] > > > > --- > > > > I don't really know who is the corresponding driver maintainer, so I > > added Paul to the maintainers property since he used to be looking for the > > MIPS arch and Thomas looking after it now. Any idea what email should be > > specified there instead? > > > > Changelog v3: > > - Since timer sub-node has no unit-address, the node shouldn't be named > > with one. So alter the MIPS GIC bindings to have a pure "timer" > > sub-node. > > - Discard allOf: [ $ref: /schemas/interrupt-controller.yaml# ]. > > - Since it's a conversion patch use GPL-2.0-only SPDX header. > > --- > > .../interrupt-controller/mips-gic.txt | 67 -------- > > .../interrupt-controller/mti,gic.yaml | 148 ++++++++++++++++++ > > 2 files changed, 148 insertions(+), 67 deletions(-) > > delete mode 100644 > > Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt > > create mode 100644 > > Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml > > > > Reviewed-by: Rob Herring <[email protected]>

