From patchwork Thu Apr 19 20:36:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7963 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 11B5023E20 for ; Thu, 19 Apr 2012 20:37:20 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id CD54DA180E6 for ; Thu, 19 Apr 2012 20:37:19 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so16953504iag.11 for ; Thu, 19 Apr 2012 13:37:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=q8JFVOWOqXAqcPbY+Ty6L3BXvqW6UiAruMZ7kotf/xM=; b=M3X+bL/7vko4QdbyfkXhsjDZXFPxWMzdfvHBhO3pg9ea0sxAmlarL7EFbzvnriYXwP +GuQxnUkXtzwAq5BDQJFPaTxXrbRImazcA5wYHJzu+05Sp/yl0BhXx4f/oRIs1rMQNIs 7ls0vx8uJQRLuhs5AqrX1PTT3St5INFqXHKO/tjC0yx1vffJ+4/7VJpnSTJUobBGl4W0 6PFW9WDnvTWOo3QlZ8JfTf8scg1CUGb89HP1jflfXtoMicfA74TQ5Gamdy8L6yMRzQwy m8gyAamaE547Cun/d9vQZa0v9pitkQqGa8f9wwvLy0qxeiSqAb+FHiXqXWXAAC5sbPhZ BVCQ== Received: by 10.50.17.201 with SMTP id q9mr3893734igd.19.1334867839633; Thu, 19 Apr 2012 13:37:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp317253ibt; Thu, 19 Apr 2012 13:37:19 -0700 (PDT) Received: by 10.180.82.136 with SMTP id i8mr8510194wiy.19.1334867838320; Thu, 19 Apr 2012 13:37:18 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id fr6si117782wib.15.2012.04.19.13.37.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Apr 2012 13:37:18 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds12so8717086wgb.31 for ; Thu, 19 Apr 2012 13:37:17 -0700 (PDT) Received: by 10.180.103.35 with SMTP id ft3mr8623504wib.0.1334867837777; Thu, 19 Apr 2012 13:37:17 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id h8sm345540wix.4.2012.04.19.13.37.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Apr 2012 13:37:16 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, linux@arm.linux.org.uk Cc: Lee Jones Subject: [PATCH 10/15] drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation Date: Thu, 19 Apr 2012 21:36:39 +0100 Message-Id: <1334867804-31942-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1334867804-31942-1-git-send-email-lee.jones@linaro.org> References: <1334867804-31942-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQk9TFgmkVzSbhUnk02VE+9OY5OsJ6NRAloSWIwz20ZdnrrFDg1puvijMnE8+mGQEpdEFTXz Now gpio-nomadik has proper bindings devices initialised by Device Tree entries are able to use the chained GPIO IRQ lines it provides. This patch aims to reflect that in the gpio-nmk documentation. Signed-off-by: Lee Jones --- .../devicetree/bindings/gpio/gpio-nmk.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt index 3856789..ee87467 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt @@ -13,6 +13,7 @@ Required properties: 4 = active high level-sensitive. 8 = active low level-sensitive. - gpio-controller : Marks the device node as a GPIO controller. +- interrupt-controller : Marks the device node as an interrupt controller. - gpio-bank : Specifies which bank a controller owns. - st,supports-sleepmode : Specifies whether controller can sleep or not @@ -24,6 +25,7 @@ Example: interrupts = <0 120 0x4>; #gpio-cells = <2>; gpio-controller; + interrupt-controller; supports-sleepmode; gpio-bank = <1>; };