From patchwork Thu Sep 6 13:06:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1414851 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 EC918DFFCF for ; Thu, 6 Sep 2012 13:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753830Ab2IFNGI (ORCPT ); Thu, 6 Sep 2012 09:06:08 -0400 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:49676 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753411Ab2IFNGH (ORCPT ); Thu, 6 Sep 2012 09:06:07 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKUEifvgnR3Z6+T3RHAnT/2zvW7oyMtoUi@postini.com; Thu, 06 Sep 2012 06:06:06 PDT Received: by obbuo13 with SMTP id uo13so2390801obb.19 for ; Thu, 06 Sep 2012 06:06:06 -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=WVz8a8I1nsqYo/NAKKEbx79qIMEJ0MeInNDd4dni7vs=; b=P8xsTSpV5rBsHhWsmZKgNOVSDhgR1mS0doI4KzXLzGpUAUZZWgYbJLdYva4VIHqSOg 5Gs2h84vcPVIsB9CG2U5q2Cr9PrW9p/xsaXfQAk+M0oyae1Lcsd/GtvGylxl9fyC/Jo2 EbQhgy0FqwOoH/7BVSZ/3nQ1zO5+30lL2VN5dBqghtVEiWoDrZF32Ysxeqmh9WwT/TLo ylTJ4WU746nnk7fEASfPr61hlTWGj6Rx2CKNmBngq4nvlsjq5hNuSCeVmuSzuAjPM6rU 6rv6AhmkkptjkfBlNTZClo0iHpsIdJMrptqcrCtSOSN/hLUJFjrE1L7VdL8XP1JyKKjI pIEw== Received: by 10.60.5.194 with SMTP id u2mr1873125oeu.24.1346936766016; Thu, 06 Sep 2012 06:06:06 -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.04 (version=SSLv3 cipher=OTHER); Thu, 06 Sep 2012 06:06:05 -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 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040 Date: Thu, 6 Sep 2012 16:06:18 +0300 Message-Id: <1346936778-18303-3-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: ALoCoQkhzHFQNCRLUP+mt671uhhmeFxbap1MFDfX6ww4m1UoJKJnxVQC2nSnNsz/pUtKRb+9/otS 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 d28cdc4..ed5ebdd 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 */