From patchwork Tue Apr 17 10:44:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7897 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 0A62A23E00 for ; Tue, 17 Apr 2012 10:45:06 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id C8FEDA181C2 for ; Tue, 17 Apr 2012 10:45:05 +0000 (UTC) Received: by yhpp61 with SMTP id p61so3618474yhp.11 for ; Tue, 17 Apr 2012 03:45:05 -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=h3TNXzq/WM6XuuqRO95dK81kNgWhYGV+lbeP4uDqdZI=; b=F3rKtOApnOxK2QoOwL5Cde5zukyhCV2KeakXA2ZpVY/aRKNVd72eKbgg075bxZwn84 tRYEukhJ9NJQtLKLIbXbYN9oUMPhn+KaYSNzhPAKRMrLCNIziEgAjl4QOY4QvVw/AAUQ gFsa1bqGqmZv3x1T2WGoqYF5hnbO7d+ZdLBTSMBEULuaJkzJeYLH1MImo1S5VX3y+BTD YzAJ9y2TVX6crzFXIJIu+qxNy+VbpBaiUZXHsLkWaNAvzEdS6fpQ9sUGiCa0xLwK+3ts 2uDCzAsf0jIns5mqyojRwpuu396fKl7n5fVKMPguS6NdQGXqvApbU9VNjqTx6pPBybBR EKdg== Received: by 10.50.196.230 with SMTP id ip6mr8599138igc.49.1334659505154; Tue, 17 Apr 2012 03:45:05 -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 x6csp138710ibt; Tue, 17 Apr 2012 03:45:04 -0700 (PDT) Received: by 10.180.90.102 with SMTP id bv6mr5953884wib.6.1334659504036; Tue, 17 Apr 2012 03:45:04 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id k51si21481393weq.1.2012.04.17.03.45.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Apr 2012 03:45:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.170; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by wibhr17 with SMTP id hr17so487641wib.1 for ; Tue, 17 Apr 2012 03:45:03 -0700 (PDT) Received: by 10.216.134.136 with SMTP id s8mr9181105wei.6.1334659503380; Tue, 17 Apr 2012 03:45:03 -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 fn2sm42069492wib.0.2012.04.17.03.45.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Apr 2012 03:45:02 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, linux@arm.linux.org.uk, Lee Jones Subject: [PATCH 10/16] drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation Date: Tue, 17 Apr 2012 11:44:02 +0100 Message-Id: <1334659448-11521-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1334659448-11521-1-git-send-email-lee.jones@linaro.org> References: <1334659448-11521-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQm8K0h1LP5CfFfKJ+NKwK9p+llHqVIgmOMtCcJGYooqhfH2LHSjGzTthXafebO/T3Bn1Tvl 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..d0381fe 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. +- gpio-interrupt : Marks the device node as a GPIO 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>; };