From: srinivas.kandagatla@linaro.org (Srinivas Kandagatla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] regulator: qcom-rpm: Make it possible to specify supply
Date: Fri, 30 Jan 2015 08:57:29 +0000 [thread overview]
Message-ID: <54CB4779.6070107@linaro.org> (raw)
In-Reply-To: <1422577377-31986-1-git-send-email-bjorn.andersson@sonymobile.com>
Hi Bjorn,
Thanks for sending this patch.. I almost forgot about this.
Shouldn?t we update the DT Bindings with this info?
Other than that:
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
--srini
On 30/01/15 00:22, Bjorn Andersson wrote:
> Make it possible to specify the supply of a regulator, through the
> vin-supply property in dt.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> ---
> drivers/regulator/qcom_rpm-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c
> index e3120bf..00c5cc3 100644
> --- a/drivers/regulator/qcom_rpm-regulator.c
> +++ b/drivers/regulator/qcom_rpm-regulator.c
> @@ -679,6 +679,7 @@ static int rpm_reg_probe(struct platform_device *pdev)
> vreg->desc.owner = THIS_MODULE;
> vreg->desc.type = REGULATOR_VOLTAGE;
> vreg->desc.name = pdev->dev.of_node->name;
> + vreg->desc.supply_name = "vin";
>
> vreg->rpm = dev_get_drvdata(pdev->dev.parent);
> if (!vreg->rpm) {
>
next prev parent reply other threads:[~2015-01-30 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 0:22 [PATCH] regulator: qcom-rpm: Make it possible to specify supply Bjorn Andersson
2015-01-30 8:57 ` Srinivas Kandagatla [this message]
2015-01-30 12:39 ` Mark Brown
2015-01-30 15:46 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54CB4779.6070107@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).