From patchwork Fri Jun 7 16:11:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17688 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EE1852395F for ; Fri, 7 Jun 2013 16:12:06 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id jz10sf4512893veb.9 for ; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=gQf8mfeS2w2xJ1nAwTsRizxwVD1V51dePwFur6xNTqM=; b=LAxNBSSUcj6W8dX5uXH4nuUeNzkK7XKrJ0VX1aW4n7IUzWOdBImfJOhete5ZNIuYfu snfKq/o5b/AA35VCxk9pQxDxd4T4S7uhNqzWujHaHKLnbSlIOBLEN0XjI/rMP5u3a/wH X9uxJoJOlzDhJWjb7SEHJIwTSkyMBIyDjzIcA84j5ZaqLqYvLKmAQkWYeZR4NXp4c4hh uc5ImS2yrETwtpTgDUcrFbB/aua+QehS8aRH3bczgwvAcv+qUM2iJs85XoIh3Id/vEiV uJ/++iz/KyXyRR4bSpKfBU0NW5/PpVGtAAOk9AB+ZcKp9YnZxVh7/o4VOZvCXTRa2yd1 pfag== X-Received: by 10.58.133.49 with SMTP id oz17mr1110641veb.24.1370621526505; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.73.37 with SMTP id i5ls1928121qev.54.gmail; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) X-Received: by 10.52.101.230 with SMTP id fj6mr20082243vdb.125.1370621526291; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [2607:f8b0:400c:c02::22a]) by mx.google.com with ESMTPS id p20si43678457veh.30.2013.06.07.09.12.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:12:06 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22a; Received: by mail-vb0-f42.google.com with SMTP id i3so2520308vbh.1 for ; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) X-Received: by 10.220.170.72 with SMTP id c8mr2315206vcz.14.1370621526168; Fri, 07 Jun 2013 09:12:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp120738vcb; Fri, 7 Jun 2013 09:12:05 -0700 (PDT) X-Received: by 10.14.94.3 with SMTP id m3mr38853514eef.66.1370621524992; Fri, 07 Jun 2013 09:12:04 -0700 (PDT) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [2a00:1450:4013:c01::22b]) by mx.google.com with ESMTPS id v46si58439571een.137.2013.06.07.09.12.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:12:04 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c01::22b is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:4013:c01::22b; Received: by mail-ea0-f171.google.com with SMTP id m14so3697621eaj.2 for ; Fri, 07 Jun 2013 09:12:04 -0700 (PDT) X-Received: by 10.14.241.139 with SMTP id g11mr39472641eer.78.1370621524303; Fri, 07 Jun 2013 09:12:04 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id c5sm97260340eeu.8.2013.06.07.09.12.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:12:03 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, broonie@linaro.org, Lee Jones Subject: [PATCH 10/10] regulator: ab8500: Provide supply names for the AUX regulators Date: Fri, 7 Jun 2013 17:11:28 +0100 Message-Id: <1370621488-18130-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> References: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlagCpi5PM9ivbmk98p5r6yIUeYNXslfB0rnnGW+awJyJokh6uANxzN22JmjA5fgUsuTAg7 X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On some platforms the AUX[1|2|3] regulators are supplied voltage by a separate regulator. For example on Snowball these are provided by the EXT3. If we list them here, we can supply voltage to them by simply listing them in as a consumer of EXT3 in the Snowball case. 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 aea9fdae..603f192 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -719,6 +719,7 @@ static struct ab8500_regulator_info .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages), .volt_table = ldo_vauxn_voltages, .enable_time = 200, + .supply_name = "vin", }, .load_lp_uA = 5000, .update_bank = 0x04, @@ -741,6 +742,7 @@ static struct ab8500_regulator_info .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages), .volt_table = ldo_vauxn_voltages, .enable_time = 200, + .supply_name = "vin", }, .load_lp_uA = 5000, .update_bank = 0x04, @@ -763,6 +765,7 @@ static struct ab8500_regulator_info .n_voltages = ARRAY_SIZE(ldo_vaux3_voltages), .volt_table = ldo_vaux3_voltages, .enable_time = 450, + .supply_name = "vin", }, .load_lp_uA = 5000, .update_bank = 0x04,