From patchwork Mon May 9 13:58:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 9046851 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2A3E69F1C3 for ; Mon, 9 May 2016 14:00:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51EAD2011E for ; Mon, 9 May 2016 14:00:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AC892012B for ; Mon, 9 May 2016 14:00:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1azliW-0000mJ-7k; Mon, 09 May 2016 13:59:24 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1azliQ-0000gE-JX for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2016 13:59:19 +0000 Received: by mail-pa0-x235.google.com with SMTP id xk12so73532113pac.0 for ; Mon, 09 May 2016 06:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YCmxxgOE3kZU4lUlYYkyoVuiqw7ENR28IoHcVbE0P1I=; b=WCbWaQboqpoOEiBfy9MmCwZIILyVsH3/rDFBsWEqBziicXHA/2/+0wfoTIGlShdQ8y xldjA+ywvGxx/G3Qm/+zFXIsOEsl+uvXjZyZL2A2YNeNscTzoP1Wc9Zxufev2hHXNhkM Rryz+E3wQJG0LuG5YBfaVLm//a9SwaEdeJdF0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YCmxxgOE3kZU4lUlYYkyoVuiqw7ENR28IoHcVbE0P1I=; b=c4/lhnj4pYfcpcw0ncOsz8Zi+KLbl1bWDY+tI4RUPB4Lv3hA14OY2bZCnpHo/0jCJ1 rqCU/NyTL2llrLYZN60gh5lLGlaR25tfiiS/DGS0pGMwCr2gyuzIg8HIaM6RvaT9xyCK CCVxqd9xqaofdufKErjT6YIfGtIXIKppo298GNuHEgntcsi4DRq9lrKrBiNOze5teWkE +IdgNpN9qFzKNp8v7q50sywsJlrVKC5LkWsHchrjoeZGdKEcHfI1VDGh+1JoeaEZSRlU 39RkXczqqk0Ctc1takjmi4qJrrddB6yAEzaOKFHqgNiRilJ7HdOv8fZo8z4Vmmj4TymN Wh4w== X-Gm-Message-State: AOPr4FWt94jaeWmrz5yF3D1++daTMKaYC9a+sJEXwyYHRR7MVuJG71ZAQXSo3aUUhH3IBQ== X-Received: by 10.66.182.161 with SMTP id ef1mr49253220pac.40.1462802337934; Mon, 09 May 2016 06:58:57 -0700 (PDT) Received: from icarus.au.ibm.com ([2403:480:11:10:3400:b218:cbe9:48cb]) by smtp.gmail.com with ESMTPSA id fv10sm41110209pad.40.2016.05.09.06.58.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 May 2016 06:58:57 -0700 (PDT) From: Joel Stanley To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com Subject: [PATCH v2 1/2] doc/devicetree: Add Aspeed VIC bindings Date: Mon, 9 May 2016 23:28:36 +0930 Message-Id: <1462802317-27086-2-git-send-email-joel@jms.id.au> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1462802317-27086-1-git-send-email-joel@jms.id.au> References: <462797239-14765-1-git-send-email-joel@jms.id.au> <1462802317-27086-1-git-send-email-joel@jms.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160509_065918_678107_F76F47F8 X-CRM114-Status: GOOD ( 14.07 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, baruch@tkos.co.il, arnd@arndb.de, benh@kernel.crashing.org, jk@ozlabs.org, linux-arm-kernel@lists.infradead.org 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=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 Signed-off-by: Joel Stanley --- v2: Fix device tree binding example, thanks Baruch and Arnd for pointing this out .../interrupt-controller/aspeed,ast2400-vic.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt new file mode 100644 index 000000000000..86dede1755a2 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt @@ -0,0 +1,24 @@ +Aspeed Vectored Interrupt Controller + +These bindings are for the Aspeed AST2400 interrupt controller register layout. +The SoC has an legacy register layout, but this driver does not support that +mode of operation. + +Required properties: + +- compatible : should be "aspeed,ast2400-vic". + +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value shall be 1. +- valid-sources : bitmask of valid irq sources + +Example: + + vic: interrupt-controller { + compatible = "aspeed,ast2400-vic"; + interrupt-controller; + #interrupt-cells = <1>; + valid-sources = < 0xffffffff 0x0007ffff>; + reg = <0x1e6c0080 0x80>; + };