From patchwork Mon Feb 4 11:53:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14460 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 60C8E23F96 for ; Mon, 4 Feb 2013 11:56:11 +0000 (UTC) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by fiordland.canonical.com (Postfix) with ESMTP id 06CBBA1877A for ; Mon, 4 Feb 2013 11:56:10 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id d10so4585536vea.40 for ; Mon, 04 Feb 2013 03:56:10 -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=plEDBakqB7CuFQI7ypr4g3ZkTnlzH9vGhZCUAruf9dI=; b=nY38fMnv5TXEKpXz0gUP6hBo/6UtdrsSrAqwQTBszkSeIbNRsPP8JVCGHaWd5jt55l U7S1EOHdaW/ityDXCPk763u1cH/R619IpeZbJFl0E2SDBQHSR+es9W3UbkgH1bUXPk+7 t10eydPfb6HWiY02M2n/cGWnp5aU8ykcQkIQ5SA2yOTTa6d2sj/RtwBFFS5vb6uvKKd4 naPkX3wfKtbBTmd5C8GsEJelbqNfXrEELXOsEyqk5aB7/4nRVzYKnxvV9AWrvX2Kd3ky WGQtWqKfU7mdwlf4JH8W1BJSdl6V/NkhqKJD5LcQMVsqMvT0iKFOG9gd80SUAWpMcC1u luTg== X-Received: by 10.220.219.204 with SMTP id hv12mr21310550vcb.71.1359978970474; Mon, 04 Feb 2013 03:56:10 -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 zo8csp83030vec; Mon, 4 Feb 2013 03:56:09 -0800 (PST) X-Received: by 10.180.85.103 with SMTP id g7mr9996754wiz.29.1359978969302; Mon, 04 Feb 2013 03:56:09 -0800 (PST) Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]) by mx.google.com with ESMTPS id d10si5710034wjx.214.2013.02.04.03.56.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:56:09 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::234 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::234; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c03::234 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-we0-f180.google.com with SMTP id k14so4604886wer.25 for ; Mon, 04 Feb 2013 03:56:08 -0800 (PST) X-Received: by 10.195.13.200 with SMTP id fa8mr34581294wjd.15.1359978968888; Mon, 04 Feb 2013 03:56:08 -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.56.06 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:56:07 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Bengt Jonsson , Lee Jones Subject: [PATCH 11/73] regulator: ab8500: Removed initialization of body biasing Date: Mon, 4 Feb 2013 11:53:26 +0000 Message-Id: <1359978868-28736-12-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: ALoCoQknh/5tBNom88C4jl0JmRb6Lvg+tcKyOrpx00AmlikNjbTzgUeH3wpgHC2WC0yIfkhY2Mxd From: Bengt Jonsson Body biasing is handled by PRCMU and should not be overwritten by the kernel. Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones Reviewed-by: Jonas ABERG --- arch/arm/mach-ux500/board-mop500-regulators.c | 18 ------------------ drivers/regulator/ab8500.c | 18 ------------------ include/linux/regulator/ab8500.h | 3 --- 3 files changed, 39 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index ac512bc..a138587 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -239,24 +239,6 @@ ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS] = { */ INIT_REGULATOR_REGISTER(AB8500_REGUCTRL1VAMIC, 0x03, 0x00), /* - * VBBN = force OFF - * VBBP = force OFF - * NOTE! PRCMU register - */ - INIT_REGULATOR_REGISTER(AB8500_ARMREGU2, 0x0f, 0x00), - /* - * VBBNSel1 = VBBP = VBBPFB - * VBBPSel1 = 0 V - * NOTE! PRCMU register - */ - INIT_REGULATOR_REGISTER(AB8500_VBBSEL1, 0x0f, 0x00), - /* - * VBBNSel2 = VBBP = VBBPFB - * VBBPSel2 = 0 V - * NOTE! PRCMU register - */ - INIT_REGULATOR_REGISTER(AB8500_VBBSEL2, 0x0f, 0x00), - /* * Vsmps1Regu = HW control * Vsmps1SelCtrl = Vsmps1 voltage defined by Vsmsp1Sel2 */ diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 0c4a871..d88ff3e 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -749,12 +749,6 @@ static struct ab8500_reg_init ab8500_reg_init[] = { */ REG_INIT(AB8500_REGUCTRL1VAMIC, 0x03, 0x84, 0x03), /* - * 0x03, VBBPRegu - * 0x0c, VBBNRegu - * NOTE! PRCMU register - */ - REG_INIT(AB8500_ARMREGU2, 0x04, 0x01, 0x0f), - /* * 0x03, Vsmps1Regu * 0x0c, Vsmps1SelCtrl * 0x10, Vsmps1AutoMode @@ -803,18 +797,6 @@ static struct ab8500_reg_init ab8500_reg_init[] = { */ REG_INIT(AB8500_VRF1VAUX3REGU, 0x04, 0x0a, 0x0f), /* - * 0x0c, VBBPSel1 - * 0x03, VBBNSel1 - * NOTE! PRCMU register - */ - REG_INIT(AB8500_VBBSEL1, 0x04, 0x11, 0x0f), - /* - * 0x0c, VBBNSel2 - * 0x03, VBBPSel2 - * NOTE! PRCMU register - */ - REG_INIT(AB8500_VBBSEL2, 0x04, 0x12, 0x0f), - /* * 0x3f, Vsmps1Sel1 */ REG_INIT(AB8500_VSMPS1SEL1, 0x04, 0x13, 0x3f), diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h index 7ac3281..dd7944f 100644 --- a/include/linux/regulator/ab8500.h +++ b/include/linux/regulator/ab8500.h @@ -78,7 +78,6 @@ enum ab8500_regulator_reg { AB8500_REGUMISC1, AB8500_VAUDIOSUPPLY, AB8500_REGUCTRL1VAMIC, - AB8500_ARMREGU2, /* NOTE! PRCMU register */ AB8500_VSMPS1REGU, AB8500_VSMPS2REGU, AB8500_VSMPS3REGU, /* NOTE! PRCMU register */ @@ -87,8 +86,6 @@ enum ab8500_regulator_reg { AB8500_EXTSUPPLYREGU, AB8500_VAUX12REGU, AB8500_VRF1VAUX3REGU, - AB8500_VBBSEL1, /* NOTE! PRCMU register */ - AB8500_VBBSEL2, /* NOTE! PRCMU register */ AB8500_VSMPS1SEL1, AB8500_VSMPS1SEL2, AB8500_VSMPS1SEL3,