From patchwork Wed Sep 19 09:43:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1476601 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 94834DF238 for ; Wed, 19 Sep 2012 09:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755473Ab2ISJmo (ORCPT ); Wed, 19 Sep 2012 05:42:44 -0400 Received: from na3sys009aog135.obsmtp.com ([74.125.149.84]:56691 "EHLO na3sys009aog135.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754866Ab2ISJmW (ORCPT ); Wed, 19 Sep 2012 05:42:22 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob135.postini.com ([74.125.148.12]) with SMTP ID DSNKUFmTfaNE7vAHx5pMLHrDmKJhOfYltanC@postini.com; Wed, 19 Sep 2012 02:42:22 PDT Received: by obbuo13 with SMTP id uo13so183770obb.19 for ; Wed, 19 Sep 2012 02:42:21 -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=xhJXu7Br7eBDObMUj/ss588q/0IjifAY15avJqCTJ0g=; b=bR0NjG24pA/fdQjLyFnzv5303L3933xOWqoQ/bGvCN2y696VkUIcXJFhMcoH4p3Y/q AalbTlJyw43GDqIsj1KbG2Z6gL/yuCoEUEX8f04afPqwLR58OBbT+tgI467SjR8Fz/sa 7bdNOjOEdcwEiQuYs4DRIfOjQYII6zpdKlO/cyAI8EvFEYUdVrh2Wu95SYSGmbhVquIl mI6gmof35Lo/Mxq+ZdbQjOatZphdnZVsOvvqNDhjuyNIeaBfThkwvuUctfUoM9ZufqeF 9dKFgTX16/O9HKWXK5muh2fj5KgG4cFTRzxQwdgtu3tN8vY1ZXHqNwxa4h9ni8R7AjRW X3VQ== Received: by 10.60.2.161 with SMTP id 1mr2473933oev.48.1348047741284; Wed, 19 Sep 2012 02:42:21 -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.18 (version=SSLv3 cipher=OTHER); Wed, 19 Sep 2012 02:42:20 -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 1/2] ARM/dts: omap4-sdp: Enable GPO functionality for twl6040 Date: Wed, 19 Sep 2012 12:43:04 +0300 Message-Id: <1348047785-1681-2-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: ALoCoQkDk0MZI+s5jv4hlz0Uk4q6D37p7HLVpBF1LpsccN8K0qP3KgD2wnncChxVdoH90UN2Slhz 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-sdp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 94a23b3..2c4fc1e 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -155,6 +155,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 */