From patchwork Mon Sep 3 13:54:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Vaussard X-Patchwork-Id: 1399981 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 83DA93FC85 for ; Mon, 3 Sep 2012 13:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756463Ab2ICNzT (ORCPT ); Mon, 3 Sep 2012 09:55:19 -0400 Received: from smtp4.epfl.ch ([128.178.224.218]:40834 "HELO smtp4.epfl.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756455Ab2ICNzQ (ORCPT ); Mon, 3 Sep 2012 09:55:16 -0400 Received: (qmail 10057 invoked by uid 107); 3 Sep 2012 13:55:14 -0000 X-Virus-Scanned: ClamAV Received: from lsro1pc340.epfl.ch (HELO lsro1pc340.epfl.ch) (128.178.145.154) (authenticated) by smtp4.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPA; Mon, 03 Sep 2012 15:55:14 +0200 From: Florian Vaussard To: linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: Grant Likely , Linus Walleij , Benoit Cousson , Rob Herring , Tony Lindgren , linux-arm-kernel@lists.infradead.org, Florian Vaussard Subject: [PATCH 3/3] gpio-twl4030: updates the bindings for new dt properties Date: Mon, 3 Sep 2012 15:54:51 +0200 Message-Id: <1346680491-4211-4-git-send-email-florian.vaussard@epfl.ch> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1346680491-4211-1-git-send-email-florian.vaussard@epfl.ch> References: <1346680491-4211-1-git-send-email-florian.vaussard@epfl.ch> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add the new properties to the documentation of bindings. Signed-off-by: Florian Vaussard Acked-by: Linus Walleij --- .../devicetree/bindings/gpio/gpio-twl4030.txt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt b/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt index 16695d9..690a32e 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt @@ -11,6 +11,11 @@ Required properties: - interrupt-controller: Mark the device node as an interrupt controller The first cell is the GPIO number. The second cell is not used. +- ti,use-leds : Enables LEDA and LEDB outputs if set to "true" +- ti,debounce : if n-th bit is set, debounces GPIO-n +- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) +- ti,pullups : if n-th bit is set, set a pullup on GPIO-n +- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n Example: @@ -20,4 +25,5 @@ twl_gpio: gpio { gpio-controller; #interrupt-cells = <2>; interrupt-controller; + ti,use-leds = "true"; };