[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqL2NXtfo4kS4WQ4PaDuY8uF47vTVUQa730=yLVDUT0UeA@mail.gmail.com>
Date: Tue, 6 May 2025 14:11:13 -0500
From: Rob Herring <robh@...nel.org>
To: Stafford Horne <shorne@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: interrupt-controller: Convert openrisc,ompic
to DT schema
On Tue, May 6, 2025 at 11:17 AM Stafford Horne <shorne@...il.com> wrote:
>
> Hi Rob,
>
> On Mon, May 05, 2025 at 09:48:12AM -0500, Rob Herring (Arm) wrote:
> > Convert the OpenRISC OMPIC interrupt controller binding to schema
> > format. It's a straight-forward conversion of the typical interrupt
> > controller.
> >
> > Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> > ---
> > .../interrupt-controller/openrisc,ompic.txt | 22 ---------
> > .../interrupt-controller/openrisc,ompic.yaml | 45 +++++++++++++++++++
> > 2 files changed, 45 insertions(+), 22 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt
> > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt b/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt
> > deleted file mode 100644
> > index caec07cc7149..000000000000
> > --- a/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt
> > +++ /dev/null
> > @@ -1,22 +0,0 @@
> > -Open Multi-Processor Interrupt Controller
> > -
> > -Required properties:
> > -
> > -- compatible : This should be "openrisc,ompic"
> > -- reg : Specifies base physical address and size of the register space. The
> > - size is based on the number of cores the controller has been configured
> > - to handle, this should be set to 8 bytes per cpu core.
> > -- interrupt-controller : Identifies the node as an interrupt controller.
> > -- #interrupt-cells : This should be set to 0 as this will not be an irq
> > - parent.
> > -- interrupts : Specifies the interrupt line to which the ompic is wired.
>
> I guess this extra documentation is obsorbed by the fact that these are all
> standard fields?
Right, we only put details unique to this binding if any.
Rob
Powered by blists - more mailing lists