Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9718148ybi; Wed, 24 Jul 2019 08:47:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuyelqNkA8HpMU9of35TiZvsLgU6ksVVNyM3xl6V9tODRwc7S2i+6xuY+BxxCS7MWH6Sr1 X-Received: by 2002:a17:90a:cb01:: with SMTP id z1mr87460786pjt.93.1563983238717; Wed, 24 Jul 2019 08:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563983238; cv=none; d=google.com; s=arc-20160816; b=AdBiATcwevrjFA4aPOjbEzmGrUut9KWmDEq0VSHQRpSVB/ydLZjkqUEI4/hBvfqJC0 6QO5NRZ/kLxVldqQoQri0GJOqFxPXC2jfTlbtXsuLmkGYMqWD/HVe/q+g5LZMzwaOkZi 9b2Lc7sahvrN+ffB8T/XvNpBkfWG2eDTh99DyOZUs49Ju/u9vPbd5iAincsPGwv4ghI/ Rkm0UDbLbj406MRHBvYfBw3BKyOvaqOKuAGw0tvoGwf1BOBgn/r++N70zZK9LvIGg4CM EGRPDhID8oiprhzR08rev7ZsokK3moTbK3k1u2M3/85JDgF4Q18m3Nsu6mCB1KY2qlc5 vINA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=lQcNmTQC546dTqFtFZ3nklC3MZe/SjKAP42QdbTJRQ8=; b=cgVEcDOh0SOwSHEAE7vNLTWHBVTyMpW/ShgkgIzuM5CxF/N47Rr3eGU3swAWwe43xt JsxBIy4hurCrK5azuvX47XayCmInca5hydzzWeLHF3SzA2uaSTT5zHfdJ0ZCEnwzIP6G 0CcPzaA32S5vVeTx2rlAFWAHUoCnVpCgGoKO1pnRVv4IQ8RwbuQ3BaC/YzyanxP+DAy6 mLjHScAp5r5sbIT1KwoYnAByM3wb9wtHkoR9qrv1fBcSmRUTRQ0WFsP3MciwpWMF7XmF ExczRH2tKGubhThVpERo+rhy8sXBrvFb8QAaUT94ZCv+SkQ5iiF7lGr0/1s6u7QQtjQ9 uxwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=cCpiPXF0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si13996287plp.404.2019.07.24.08.46.52; Wed, 24 Jul 2019 08:47:18 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=cCpiPXF0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbfGXMHJ (ORCPT + 99 others); Wed, 24 Jul 2019 08:07:09 -0400 Received: from dc2-smtprelay2.synopsys.com ([198.182.61.142]:47286 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbfGXMHH (ORCPT ); Wed, 24 Jul 2019 08:07:07 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 54B66C1BE9; Wed, 24 Jul 2019 12:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1563970027; bh=9yLr3tHkJx37O0E/j4hIar6/6qoO+IpYNGwETfHlldA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cCpiPXF0AwsV7qgl0JUT5rMuBZUMTpVIf40gtQSj8H/6VvDmDEmYf3Ay1fSje8Kd3 PHQ0pROrmGyKjL1Wy2VyrO6vCSWqLWiiHHazBire7O1wIDUYh+uaogDsI4cp1r0Ul7 BCvTNwBe21KHWjvJcs2XhB2w/H10YHQDAJXR/6Y1jNY+FEhoQ40JWJJI4vahmrlCiF 8H5oyQZGQSL653hIQQu8eGIXAMRVnnDMwCLALwmeYHnkSkAg4WoUIgikcjrvTbK7hV qCT8s97qLGD2plBUyj/IonY5FmGVQJhDl6F7RKB1CKib8s4CYMvsLedIObevANHx97 02BYz6DaB3NJg== Received: from de02arcdev1.internal.synopsys.com (de02arcdev1.internal.synopsys.com [10.225.22.192]) by mailhost.synopsys.com (Postfix) with ESMTP id 22187A005C; Wed, 24 Jul 2019 12:07:06 +0000 (UTC) From: Mischa Jonker To: Alexey.Brodkin@synopsys.com, Vineet.Gupta1@synopsys.com, kstewart@linuxfoundation.org, tglx@linutronix.de, robh+dt@kernel.org, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Mischa Jonker Subject: [PATCH v2 3/3] dt-bindings: IDU-intc: Add support for edge-triggered interrupts Date: Wed, 24 Jul 2019 14:04:36 +0200 Message-Id: <20190724120436.8537-3-mischa.jonker@synopsys.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190724120436.8537-1-mischa.jonker@synopsys.com> References: <20190724120436.8537-1-mischa.jonker@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This updates the documentation for supporting an optional extra interrupt cell to specify edge vs level triggered. Signed-off-by: Mischa Jonker --- .../interrupt-controller/snps,archs-idu-intc.txt | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt index c5a1c7b..a5c1db9 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt @@ -8,11 +8,20 @@ Properties: - compatible: "snps,archs-idu-intc" - interrupt-controller: This is an interrupt controller. -- #interrupt-cells: Must be <1>. - - Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N - of the particular interrupt line of IDU corresponds to the line N+24 of the - core interrupt controller. +- #interrupt-cells: Must be <1> or <2>. + + Value of the first cell specifies the "common" IRQ from peripheral to IDU. + Number N of the particular interrupt line of IDU corresponds to the line N+24 + of the core interrupt controller. + + The (optional) second cell specifies any of the following flags: + - bits[3:0] trigger type and level flags + 1 = low-to-high edge triggered + 2 = NOT SUPPORTED (high-to-low edge triggered) + 4 = active high level-sensitive <<< DEFAULT + 8 = NOT SUPPORTED (active low level-sensitive) + When no second cell is specified, the interrupt is assumed to be level + sensitive. The interrupt controller is accessed via the special ARC AUX register interface, hence "reg" property is not specified. -- 2.8.3