From patchwork Thu Jul 18 08:50:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Jensen X-Patchwork-Id: 2829538 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 147289F9EB for ; Thu, 18 Jul 2013 08:51:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 051982020E for ; Thu, 18 Jul 2013 08:51:31 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0945A201DF for ; Thu, 18 Jul 2013 08:51:30 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uzjvh-0001IX-53; Thu, 18 Jul 2013 08:51:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uzjvf-0004m0-0z; Thu, 18 Jul 2013 08:51:15 +0000 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UzjvX-0004lM-Nc for linux-arm-kernel@lists.infradead.org; Thu, 18 Jul 2013 08:51:08 +0000 Received: by mail-lb0-f175.google.com with SMTP id r10so2256183lbi.6 for ; Thu, 18 Jul 2013 01:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=CUKPjGrkkuscZ8wlwzzq3QwfzDbZLroErW1JpOdqQQE=; b=NeB4K5zWpeSOjzOXtK8yOZ8gg3zl3vgYWXmyWovfYbGHd0bqsai6eXX8dTDp4YAaSV 7KvE9T8mZXr+O8Hv2eZFxm1AEvY4SHhEZrBJTmI1aL/hBN84joICO762ENx3SJarB6n2 4z8NBBq8gULmH62yhxpx4CboBCZc8eua0uMbDgYewl8fy3MyYKoblPSigkpBMt3Vv9yJ e+HZN8CYJ2aQRWqOPiOKfAFXRWEX3V1krse7T3fjICa8pA3u1jt1NT9CZomQuKn74Ndh qVwrEpnmFHjV0yGBvdn7inoyz5PlRVQAgJroVjY/fyBf4mGZVs+MvOhCeAe/V/PFFi2U prqA== X-Received: by 10.152.88.105 with SMTP id bf9mr4709619lab.38.1374137443139; Thu, 18 Jul 2013 01:50:43 -0700 (PDT) Received: from Ildjarn.ildjarn.botech.se (static-213-115-41-10.sme.bredbandsbolaget.se. [213.115.41.10]) by mx.google.com with ESMTPSA id n17sm4083263lbv.2.2013.07.18.01.50.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Jul 2013 01:50:42 -0700 (PDT) From: Jonas Jensen To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] Documentation: Add device tree binding file for MOXA ART SoCs interrupt controller Date: Thu, 18 Jul 2013 10:50:26 +0200 Message-Id: <1374137426-6763-1-git-send-email-jonas.jensen@gmail.com> X-Mailer: git-send-email 1.8.2.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130718_045107_959160_3EE2B0E8 X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, rob.herring@calxeda.com, Jonas Jensen , grant.likely@secretlab.ca, arm@kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add binding document for MOXA ART SoCs interrupt controller. Signed-off-by: Jonas Jensen --- Notes: The MOXA ART irqchip driver was added without accompanying devicetree document. ( in next-20130716 drivers/irqchip/irq-moxart.c ) Applies to next-20130716 .../interrupt-controller/moxa,moxart-ic.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/moxa,moxart-ic.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/moxa,moxart-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/moxa,moxart-ic.txt new file mode 100644 index 0000000..58f1fe1 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/moxa,moxart-ic.txt @@ -0,0 +1,28 @@ +* MOXA ART Interrupt Controller + +MOXA ART Interrupt Controller (moxart-ic) is used on MOXA ART SoCs +and supports 32 non-configurable number of interrupts + +Main node required properties: + +- compatible : "moxa,moxart-ic" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The type shall be a and the value shall be 2. + + The first cell contains the interrupt number in the range [0-31]. + The second cell contains the interrupt type + +- reg: physical base address and size of the intc registers map. +- interrupt-mask: Specifies if the interrupt is edge or level-triggered + each bit represent an interrupt 0-31 where 1 signify edge + +Example: + + intc: interrupt-controller@98800000 { + compatible = "moxa,moxart-ic"; + reg = <0x98800000 0x38>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-mask = <0x00080000>; + };