Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4023565imj; Tue, 12 Feb 2019 08:31:24 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibr94zbXsBir43NVnXAy7MpD0swH82m7T5/tegs8NJV9WSAS1dfNhQNpG9+HFEvb+bzcfO/ X-Received: by 2002:a65:4381:: with SMTP id m1mr4289150pgp.358.1549989084350; Tue, 12 Feb 2019 08:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549989084; cv=none; d=google.com; s=arc-20160816; b=Fg4/xx92Jv+Kyk26i/bZhuaLyxdtI8RimSKHQ30zk7y6pK+EY7azNYBafHWX3C1YbO s7LrBgAcCYAfZ7OkGucEgA5PW1tj8yHyragVt0ndAQXIUQE06jfD1mZbPKuAuJ4NVrb/ gsVx2l0t2LnSdP08QnJuzqAPPkMIRX2uZTVBogFs0IHG69/fOEOWiRZOxkMxpBuXR8+t JZKo4dztNZkyALYWOVRyPbSsqEBk6fM9rKRCcil8hP2jAG6vWNbk66Ge2YSpbehBTyeb JM7sYlQIE1epDQhg7vrLnkwDEGlAJKU5IcGjL+r0t3fdgDFnZUelkv/LDlXya1LRzU0U 2t/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=br1Nm9Skm6ayVXBy2+XvkEz4nfdfPNCH9g16koL5TeI=; b=wJ+o8wbzIUQVfy8tU7555WKCize/w7eCDpaoGWNc3HeiHjvDmaDmSRVTkcHsEzQwUB 5vL/jdrwvDwhfKpqCJxmRSaPJ634mTNNIdhTXJMzHLqGEZRGctxm99emAvitjXbPeOE6 jRtsaZHwb1HxrAupD35Ll06T9h/mGellqWECvv8CeU0B600KA/wNAj9yU+Z9+CQEJeIV qektpylejxSL5tulbJf1qJfmbdSMxc/MOe3Q72A5sl3Y0d4F9b2L0MlIo1Gmiz2EcsB+ DC9g/3Zct/uidcWpAEGoHqqzhxq8Zj4dan2yE+9SmYEWoiWT7kLpiQvDS+PpR4ikBmWh bUtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y129si4890524pgy.175.2019.02.12.08.31.07; Tue, 12 Feb 2019 08:31:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731134AbfBLQaX (ORCPT + 99 others); Tue, 12 Feb 2019 11:30:23 -0500 Received: from muru.com ([72.249.23.125]:38232 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728829AbfBLQaX (ORCPT ); Tue, 12 Feb 2019 11:30:23 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 319F6803A; Tue, 12 Feb 2019 16:30:31 +0000 (UTC) Date: Tue, 12 Feb 2019 08:30:18 -0800 From: Tony Lindgren To: Lokesh Vutla Cc: marc.zyngier@arm.com, Nishanth Menon , Santosh Shilimkar , Rob Herring , tglx@linutronix.de, jason@lakedaemon.net, Linux ARM Mailing List , linux-kernel@vger.kernel.org, Device Tree Mailing List , Sekhar Nori , Tero Kristo , Peter Ujfalusi Subject: Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings Message-ID: <20190212163018.GL5720@atomide.com> References: <20190212074237.2875-1-lokeshvutla@ti.com> <20190212074237.2875-6-lokeshvutla@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190212074237.2875-6-lokeshvutla@ti.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Lokesh Vutla [190212 07:43]: > +The Interrupt Router (INTR) module provides a mechanism to route M > +interrupt inputs to N interrupt outputs, where all M inputs are selectable > +to be driven per N output. There is one register per output (MUXCNTL_N) that > +controls the selection. > + > + > + Interrupt Router > + +----------------------+ > + | Inputs Outputs | > + +-------+ | +------+ | > + | GPIO |----------->| | irq0 | | Host IRQ > + +-------+ | +------+ | controller > + | . +-----+ | +-------+ > + +-------+ | . | 0 | |----->| IRQ | > + | INTA |----------->| . +-----+ | +-------+ > + +-------+ | . . | > + | +------+ . | > + | | irqM | +-----+ | > + | +------+ | N | | > + | +-----+ | > + +----------------------+ Is this always one-to-one mapping or can the same interrupt be routed to multiple targets like to the SoC and some coprocessor? > +Configuration of these MUXCNTL_N registers is done by a system controller > +(like the Device Memory and Security Controller on K3 AM654 SoC). System > +controller will keep track of the used and unused registers within the Router. > +Driver should request the system controller to get the range of GIC IRQs > +assigned to the requesting hosts. It is the drivers responsibility to keep > +track of Host IRQs. > + > +Communication between the host processor running an OS and the system > +controller happens through a protocol called TI System Control Interface > +(TISCI protocol). For more details refer: > +Documentation/devicetree/bindings/arm/keystone/ti,sci.txt Care to describe a bit why the interrupts need to be routed by a system controller? Regards, Tony