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=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT 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 E1F5EC43381 for ; Tue, 12 Mar 2019 13:42:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB094214AF for ; Tue, 12 Mar 2019 13:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552398131; bh=h8/VRoGEIFxhVZzPMK3EN+z2WLQlW8+m38g6dMRwdPo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=aEXqmtb4cWM85PY51J3taN/ntObRiA/2zzbVWyk6Doc/ks1Prsj2YXMHURbZX/PlB Xd8kb074N/D4BOuJwkU8f5ujt51UXiFXwryRRQBzgpl5f7wG5KSTDEUZupP/g6sN3v FUxRmqAjYv7/FdUdarvCSTPaxNFHuVbC4MbzdL+w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726075AbfCLNmL (ORCPT ); Tue, 12 Mar 2019 09:42:11 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:37821 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbfCLNmL (ORCPT ); Tue, 12 Mar 2019 09:42:11 -0400 Received: by mail-oi1-f194.google.com with SMTP id w66so2093891oia.4; Tue, 12 Mar 2019 06:42:10 -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:user-agent; bh=HfcLv1/QrBGNjOWRj6KsbXECfCitu3ITt5OND6TyLp8=; b=gLYQjQj48JxAJztNK5xBtS1TzHpK846ASLCrtnEOcgW+SYK/9g6KQHaf4YwRQEXs+/ Y3fTo9EYu+kRPU90q2KaxxJAWm3Y7DccGerDNFR88f3dzegNDChYvGXu7svba6GWds+e sVoiWbdLjvC+9a9pOkmH6252Cq+mORtteev/Np3jTaks+BZqVEQfrOMx2/1brcErY39u Uo1Te7Z2wZ7AnOvz7ltU7oEva/zTZextAQpVPqbOIT1dWfBNJ7tZ27qZpY15B7D9F6lS wCq+9XwZ3r/A7/75pH0LxQApT9QcHizpCwuwW/YnBvmzK9a0Qk6nAEf62jirb7FOPsqf dcsw== X-Gm-Message-State: APjAAAWIKcyVPiu0n1WHry+hFXKx1duyznd+quWJwuIdDBo1YSX6mzNA 83+gugSssVx2pJ5W85vPyakIXic= X-Google-Smtp-Source: APXvYqwYEevY2oWR9RU4BlZqVu0LMG+77i6mtsJVfO93pDoJFh2SwxY11++65Bu3oKQuppDIY1WIcw== X-Received: by 2002:aca:5906:: with SMTP id n6mr1664288oib.154.1552398129677; Tue, 12 Mar 2019 06:42:09 -0700 (PDT) Received: from localhost ([70.231.7.113]) by smtp.gmail.com with ESMTPSA id q1sm3444268oth.42.2019.03.12.06.42.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 06:42:09 -0700 (PDT) Date: Tue, 12 Mar 2019 08:42:08 -0500 From: Rob Herring To: Samuel Holland Cc: Maxime Ripard , Chen-Yu Tsai , Jassi Brar , Michael Turquette , Stephen Boyd , Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v3 11/15] [NOT FOR MERGE] dt-bindings: Add a binding for a mailbox-backed interrupt controller Message-ID: <20190312134208.GA2017@bogus> References: <20190302042951.53671-1-samuel@sholland.org> <20190302042951.53671-12-samuel@sholland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190302042951.53671-12-samuel@sholland.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Fri, Mar 01, 2019 at 10:29:47PM -0600, Samuel Holland wrote: > This is a somewhat generic binding for an interrupt controller/forwarder > implemented in firmware and communicated with using a mailbox. > > Signed-off-by: Samuel Holland > --- > .../interrupt-controller/mbox-intc.txt | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > new file mode 100644 > index 000000000000..a0eb7904ca83 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > @@ -0,0 +1,33 @@ > +Mailbox-backed Interrupt Controller > +=================================== Probably never really going to be generic as every mailbox protocol is different. > + > +This binding represents an interrupt controller implemented in firmware, > +that uses a mailbox channel to signal and acknowledge interrupts. > + > +Device Node: > +============ > + > +Required properties: > +-------------------- > +- compatible: Must be one of the following strings: > + - allwinner,sunxi-msgbox-intc > +- interrupt-controller: Signifies that this node is an interrupt controller. > +- #interrupt-cells: Must be 1. No edge/level control? > +- mboxes: phandle for the mailbox controller and channel > + specifier. If the mailbox controller has unidirectional > + channels, two entries are required (see below). > +- mbox-names: Only required for unidirectional mailbox channels. In > + that case, it must contain the strings "tx" and "rx" > + (where "tx" and "rx" are from Linux's perspective, not /Linux/the OS/ > + the direction the interrupts are traveling). > + > +Example: > +-------- > + > + msgbox_intc: interrupt-controller { > + compatible = "allwinner,sunxi-msgbox-intc"; > + interrupt-controller; > + #interrupt-cells = <1>; > + mboxes = <&msgbox 6>, <&msgbox 7>; > + mbox-names = "tx", "rx"; > + }; > -- > 2.19.2 > 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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT 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 6BDB7C43381 for ; Tue, 12 Mar 2019 13:42:29 +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 3A67E214AE for ; Tue, 12 Mar 2019 13:42:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SEiX7FQ8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A67E214AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=r2IcN3CFVZwCxw9Ke9P2FTinJ4tY+2UnwzFLwk+V6KQ=; b=SEiX7FQ8hLl4Wn SH2OcZqlBT1OK05oqm43lENk5apMJpuMZu6JgRYJuFDgW3V7Tj3S0GZZCIux8GBjmT+KoEQ+rY+mv CioR+yKsSwtjpyagpwD0HNHbC8wCv75rkyWtaRVbLXp6/AhBGSDgIenXbttW+ZXLJZMUR1YXcKxln gYAPIT2qNcuxr1VAoyvAR/ITzETyataBoSCCUPbvfcdWF5CZdKeKar3LFTq0dyWHsgKx9nKTUt6pR R0lbIjAowjCduNg8tCxSs4byEJb3m9iOBVyrSeIYNX9JWMMu/eTQJBCT6Hrwfy1OdCLoSzj2TCZ08 HMVTaI6CHVWtHP85PN4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3hfe-00082I-Sv; Tue, 12 Mar 2019 13:42:18 +0000 Received: from mail-oi1-f196.google.com ([209.85.167.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3hfX-00081O-7V for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 13:42:17 +0000 Received: by mail-oi1-f196.google.com with SMTP id g16so2107539oib.1 for ; Tue, 12 Mar 2019 06:42:10 -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:user-agent; bh=HfcLv1/QrBGNjOWRj6KsbXECfCitu3ITt5OND6TyLp8=; b=KaM8OMJoP1qnKUu2jBPpMvOEv05qJnMVU8BwHo1+xXOzMq3aUv1XRqUFdp22ubJtTr 6I35KxwSYyhtt0FWS4OGg11HUSeRzp75e4SIHMFhQ+P47bR+pNy0ePpclqD3coK3cIvC 7twajzr6/JOETtD9EjABhx18nLh7MJKhRVjWZlG8qGX0WcZEOJpL3V71bt7adL0SjLgY dKYxHu3AwMCDwCyzOs4D1YX9kP9CipHxrk4/ETk7D5xX7t4RgV8Ewlrkon9bg69MQQu6 U73CGbMkvYzU17yJlSdTAIWAJQcBJ1CygyAKh78Gq0ZKnLcYVmnn8ERtJY2dHK7gA/mP B40w== X-Gm-Message-State: APjAAAW5R/iuWiEFiCDSejeBwnlR1oHU5jFkr6IV2RXHXyYPMSMvYEp5 lTKp+fqGBgS0HRDw7znfnQ== X-Google-Smtp-Source: APXvYqwYEevY2oWR9RU4BlZqVu0LMG+77i6mtsJVfO93pDoJFh2SwxY11++65Bu3oKQuppDIY1WIcw== X-Received: by 2002:aca:5906:: with SMTP id n6mr1664288oib.154.1552398129677; Tue, 12 Mar 2019 06:42:09 -0700 (PDT) Received: from localhost ([70.231.7.113]) by smtp.gmail.com with ESMTPSA id q1sm3444268oth.42.2019.03.12.06.42.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 06:42:09 -0700 (PDT) Date: Tue, 12 Mar 2019 08:42:08 -0500 From: Rob Herring To: Samuel Holland Subject: Re: [PATCH v3 11/15] [NOT FOR MERGE] dt-bindings: Add a binding for a mailbox-backed interrupt controller Message-ID: <20190312134208.GA2017@bogus> References: <20190302042951.53671-1-samuel@sholland.org> <20190302042951.53671-12-samuel@sholland.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190302042951.53671-12-samuel@sholland.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_064211_266422_F1341FD0 X-CRM114-Status: GOOD ( 19.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Maxime Ripard , Michael Turquette , Jassi Brar , linux-kernel@vger.kernel.org, Stephen Boyd , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 01, 2019 at 10:29:47PM -0600, Samuel Holland wrote: > This is a somewhat generic binding for an interrupt controller/forwarder > implemented in firmware and communicated with using a mailbox. > > Signed-off-by: Samuel Holland > --- > .../interrupt-controller/mbox-intc.txt | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > new file mode 100644 > index 000000000000..a0eb7904ca83 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/mbox-intc.txt > @@ -0,0 +1,33 @@ > +Mailbox-backed Interrupt Controller > +=================================== Probably never really going to be generic as every mailbox protocol is different. > + > +This binding represents an interrupt controller implemented in firmware, > +that uses a mailbox channel to signal and acknowledge interrupts. > + > +Device Node: > +============ > + > +Required properties: > +-------------------- > +- compatible: Must be one of the following strings: > + - allwinner,sunxi-msgbox-intc > +- interrupt-controller: Signifies that this node is an interrupt controller. > +- #interrupt-cells: Must be 1. No edge/level control? > +- mboxes: phandle for the mailbox controller and channel > + specifier. If the mailbox controller has unidirectional > + channels, two entries are required (see below). > +- mbox-names: Only required for unidirectional mailbox channels. In > + that case, it must contain the strings "tx" and "rx" > + (where "tx" and "rx" are from Linux's perspective, not /Linux/the OS/ > + the direction the interrupts are traveling). > + > +Example: > +-------- > + > + msgbox_intc: interrupt-controller { > + compatible = "allwinner,sunxi-msgbox-intc"; > + interrupt-controller; > + #interrupt-cells = <1>; > + mboxes = <&msgbox 6>, <&msgbox 7>; > + mbox-names = "tx", "rx"; > + }; > -- > 2.19.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel