Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2471468imj; Mon, 18 Feb 2019 06:36:14 -0800 (PST) X-Google-Smtp-Source: AHgI3IaCEaE4aQ1xcYiKp7RxpOeZZ8M83NmafjROPW69YPTfupU4Pvxk1KYEWh48Og5MZzLdKW5Z X-Received: by 2002:a63:305:: with SMTP id 5mr13007859pgd.57.1550500574356; Mon, 18 Feb 2019 06:36:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550500574; cv=none; d=google.com; s=arc-20160816; b=RBTBjHGiL8v6d9U2SUOfeqnbw2X6XkZ6ywvxPGnIfW4op9NojVLlyi79UREyMfCMVI CCTLgeHuR3YZGfTYiB8RTPturSFuW96ONu7YFIAcYSo1ua7kmBReDkOjMC4Z8pNb6dA4 MuHmBH5wdfANIik2JCYlmlCcE5W9XTkMEoCUV0jRwerKBgaGwX/5+tbxx6WfOJp1gUx8 GjQm+1a681QRjxIK97h94UFW7y/dnbOSi104FHFF2AD85cGk0wzf30lra18iUruk8u7z sV+cA2sg/HUUkj4lUAPhJ6ZF1re59R/InX5OGIXH6altALE3qYm6IWdUTD/oHyLkxu00 S4kQ== 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=COOsrd8Fhyuwg0XJoTNOLaVXVlQGm3kF+6lDDOcnXNo=; b=BOvyak1Gfv1Vvg2UuR2zAtDgUXXDDjcXMaOymdlgRnIDZWj4yyVVnxiCBKZ5VUZ6cj 2mfYPeThTlT3L4/eAFTtGhBLhxxezl453O7IjW9L9TzA8hzcSuwN7w8KtduFkXWfhFui BxnaACBU+wHB4zNaeEeZzQy5eMufSetbFf82bvHJ7YNC8sE3DcpsTVbU18R+P6cbUwh9 xilyKo1imjlN4gld6KF5OxZ4my86bbIvr3yZrPpskEJyi+Jr2WQ2xpOLc/1JLks99c1C Try2agR00cpP2+de38cqZERvANzQQ2vey5BUiKddfK219TX9hLq14l0aDSiTWmeEwRRY 6xmw== 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 x16si12875100pgf.112.2019.02.18.06.35.57; Mon, 18 Feb 2019 06:36:14 -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 S2388807AbfBROfO (ORCPT + 99 others); Mon, 18 Feb 2019 09:35:14 -0500 Received: from muru.com ([72.249.23.125]:39242 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388178AbfBROfM (ORCPT ); Mon, 18 Feb 2019 09:35:12 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 6230B80E4; Mon, 18 Feb 2019 14:35:21 +0000 (UTC) Date: Mon, 18 Feb 2019 06:35:08 -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: <20190218143508.GD15711@atomide.com> References: <20190212074237.2875-1-lokeshvutla@ti.com> <20190212074237.2875-6-lokeshvutla@ti.com> <41a9780b-d971-2b20-1ecb-c55852292563@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41a9780b-d971-2b20-1ecb-c55852292563@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 * Lokesh Vutla [190216 03:30]: > On 2/12/2019 1:12 PM, Lokesh Vutla wrote: > > +TISCI Interrupt Router Node: > > +---------------------------- > > +- compatible: Must be "ti,sci-intr". > > +- interrupt-controller: Identifies the node as an interrupt controller > > +- #interrupt-cells: Specifies the number of cells needed to encode an > > + interrupt source. The value should be 4. > > + First cell should contain the TISCI device ID of source > > + Second cell should contain the interrupt source offset > > + within the device > > + Third cell specifies the trigger type as defined > > + in interrupts.txt in this directory. > > + Fourth cell should be 1 if the irq is coming from > > + interrupt aggregator else 0. > > +- ti,sci: Phandle to TI-SCI compatible System controller node. > > +- ti,sci-dst-id: TISCI device ID of the destination IRQ controller. > > Please help me here. As said this is the TISCI device id for the host > interrupt controller. While sending message to the system co-processor > this ID needs to be specified so that the irq route gets discovered and > configured. Atleast with the current design device Ids are not > discoverable. Can you mention what can be improved here? Is there any > such example where a firmware supports querying the deivce ids? > > Also do you have any further comments on this patch? No reg property above. So if the interrupt router is not accessible by Linux like you're saying, you should not set up a dts node for it at all. Regards, Tony