From patchwork Tue Apr 2 08:51:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 2376381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 088173FDDA for ; Tue, 2 Apr 2013 08:54:33 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UMwx5-0003KZ-It; Tue, 02 Apr 2013 08:52:23 +0000 Received: from mail-ee0-f45.google.com ([74.125.83.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UMwx2-0003JQ-CY for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2013 08:52:20 +0000 Received: by mail-ee0-f45.google.com with SMTP id b57so94134eek.32 for ; Tue, 02 Apr 2013 01:52:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=9ICnBmvtNmES0TkaiwD3snsznSDfCp5cu8/yoleM38Q=; b=aGkxmhpKfT/1BYcDzgrUP/2v84LAgPM8jUOeX0c/qCNzqIWJqKLBJVI3xYIFWEperZ lsdZpl2jSsmrhYqeEhpSy3efjNeGO1AI6aJ/H3SWYdllf7nWxIjwfi9dubJ+0mpwVccG sqvflzXkrTbaYg1u82fjcvXimLwmsFX9SDVPFlBkfnYVD5mxl7IKKlJRZ3oqqfS+pnwY H3eebeUbwxJL24/24BdYurThbM5lsh6RLciolSbFKczUCQP7bc7BfeJCZcnZB9hnKS/b 06SjF3JK5EX6x3Xc0+ewXT4d7z0GKvs8yBxV3rYxxtaz4IUdw7rlSODT0wxxvprwHNhT IMvg== X-Received: by 10.14.183.67 with SMTP id p43mr46676199eem.10.1364892738325; Tue, 02 Apr 2013 01:52:18 -0700 (PDT) Received: from localhost ([2a01:2003:1:1e91:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPS id s3sm1164154eem.4.2013.04.02.01.52.05 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 01:52:17 -0700 (PDT) From: Fabio Baltieri To: Mark Brown Subject: [PATCH RESEND] ARM: ux500: update V-INTCORE constraints Date: Tue, 2 Apr 2013 10:51:56 +0200 Message-Id: <1364892716-25505-1-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <20130402084658.GD23065@opensource.wolfsonmicro.com> References: <20130402084658.GD23065@opensource.wolfsonmicro.com> X-Gm-Message-State: ALoCoQk4tAlI458uN0TFlz0tVBVGjotHAOYmAkzaBN+Nr6rKtvW7cLtRhVJ+2x9r6sk1ZF3PhOva X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130402_045220_541170_34A0E9B0 X-CRM114-Status: GOOD ( 10.04 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.45 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Srinidhi Kasagar , Fabio Baltieri , Linus Walleij , linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Update V-INTCORE regulator constraints to allow voltage and configuration changes from consumer drivers. Signed-off-by: Fabio Baltieri --- arch/arm/mach-ux500/board-mop500-regulators.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 2a17bc5..0a428db 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -392,7 +392,15 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { [AB8500_LDO_INTCORE] = { .constraints = { .name = "V-INTCORE", - .valid_ops_mask = REGULATOR_CHANGE_STATUS, + .min_uV = 1250000, + .max_uV = 1350000, + .input_uV = 1800000, + .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | + REGULATOR_CHANGE_STATUS | + REGULATOR_CHANGE_MODE | + REGULATOR_CHANGE_DRMS, + .valid_modes_mask = REGULATOR_MODE_NORMAL | + REGULATOR_MODE_IDLE, }, .num_consumer_supplies = ARRAY_SIZE(ab8500_vintcore_consumers), .consumer_supplies = ab8500_vintcore_consumers,