From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2B47C10F1A for ; Tue, 7 May 2024 15:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HDrHy9u9k7hxVzFn7W+ZNT6Wn/RsrVUx7tmmqGKdK9M=; b=i6UfRuTswJkpmS q++q5oYAsAicrZ0jR1OTZK/SbREkI31SbMVjTFnTPy0xgQtJUQKSyaeNup49GcbkgsHMHX2BalHB4 QRkQUEnnIPa5sGC1wxleNE7/mu+Iaa0HcaeulwOiQpnycIze/BIHLLTdvVppF8gqmN+5DgRBTqjyI 901m7lrjA7XgKz7BrRxokSkuCqMuQVK1Y7ohvKPWN1cSMjMmduve5aZ9Yc0wABPvD4/f6Rpj7s28C b5MLNwVWDI9QjHkD6zCfgnKRt3h+7vKGddnfl0ga5bYeu6PmFDxJ+hUsd0PtrGDBPSxNLbMWhnMDD MMcSpuScp6rHdZ91ke8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Mjl-0000000Bk3x-1cGf; Tue, 07 May 2024 15:28:13 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Mjh-0000000Bk34-41fb for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 15:28:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 14A80617D7; Tue, 7 May 2024 15:28:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FB01C2BBFC; Tue, 7 May 2024 15:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715095688; bh=bUcqpluJn/Rz13IlYVuaIwusJC716KhD/mfqB0Uebho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ueI4Ffa2UP/l8ER+d2ogio+WDRRKPi8HfM/T1vAO/4bCgScbT+r9DNYauzo5C1MYL pdK6e/VzyCPDazoPTSfT1LpEialTvuMiK3CrcnqCq57AgkcPodnFTWkpJMAvVOSW/F 7kqPyPZa1lv0tC3TDxcTtrs1Pt4kMUPZfRu6SM7gr6cvSShrAyaGeZEFY4V8ezGARB e+Vcd1/IgP/OcvC1dAq048A4mpqAWJL9mzXU0sGPJ9ozqZTaTHZMlkTxwFMskI+OXH 259bXKgnoOYyd3YRgBSfU0A5OhiBSnKntiSjClNfnQKCjkFfClrI3CfU+Bus1iCHQs ceTCaQQUGq9wQ== Date: Tue, 7 May 2024 10:28:06 -0500 From: Rob Herring To: Herve Codina Cc: Thomas Gleixner , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lee Jones , Arnd Bergmann , Horatiu Vultur , UNGLinuxDriver@microchip.com, Andrew Lunn , Heiner Kallweit , Russell King , Saravana Kannan , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH 09/17] dt-bindings: interrupt-controller: Add support for Microchip LAN966x OIC Message-ID: <20240507152806.GA505222-robh@kernel.org> References: <20240430083730.134918-1-herve.codina@bootlin.com> <20240430083730.134918-10-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240430083730.134918-10-herve.codina@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_082810_121295_7792C25A X-CRM114-Status: GOOD ( 20.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 30, 2024 at 10:37:18AM +0200, Herve Codina wrote: > The Microchip LAN966x outband interrupt controller (OIC) maps the > internal interrupt sources of the LAN966x device to an external > interrupt. > When the LAN966x device is used as a PCI device, the external interrupt > is routed to the PCI interrupt. > > Signed-off-by: Herve Codina > --- > .../microchip,lan966x-oic.yaml | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml > new file mode 100644 > index 000000000000..b2adc7174177 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml > @@ -0,0 +1,55 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/microchip,lan966x-oic.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip LAN966x outband interrupt controller > + > +maintainers: > + - Herve Codina > + > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > +description: | > + The Microchip LAN966x outband interrupt controller (OIC) maps the internal > + interrupt sources of the LAN966x device to an external interrupt. > + When the LAN966x device is used as a PCI device, the external interrupt is > + routed to the PCI interrupt. > + > +properties: > + compatible: > + const: microchip,lan966x-oic > + > + '#interrupt-cells': > + const: 2 > + > + interrupt-controller: true > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - '#interrupt-cells' > + - interrupt-controller > + - interrupts > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + interrupt-controller@e00c0120 { > + compatible = "microchip,lan966x-oic"; > + reg = <0xe00c0120 0x190>; Looks like this is part of some larger block? > + #interrupt-cells = <2>; > + interrupt-controller; > + interrupts = <0>; > + interrupt-parent = <&intc>; > + }; > +... > -- > 2.44.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel