From patchwork Tue Jun 21 12:12:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 901262 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5LCCMMf011816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Jun 2011 12:12:43 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QYzoW-0001Kn-AE; Tue, 21 Jun 2011 12:12:16 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QYzoV-0004Ta-Up; Tue, 21 Jun 2011 12:12:15 +0000 Received: from opensource.wolfsonmicro.com ([80.75.67.52] helo=opensource2.wolfsonmicro.com) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QYzoO-0004Sv-4r for linux-arm-kernel@lists.infradead.org; Tue, 21 Jun 2011 12:12:12 +0000 Received: from finisterre.wolfsonmicro.main (cpc1-sgyl4-0-0-cust394.sgyl.cable.virginmedia.com [80.192.23.139]) by opensource2.wolfsonmicro.com (Postfix) with ESMTPSA id 6F29B1101AA; Tue, 21 Jun 2011 13:12:05 +0100 (BST) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.76) (envelope-from ) id 1QYzoL-0006kv-81; Tue, 21 Jun 2011 13:12:05 +0100 From: Mark Brown To: Kukjin Kim Subject: [PATCH 2/2] ARM: Configure supplies for all Cragganmore regulators Date: Tue, 21 Jun 2011 13:12:01 +0100 Message-Id: <1308658321-25936-2-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1308658321-25936-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1308658321-25936-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110621_081208_405242_AB6895EB X-CRM114-Status: GOOD ( 11.97 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: patches@opensource.wolfsonmicro.com, linux-arm-kernel@lists.infradead.org, Mark Brown X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 21 Jun 2011 12:12:43 +0000 (UTC) All the regulators on the system are supplied from the fixed wall supply. While there's no functional value in telling the regulator core this it does ensure that as a regulator maintainer I'll be exercising the supply logic frequently. Signed-off-by: Mark Brown --- arch/arm/mach-s3c64xx/mach-crag6410.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index f01e440..a2c080e 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -367,6 +367,7 @@ static struct regulator_init_data vddarm __initdata = { }, .num_consumer_supplies = ARRAY_SIZE(vddarm_consumers), .consumer_supplies = vddarm_consumers, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddint __initdata = { @@ -406,6 +407,7 @@ static struct regulator_init_data vddmmc __initdata = { }, .num_consumer_supplies = ARRAY_SIZE(vddmmc_consumers), .consumer_supplies = vddmmc_consumers, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddotgi __initdata = { @@ -413,6 +415,7 @@ static struct regulator_init_data vddotgi __initdata = { .name = "VDDOTGi", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddotg __initdata = { @@ -420,6 +423,7 @@ static struct regulator_init_data vddotg __initdata = { .name = "VDDOTG", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddhi __initdata = { @@ -427,6 +431,7 @@ static struct regulator_init_data vddhi __initdata = { .name = "VDDHI", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddadc __initdata = { @@ -434,6 +439,7 @@ static struct regulator_init_data vddadc __initdata = { .name = "VDDADC,VDDDAC", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddmem0 __initdata = { @@ -441,6 +447,7 @@ static struct regulator_init_data vddmem0 __initdata = { .name = "VDDMEM0", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddpll __initdata = { @@ -448,6 +455,7 @@ static struct regulator_init_data vddpll __initdata = { .name = "VDDPLL", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddlcd __initdata = { @@ -455,6 +463,7 @@ static struct regulator_init_data vddlcd __initdata = { .name = "VDDLCD", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct regulator_init_data vddalive __initdata = { @@ -462,6 +471,7 @@ static struct regulator_init_data vddalive __initdata = { .name = "VDDALIVE", .always_on = 1, }, + .supply_regulator = "WALLVDD", }; static struct wm831x_status_pdata banff_red_led __initdata = {