Received: by 2002:ab2:7104:0:b0:1f7:f6c3:9cb1 with SMTP id z4csp10257lql; Tue, 7 May 2024 08:28:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1xDLGaPfavhhWuQVNz0OisJKvDwm7c++9JIqZaoGQFrI4MOQddeqr6V7pR2Q17LXHoTmsuvNMs+8QV96VTGdxooA0QzKL+1cDITwnzw== X-Google-Smtp-Source: AGHT+IH/lgSyLN/921sl6cP6Zi93wnM3Cyr1GThw2F/OEQ+hcFbsl9tDg761ncGT5hTI2mo/mjdt X-Received: by 2002:a17:907:3da0:b0:a59:d2ac:3861 with SMTP id he32-20020a1709073da000b00a59d2ac3861mr3807564ejc.17.1715095711518; Tue, 07 May 2024 08:28:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715095711; cv=pass; d=google.com; s=arc-20160816; b=po1aKI2QOJxGP890zPizYXBNo7S6CeXlGCjUZqdufzREoX40bBtx21nu8u8yOAyil0 rPBqScQdl0fPfmDzW11Z4X70aYVFz/djtoYG5yEZIUSjAael7d641sd4jU0dYdTpeZ11 FKNajc6Rq1MgCBe/K7XbpAgD773DyS28w6No9XBMAqpBWPjNVv9j/01z3YEUQ26LjQGK 1eJCJ2FA/ksNY9TMZTCVFMl7F8Z+hwgaI8s003NWF+tZCiL2Oaczi7dl/9kxSdprnzbz L/IF89GEMUWWz+K8UXewzn1f69u5m/4zYtiRzoG4ssgKz0lyvmlzMInQyHWQ7L5TuUTd 3GYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hRxOmEIEXBkxUNn/NAWqcbIlVuNjLO4VAxl78JAwEJw=; fh=t0KylaWfu2xM6QmG1LfwWButxScPBGSxc4TIC3M1Xwc=; b=IK3Q35bVL05YYpNY5bbziucbvbEnYzeZFMHTcTlEzLct/e61i1mI47ThArRb4pOKQl bRVFxTdmfzVrrzyaXrp2aa92n1lsIBqhJu79uEmPIOciMHrnOD9V2EbLZBjdN/4D8ur7 QqyOuIwz2zKBnbyQA3QIG66voIrbJWOakarvPCMI6b1ipG+89R0+kXk+37SCtuy9Tvf7 7l7krL/jYAuEMI1t18z8bswwrrq90GzO4cQumVqbLK0rbkO9wVrM8p9s0/0KByLNbWxP 3hO3E1yFLLyxhsgtkxEoVHmnRDBzCQ7YqTDR/oE+MRhcUeq/ppdN5YtCAZwxY2h5viLr 61lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ueI4Ffa2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l9-20020a170906794900b00a59dfa10555si1673538ejo.878.2024.05.07.08.28.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 08:28:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ueI4Ffa2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 41D531F2407B for ; Tue, 7 May 2024 15:28:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1083F168B0E; Tue, 7 May 2024 15:28:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ueI4Ffa2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28B671635AD; Tue, 7 May 2024 15:28:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715095689; cv=none; b=Sa7GcNPwTs/IwFpJt1OG3nPd6cOr3utVJ2VYRTnExW1JEYypBx3AFeLzQOIKNfxL0m+pIkMa8d+EYwdQ/g14fZMNRUNChcQYQopKbiL1nWNC+DTdxniI01tvxT24Y/8kCyjF0SlWKnbOLQeqpsyrElv4MTXK9XZAbAWIdD+XnjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715095689; c=relaxed/simple; bh=bUcqpluJn/Rz13IlYVuaIwusJC716KhD/mfqB0Uebho=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OpSvBdD1bBUACfp0tr0J3wRUGLtJIkC9dtKCvyPul1y0m+iV0zrG69csmSoQVH8B8IFGpBJMbLCI++UIgMKgnlWiI2pLcK+csoklT1FU0snQwmxD6mqf6fKB1QP3qIE6XZpjIpYXiVrkwZ+Kra7XWtmUFOYhymQcD7VoTCWp53o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ueI4Ffa2; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240430083730.134918-10-herve.codina@bootlin.com> 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 >