From patchwork Wed Sep 19 09:43:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1476611 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 1F8E3DF238 for ; Wed, 19 Sep 2012 09:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755798Ab2ISJmq (ORCPT ); Wed, 19 Sep 2012 05:42:46 -0400 Received: from na3sys009aog133.obsmtp.com ([74.125.149.82]:33134 "EHLO na3sys009aog133.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755489Ab2ISJmY (ORCPT ); Wed, 19 Sep 2012 05:42:24 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob133.postini.com ([74.125.148.12]) with SMTP ID DSNKUFmTgI3x/StrDr8OgKC8N21fX+aBa7ky@postini.com; Wed, 19 Sep 2012 02:42:24 PDT Received: by obbuo13 with SMTP id uo13so183804obb.19 for ; Wed, 19 Sep 2012 02:42:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=jm7BzgmD1xpf3MYFQe29YtsNjs+ulayNVgrH+3VxAEA=; b=cAN/uPK8ulxmVIBElUcZ7aYrh2IG+9TtdfRXf86+1JngkhAtywiaE7U3+pMqS4r6cg uvuktbI57NUwQ6v2VRPFCMcuvPuIp+OKdOzaUhMZEqgB1+rm/9x0eh6NbhPRZytTplsu 1oYzoYiWvBZvPdlINchvIXfqGCbTMdqPWdI/4aFLRG/iOwDtYSFD/wLow5Bn0utrPV5+ Olzy1/HbFtu4I0vdztFT25huwnEOm/re71PdLHozbtYprfUzHQRmSwOWf8sLm4LT5oWh ens1Coe0AEO3dUXUJ46pfKhFbq3ATvblc+O2HfnqXR8vunolMwtU8JB/o4bTo3mQ3N1c C7WA== Received: by 10.60.172.70 with SMTP id ba6mr70862oec.104.1348047743724; Wed, 19 Sep 2012 02:42:23 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id jd10sm2179119obb.13.2012.09.19.02.42.21 (version=SSLv3 cipher=OTHER); Wed, 19 Sep 2012 02:42:23 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren Cc: Benoit Cousson , Samuel Ortiz , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org Subject: [PATCH 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040 Date: Wed, 19 Sep 2012 12:43:05 +0300 Message-Id: <1348047785-1681-3-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1348047785-1681-1-git-send-email-peter.ujfalusi@ti.com> References: <1348047785-1681-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQm+ayyMTQ5UIHrXEfksTzg3nddX6SFTSdqzPRQmMLddrYUJZrNDywkqjDeGMfJ82a5e3UJ0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add the needed properties for twl6040 so the GPO functionality can be used by other drivers. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap4-panda.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index 20b966e..94adabb 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts @@ -71,6 +71,9 @@ twl6040: twl@4b { compatible = "ti,twl6040"; + gpio-controller; + #gpio-cells = <1>; + reg = <0x4b>; /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */