From patchwork Thu Sep 6 13:06:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1414841 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 5E1B5DFFCF for ; Thu, 6 Sep 2012 13:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753824Ab2IFNGH (ORCPT ); Thu, 6 Sep 2012 09:06:07 -0400 Received: from na3sys009aog128.obsmtp.com ([74.125.149.141]:60830 "EHLO na3sys009aog128.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531Ab2IFNGE (ORCPT ); Thu, 6 Sep 2012 09:06:04 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob128.postini.com ([74.125.148.12]) with SMTP ID DSNKUEifvMZTNkro8dvaDhXLhhJLMzpIpS0S@postini.com; Thu, 06 Sep 2012 06:06:04 PDT Received: by obbuo13 with SMTP id uo13so2390742obb.19 for ; Thu, 06 Sep 2012 06:06:04 -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=Ok8XkOs3CntPnpZtA7Y+5nHpiKIwythXinfmtDXo2bQ=; b=KIYPjBaa4c9mYaui+5Ak9VCNATW/rBMWLvUiuPeRwuJCxMqWHz5bD8kbz6lyr47hJD nzMn4MxVPiN/punUv1X3kfwb9muJTF4skVTv7W1K5Q+GOby+d37UJIi/UJqQPD/5hBE4 8b3gxLj+oUMzzlfp7F5wmVawfLLq6l1Qpm4VIe9Ij1Ds52Vr5XX4xV97/7TbNfJW1te0 tgCyeFrya1pWmhx8OpIM6p3bWDmyXomU9jKO6CGc7fOcBn5aHYTyChEvrvFpbrcI1MUX hW8BFgjBqdPtsPYdc85GJVdZr7fo6qWY2yX3sdgjijg3gyZ4aZRzAM0y/dr3D3pQUyxb r8Lw== Received: by 10.182.64.47 with SMTP id l15mr1946150obs.4.1346936763856; Thu, 06 Sep 2012 06:06:03 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id g8sm1903772obz.16.2012.09.06.06.06.01 (version=SSLv3 cipher=OTHER); Thu, 06 Sep 2012 06:06:03 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren , Benoit Cousson Cc: 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: Thu, 6 Sep 2012 16:06:17 +0300 Message-Id: <1346936778-18303-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1346936778-18303-1-git-send-email-peter.ujfalusi@ti.com> References: <1346936778-18303-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQnx2o2io9A96HX/L2ad2yRbIPDXRPSzmwLkFbzryAhGY+bVAM1BEZ1L7E4Itzgp4bFvZ210 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 f3ff4192..10e14ab 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -128,6 +128,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 */