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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 485A4C4338F for ; Fri, 13 Aug 2021 17:17:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F57460EE0 for ; Fri, 13 Aug 2021 17:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232066AbhHMRSI (ORCPT ); Fri, 13 Aug 2021 13:18:08 -0400 Received: from mail-oi1-f182.google.com ([209.85.167.182]:38571 "EHLO mail-oi1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbhHMRSG (ORCPT ); Fri, 13 Aug 2021 13:18:06 -0400 Received: by mail-oi1-f182.google.com with SMTP id u25so16896025oiv.5; Fri, 13 Aug 2021 10:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=h68fhwaIJGBeInei61waRjahlBNK+UqY88zaiPuB/Gw=; b=Uvkk06mxrnKkewYnBdLqrz44OuLqlHMcWL2Cg+fH/r2BMQ58xb7UbmpvjWpI8BCkpK YjShmO9/rbcS7JqMqgKPWNyqm2tky8p43aVQIq5RE5oXCw+fr9pAS1JoFBGU0IE1yoxS v8rncdS251O9EfJI4ZGQHzF+SaoPS5rkkAbzW1F74Qdw3zkGaQ9ATqJeDpq/bd3JaOMa WATMUPLtO8tXCfSSIb/Cr3mweEA6x5n2FuPMwuXoIeGOBSP+dOUTI1PHU+GippZxjElv iI+i6ilGqt2B0YiCe3wVuFGhS7KnB/xdUSP4jkC6LQZxlA74RRxj8v+sPTzXjH5ncUKf Lx+Q== X-Gm-Message-State: AOAM533W9OsOuFCoaDuzj5dmLK7Ar5VdTixnGvimkLQgWN7CWf4R8Q7l 9bHC/DRrCRUSrk0mifk6uQ== X-Google-Smtp-Source: ABdhPJx3K3cc3GWnc2e23wyDvjtkfl5TevTPrmq0X8fptV6TKcYWL8Ix2VpQOeEyvmefqxyPYSiIZA== X-Received: by 2002:a05:6808:f07:: with SMTP id m7mr2921822oiw.16.1628875059355; Fri, 13 Aug 2021 10:17:39 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a19sm427823otl.48.2021.08.13.10.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 10:17:38 -0700 (PDT) Received: (nullmailer pid 3698805 invoked by uid 1000); Fri, 13 Aug 2021 17:17:36 -0000 Date: Fri, 13 Aug 2021 12:17:36 -0500 From: Rob Herring To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Lorenzo Pieralisi , Marc Zyngier , Tom Joseph , linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lokesh Vutla Subject: Re: [PATCH v2 1/3] dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interrupts Message-ID: References: <20210804132912.30685-1-kishon@ti.com> <20210804132912.30685-2-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210804132912.30685-2-kishon@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04, 2021 at 06:59:10PM +0530, Kishon Vijay Abraham I wrote: > Add bindings to specify interrupt controller for legacy interrupts. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../bindings/pci/ti,j721e-pci-host.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > index cc900202df29..f461d7b4c0cc 100644 > --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > @@ -74,6 +74,11 @@ properties: > > msi-map: true > > +patternProperties: > + "interrupt-controller": Not a pattern unless you meant for foo-interrupt-controller-bar to be valid. Anything is allowed in the node? > + type: object > + description: interrupt controller to handle legacy interrupts. > + > required: > - compatible > - reg > @@ -97,6 +102,8 @@ unevaluatedProperties: false > > examples: > - | > + #include > + #include > #include > #include > > @@ -131,5 +138,13 @@ examples: > ranges = <0x01000000 0x0 0x10001000 0x00 0x10001000 0x0 0x0010000>, > <0x02000000 0x0 0x10011000 0x00 0x10011000 0x0 0x7fef000>; > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > + > + > + pcie0_intc: interrupt-controller { > + interrupt-controller; > + #interrupt-cells = <1>; > + interrupt-parent = <&gic500>; > + interrupts = ; > + }; > }; > }; > -- > 2.17.1 > > 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 X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF72FC4338F for ; Fri, 13 Aug 2021 17:20:05 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7F64460F36 for ; Fri, 13 Aug 2021 17:20:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7F64460F36 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=t2LJnf/wsybO5URA1cQ1+PienQIxD2HxnFwUQEioVmU=; b=pc74jZ3SIlGn8g jxEtT6jBjxsx0s2zxSTr+nR2FZfPKELq9a6EVaEMX4p9aaAj6/GYVfg6lSLK+aKOZzR5k6WS/RfYt PHQaRAXQroAq2q2y3bdmpVS3Vgpyen2hHU4gcARkCX/xfbI/kkQWJfWtzfPlz9LBG4oKwytWyFRjo Zuq9yLLoEdJrMvtHBj8ORDs7rqGQNELaCNX4oUaDT9F3siPq7kmpb+PYFsEWcrVULh4Dj/Nb4SMwd Q6qcJhyGN0Rye8Q1preRxMhNNukqivY0I8lEJUZ/h2sp2w7eFVy7be5DhLz9ZCY7DnsRnWTpxhu1d 7PzxAj3NVEnLhawZUOIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEaoS-00DEcN-PF; Fri, 13 Aug 2021 17:17:44 +0000 Received: from mail-oi1-f174.google.com ([209.85.167.174]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEaoO-00DEbj-Mc for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 17:17:42 +0000 Received: by mail-oi1-f174.google.com with SMTP id o20so16867246oiw.12 for ; Fri, 13 Aug 2021 10:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=h68fhwaIJGBeInei61waRjahlBNK+UqY88zaiPuB/Gw=; b=YLFJTayg5NW/76dE5t/cxRMX+wlhKmVWd9pibUlGqPzj14yL6+3qC9XYYWTVvUv92b v/avUiVBxufmkh3BHgRSycLp950ruDZuMo4nJ+GhY4KkF3qmTJ8i7ef4PeiWFE+DiM3Y M7oUOjrDI5p3aeTY6kx8UG3UEpPe/WRUBdu1C9aImF4aNHu7a00n+BQ4yNbCjEIeI5fc KCFZGPEk0T+JP8GumGkQWzJWt377FEUU7uoxdEjr14VAmif1YgOTsyTA2uYgA5o4Y2Ix IZYzkkXAc39O/tO4nUFVlo545NV8qs62mC0m30U2lFHf7w2shq4Qj4Zb2F5OxdkN3HKk cEAQ== X-Gm-Message-State: AOAM533y6dOKGbPm3kppjPFlJq3tz2WrPKdNlUkyzzV7QrkaWZzghmsv stHzrzRFLbJ/KJ1wPxsQSw== X-Google-Smtp-Source: ABdhPJx3K3cc3GWnc2e23wyDvjtkfl5TevTPrmq0X8fptV6TKcYWL8Ix2VpQOeEyvmefqxyPYSiIZA== X-Received: by 2002:a05:6808:f07:: with SMTP id m7mr2921822oiw.16.1628875059355; Fri, 13 Aug 2021 10:17:39 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a19sm427823otl.48.2021.08.13.10.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 10:17:38 -0700 (PDT) Received: (nullmailer pid 3698805 invoked by uid 1000); Fri, 13 Aug 2021 17:17:36 -0000 Date: Fri, 13 Aug 2021 12:17:36 -0500 From: Rob Herring To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Lorenzo Pieralisi , Marc Zyngier , Tom Joseph , linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lokesh Vutla Subject: Re: [PATCH v2 1/3] dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interrupts Message-ID: References: <20210804132912.30685-1-kishon@ti.com> <20210804132912.30685-2-kishon@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210804132912.30685-2-kishon@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_101740_782919_9C576AC1 X-CRM114-Status: GOOD ( 16.33 ) 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 Wed, Aug 04, 2021 at 06:59:10PM +0530, Kishon Vijay Abraham I wrote: > Add bindings to specify interrupt controller for legacy interrupts. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../bindings/pci/ti,j721e-pci-host.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > index cc900202df29..f461d7b4c0cc 100644 > --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml > @@ -74,6 +74,11 @@ properties: > > msi-map: true > > +patternProperties: > + "interrupt-controller": Not a pattern unless you meant for foo-interrupt-controller-bar to be valid. Anything is allowed in the node? > + type: object > + description: interrupt controller to handle legacy interrupts. > + > required: > - compatible > - reg > @@ -97,6 +102,8 @@ unevaluatedProperties: false > > examples: > - | > + #include > + #include > #include > #include > > @@ -131,5 +138,13 @@ examples: > ranges = <0x01000000 0x0 0x10001000 0x00 0x10001000 0x0 0x0010000>, > <0x02000000 0x0 0x10011000 0x00 0x10011000 0x0 0x7fef000>; > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > + > + > + pcie0_intc: interrupt-controller { > + interrupt-controller; > + #interrupt-cells = <1>; > + interrupt-parent = <&gic500>; > + interrupts = ; > + }; > }; > }; > -- > 2.17.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel