From patchwork Thu Feb 28 12:44:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_M=C3=BCller?= X-Patchwork-Id: 2197451 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 1358ADF2A2 for ; Thu, 28 Feb 2013 12:46:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752549Ab3B1MqZ (ORCPT ); Thu, 28 Feb 2013 07:46:25 -0500 Received: from mail-ee0-f53.google.com ([74.125.83.53]:42937 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534Ab3B1MqY (ORCPT ); Thu, 28 Feb 2013 07:46:24 -0500 Received: by mail-ee0-f53.google.com with SMTP id e53so1401925eek.26 for ; Thu, 28 Feb 2013 04:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=eqtKne1B61IAu8L4hd+Imi27YcNfBW5uzjr0G2Su4KM=; b=Zlsrjx4TWc1KSP6PWMLEny8gzAglS87reHWz1PrNsArR82JV6L02QYG3DCstcrDD6i DN2/ecD+eiYzUOrRFTGtwNPxmS3xyBXtD4MGlpHZoIyRAXuCDXKIJRUbQj5M8WU1poVR 1d4jximTV3WbZ6VkQzQVrnCxpDaTSQxG7MlXtk/fctDXnwiTjyP6AW3/ALzcmCTwP5U2 QZX8FqRTjX0yrFujlCYKSu6w9jEH8POu+wIB0FJzYaFeVRqCP1rK4V7xVnJIvpktwjjz CyZaoF+jGG6SzAZda6JnBqSAN3WUKpeE/ekjUqKAb2c+e54DLw/A2yWFzY0RVJZwjryr e1QQ== X-Received: by 10.14.182.137 with SMTP id o9mr16599732eem.13.1362055582949; Thu, 28 Feb 2013 04:46:22 -0800 (PST) Received: from localhost.localdomain (ip-95-223-251-141.unitymediagroup.de. [95.223.251.141]) by mx.google.com with ESMTPS id l8sm11691759een.10.2013.02.28.04.46.21 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 28 Feb 2013 04:46:22 -0800 (PST) From: =?UTF-8?q?Andreas=20M=C3=BCller?= To: linux-omap@vger.kernel.org Cc: steve@sakoman.com Subject: [PATCH] board-overo.c: enable TWL4030 power off Date: Thu, 28 Feb 2013 13:44:21 +0100 Message-Id: <1362055461-27154-1-git-send-email-schnitzeltony@googlemail.com> X-Mailer: git-send-email 1.7.6.5 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Signed-off-by: Andreas Müller --- arch/arm/mach-omap2/board-overo.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 86bab51..b975c72 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = { .consumer_supplies = overo_vmmc1_supply, }; +static struct twl4030_power_data overo_power_data = { + .use_poweroff = true, +}; + static struct twl4030_platform_data overo_twldata = { .gpio = &overo_gpio_data, .vmmc1 = &overo_vmmc1, + .power = &overo_power_data, }; static int __init overo_i2c_init(void)