From patchwork Thu Mar 11 08:55:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 84823 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2B8tVvs020383 for ; Thu, 11 Mar 2010 08:55:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753401Ab0CKIz2 (ORCPT ); Thu, 11 Mar 2010 03:55:28 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:57265 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753166Ab0CKIz2 (ORCPT ); Thu, 11 Mar 2010 03:55:28 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o2B8tKPl018744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Mar 2010 02:55:23 -0600 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o2B8tH7r021130; Thu, 11 Mar 2010 14:25:18 +0530 (IST) From: hvaibhav@ti.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, Tomi.Valkeinen@nokia.com, Vaibhav Hiremath Subject: [PATCH-Fix] OMAP: Add DSI regulator supply to OMAP3EVM board file Date: Thu, 11 Mar 2010 14:25:17 +0530 Message-Id: <1268297717-8062-1-git-send-email-hvaibhav@ti.com> X-Mailer: git-send-email 1.6.2.4 In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 11 Mar 2010 08:55:31 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 017bb2f..a05de10 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c @@ -514,9 +514,15 @@ static struct regulator_init_data omap3_evm_vdac = { }; /* VPLL2 for digital video outputs */ -static struct regulator_consumer_supply omap3_evm_vpll2_supply = { - .supply = "vdvi", - .dev = &omap3_evm_lcd_device.dev, +static struct regulator_consumer_supply omap3_evm_vpll2_supplies[] = { + { + .supply = "vdvi", + .dev = &omap3_evm_lcd_device.dev, + }, + { + .supply = "vdds_dsi", + .dev = &omap3_evm_dss_device.dev, + }, }; static struct regulator_init_data omap3_evm_vpll2 = { @@ -530,8 +536,8 @@ static struct regulator_init_data omap3_evm_vpll2 = { .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, }, - .num_consumer_supplies = 1, - .consumer_supplies = &omap3_evm_vpll2_supply, + .num_consumer_supplies = ARRAY_SIZE(omap3_evm_vpll2_supplies), + .consumer_supplies = omap3_evm_vpll2_supplies, }; static struct twl4030_platform_data omap3evm_twldata = {