From patchwork Mon Feb 4 11:54:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14519 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 16DAA23F96 for ; Mon, 4 Feb 2013 11:58:11 +0000 (UTC) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by fiordland.canonical.com (Postfix) with ESMTP id C72D2A19236 for ; Mon, 4 Feb 2013 11:58:10 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so2023693veb.19 for ; Mon, 04 Feb 2013 03:58: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=Cuaift4BWPfHFVm6pcRb/T3x0EGVYTp4emIiAyAh7yA=; b=HdRjip29zsDqoXlrkbhQiuOzxM8FQxtDPi+1OlPKJQf7yjhAS0wBKNrskgXLHNy2n/ xMtyvPxhnUmWnan9bx8Zk7RwLwzSVibasPJAyyoKh77ExT/5V6nt90U/XosSAda+g2h9 gD+bQ+5oHy9kCOUrZQ00s1f0Tn6KTK4Zb2ftNdaYsp7RZk2V3ipMDuGq9O2ArzjVyS0V ZP57E1zfiFpY5Ms1tw2NDnSsr2Oa/MyXQ0vqNWZuPFCP36Li715PQk5nk4MlNdPIZcwR kKvuGjt7TXEWUYTEjsa1iHl0XU0y8rp8Kv24omJES0rVJ1zvJ9Gr7OW1ZxYK/2tcE/Lq oJKw== X-Received: by 10.58.231.196 with SMTP id ti4mr17927933vec.25.1359979090335; Mon, 04 Feb 2013 03:58: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 zo8csp83148vec; Mon, 4 Feb 2013 03:58:09 -0800 (PST) X-Received: by 10.194.235.6 with SMTP id ui6mr34763933wjc.12.1359979089472; Mon, 04 Feb 2013 03:58:09 -0800 (PST) Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by mx.google.com with ESMTPS id gz5si3480063wib.34.2013.02.04.03.58.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:58:09 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22a; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c05::22a 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-f170.google.com with SMTP id hm11so4056362wib.5 for ; Mon, 04 Feb 2013 03:58:09 -0800 (PST) X-Received: by 10.180.93.41 with SMTP id cr9mr9885217wib.19.1359979089089; Mon, 04 Feb 2013 03:58:09 -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.58.06 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:58:08 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Lee Jones Subject: [PATCH 70/73] regulator: ab8500: Set enable enable_time in regulator_desc Date: Mon, 4 Feb 2013 11:54:25 +0000 Message-Id: <1359978868-28736-71-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: ALoCoQkBkYCH6eZnJIBrtoktbXIwYXIv9NLpBXPLMXcChYfy5hmyA0+EOyD/M2MJJ5DaMNYLZw+P Allow the regulator framework to directly access the time it takes any given regulator to settle. This saves time and code because without it we would have to implement a dedication function to read the value from elsewhere. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 6a96618..8ec5c4f 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -1097,6 +1097,7 @@ static struct ab8500_regulator_info .owner = THIS_MODULE, .n_voltages = 1, .volt_table = fixed_2000000_voltage, + .enable_time = 10000, }, .delay = 10000, .load_lp_uA = 1000, @@ -1361,6 +1362,7 @@ static struct ab8500_regulator_info .owner = THIS_MODULE, .n_voltages = 1, .volt_table = fixed_2000000_voltage, + .enable_time = 10000, }, .delay = 10000, .load_lp_uA = 1000, @@ -1657,6 +1659,7 @@ static struct ab8500_regulator_info .id = AB8540_LDO_TVOUT, .owner = THIS_MODULE, .n_voltages = 1, + .enable_time = 10000, }, .delay = 10000, .load_lp_uA = 1000,