Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp701926imm; Wed, 20 Jun 2018 05:22:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIRH2ouZHRvLza0h6ca7JURPd1sw4uMWHtmOS77z8X5TxVCKxfaDnPpUg6NzxmWI7DNHQLb X-Received: by 2002:a17:902:bc8c:: with SMTP id bb12-v6mr23740589plb.84.1529497359384; Wed, 20 Jun 2018 05:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529497359; cv=none; d=google.com; s=arc-20160816; b=mQ6fRz5w/jIUloyTOHeGDS80aobXmCsw3oUIde0c6K9dfYxWF4D4QHxhZfxyxYlbXi Bd9h02vYq62RvvvV/Vh5qZ21Rh9g7xUSY3iKF5ol3FdaXX1jeFh1m5wzAB+AymFPxzKt QoL3/Gbrm8IFl5GLZmU3lFm35DR7DlV69GTwcylEdLp11ZiJYYPxwjQahj12txFFD6U8 2nqjaOPpDRiQHdR6tReYASL9A/1NhjtVa4Q0MlpVcBioqFpe41CVtHF7y6HRc3hbk1o9 R7B4dy1xbUTJ4o7Cw87r9JH6bI47M8p34WLa0Mf5rn1QkyBY154F30CNt5JK81QymO9G JpXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=Ae7j93FxC0m2aMBr2Jm7aVpLwj/WXgycZ8MCTkqKQPs=; b=uZmglqoctHK8d9ovMjySaOh8ZuzDZihxznNa3fdjaY75BIGGaY3J8dr0r+wEQR0VLT hoKW+nzWia0ZZdtj217xHhpnqNl9D2MhE8XyrNi68QtSQU8pOTWYxjvJq/auFko0DSkH JVUY00weViY8fOPO3AMofdhS0CIJ7wgcxZ8xjR7rar44Ub3tNyJtT9npiFkHxuGfDqtx KuMuRjsn/RalDR0Hc1qVL+jxDEMnwrnG4RikVuOs0/wVEf/jCWFHflRsq44uCVdzvqlk oHXHuhxArixmpxKTxAtrfpzddW/ZRvIHZwFm2jSb2Ky6w4+chzKjMB2o761W5XtpGrx6 F8aA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5-v6si2391926plj.112.2018.06.20.05.22.25; Wed, 20 Jun 2018 05:22:39 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754131AbeFTMVM (ORCPT + 99 others); Wed, 20 Jun 2018 08:21:12 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:12647 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754069AbeFTMVI (ORCPT ); Wed, 20 Jun 2018 08:21:08 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1, AES128-SHA) id ; Wed, 20 Jun 2018 05:20:45 -0700 Received: from HQMAIL106.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 20 Jun 2018 05:21:11 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 20 Jun 2018 05:21:11 -0700 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 20 Jun 2018 12:21:07 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Wed, 20 Jun 2018 12:21:07 +0000 Received: from mperttunen-lnx.Nvidia.com (Not Verified[10.21.26.144]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 20 Jun 2018 05:21:07 -0700 From: Mikko Perttunen To: , , , , , CC: , , , , , Mikko Perttunen Subject: [PATCH v2 1/8] dt-bindings: tegra186-hsp: Add shared interrupts Date: Wed, 20 Jun 2018 15:20:35 +0300 Message-ID: <20180620122042.10950-2-mperttunen@nvidia.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180620122042.10950-1-mperttunen@nvidia.com> References: <20180620122042.10950-1-mperttunen@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HSP interrupts can be routed through exposed "shared interrupts". These interrupts can be mapped to various internal interrupt lines. Add interrupt properties for shared interrupts to the tegra186-hsp device tree bindings. At the same time, add the compatibility string for tegra194-hsp, which is backwards compatible with tegra186. Signed-off-by: Mikko Perttunen --- Notes: v2: - Edited commit message to not say that doorbell interrupts cannot be routed to shared interrupts. - Added tegra194 compatibility string. Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt b/Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt index b99d25fc2f26..620c249363ca 100644 --- a/Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt +++ b/Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt @@ -15,12 +15,15 @@ Required properties: Array of strings. one of: - "nvidia,tegra186-hsp" + - "nvidia,tegra194-hsp", "nvidia,tegra186-hsp" - reg : Offset and length of the register set for the device. - interrupt-names Array of strings. Contains a list of names for the interrupts described by the interrupt property. May contain the following entries, in any order: - "doorbell" + - "sharedN", where 'N' is a number from zero up to the number of + external interrupts supported by the HSP instance minus one. Users of this binding MUST look up entries in the interrupt property by name, using this interrupt-names property to do so. - interrupts -- 2.16.1