From patchwork Mon Feb 4 11:53:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14451 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7A63023F96 for ; Mon, 4 Feb 2013 11:55:53 +0000 (UTC) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by fiordland.canonical.com (Postfix) with ESMTP id 452BCA18610 for ; Mon, 4 Feb 2013 11:55:53 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id m8so3836481vcd.9 for ; Mon, 04 Feb 2013 03:55:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=jeXQKVfwIxXJMoZaZrdOhXLSuNHZq/XSfS+dv2ZVkKU=; b=ck8MTOg8BU3Dj+KmE0N/F6ZENQLAPLTC/7RiTnYbdkyHtholB/Rous4PQxt+NdGn9z MYwV9FUu131P+ORzRmMGVS8YlqpbCjVPNoJXQaSZalHrmY4ei2kcXVSQ0BUITWXXEgT/ RjwBeAhXco/UM0k1At8iSLYQZpT/1CTsPM5Pjf+9kHlNVmIf+bLRbBmVznQObGGkCSMf EQhUAJtmsXpD30nH57nqGUenItOZoBccxkbANWHLzLslTma1+JPzuoCJFo/pEKGybxy1 bI6bs5fdugeg1/a/R17/u+LcbJCjJSvQzc3cpJzRGz4G5LZCDmZfDietIsH33qnl1X79 95cQ== X-Received: by 10.220.153.143 with SMTP id k15mr21545431vcw.33.1359978952760; Mon, 04 Feb 2013 03:55:52 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp83010vec; Mon, 4 Feb 2013 03:55:52 -0800 (PST) X-Received: by 10.194.236.166 with SMTP id uv6mr34609698wjc.34.1359978951780; Mon, 04 Feb 2013 03:55:51 -0800 (PST) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx.google.com with ESMTPS id j12si3471077wiw.44.2013.02.04.03.55.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:55:51 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.182 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.182; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.182 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f182.google.com with SMTP id hi18so1490784wib.9 for ; Mon, 04 Feb 2013 03:55:51 -0800 (PST) X-Received: by 10.180.8.197 with SMTP id t5mr9325541wia.27.1359978951295; Mon, 04 Feb 2013 03:55:51 -0800 (PST) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id j9sm12937128wia.5.2013.02.04.03.55.49 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:55:50 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Lee Jones , Bengt Jonsson Subject: [PATCH 02/73] regulator: ab8500: Initialize Vrf1 regulator Date: Mon, 4 Feb 2013 11:53:17 +0000 Message-Id: <1359978868-28736-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1359978868-28736-1-git-send-email-lee.jones@linaro.org> References: <1359978868-28736-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkMnubNCwZV5DtqPGTe4p1REUdloQzcNPNwcTcWqOk987dGNT2Z6XAPw6oTf7Dlyv1lwRte Vrf1 regulator is put in HW control at initialization. Forcing this regulator to HW control in suspend is removed. Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones Reviewed-by: Martin PERSSON --- arch/arm/mach-ux500/board-mop500-regulators.c | 5 +++-- drivers/regulator/ab8500.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 0cc9edc..ba379f7 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -275,9 +275,10 @@ ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS] = { */ INIT_REGULATOR_REGISTER(AB8500_VAUX12REGU, 0x01), /* - * Vaux3regu = force off + * Vrf1Regu = HW control + * Vaux3Regu = force off */ - INIT_REGULATOR_REGISTER(AB8500_VRF1VAUX3REGU, 0x00), + INIT_REGULATOR_REGISTER(AB8500_VRF1VAUX3REGU, 0x08), /* * Vsmps1 = 1.15V */ diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index ac07fc8..b369411 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -619,9 +619,10 @@ static struct ab8500_reg_init ab8500_reg_init[] = { */ REG_INIT(AB8500_VAUX12REGU, 0x04, 0x09, 0x0f), /* + * 0x0c, Vrf1Regu * 0x03, Vaux3Regu */ - REG_INIT(AB8500_VRF1VAUX3REGU, 0x04, 0x0a, 0x03), + REG_INIT(AB8500_VRF1VAUX3REGU, 0x04, 0x0a, 0x0f), /* * 0x3f, Vsmps1Sel1 */