Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1256553

Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding
Date Tue, 27 Oct 2015 09:20:03 +0100
Message-ID <qo7E7-2QQ-15@gated-at.bofh.it> (permalink)
References <q7vjr-15e-3@gated-at.bofh.it> <q7vjs-15e-43@gated-at.bofh.it> <q8IxY-8vQ-21@gated-at.bofh.it> <qk14e-6og-13@gated-at.bofh.it> <qk6ng-5PQ-7@gated-at.bofh.it> <qkiHM-7dx-13@gated-at.bofh.it> <qkr8l-2Jf-3@gated-at.bofh.it> <qmxCH-Il-19@gated-at.bofh.it>
X-Original-To Mark Brown <broonie@kernel.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=0wOqf6ssXhF3k7UGqgZRFOiJnLQHo2fR5XaydeBaWao=; b=fYEVU79uG5SkgJr/6p6/yqIjZuI239K+D5x0n4uxK0waP22z9vIHF4xqqMb9Mkxo5r 6387xgGgi2EdyqZXPWQLM77dp1WdHj6nThhgF4VdNmCQii80N1w98pYNJiRze8Q6bJkt ZS1YmD2GUgzYxMY7mJuzzibV023Ieq6kbcO4qUTNdqeZTD49NzmuTLzJOWQCc6x24kKx J6E3iOGAVJhnB+a7ybRWD5K9kKLyAVLnH8Vl2Ae35AYh4CowjtNw3nNKuv3Gu/mbrGT0 jVPeOM3urNXUmW6ddPW08csAV/JPPQHdKY1euYezDPqBHFNsDqhNi19Xr5zt/b9Ic5ZA 4KcQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=0wOqf6ssXhF3k7UGqgZRFOiJnLQHo2fR5XaydeBaWao=; b=WgI1fPYP5CNsr1jVZvoxzBi7ntXVWoqDfu90Tvxwe3wP2e/Xb50SB6adRIdkQ/Buq+ VcsrLHnWMMY9sizargfRcIFLAiCViwprL8aS9rG6Y5bX09QNWEVtqFWFo7Jo9Bw+L6ma ZzDQ7J9k5X7cRiRnznMWWr5kCNmW+hUGnFA+opqEdxwEzWx1KPiP2IyB8NvwBHbk1pR2 +pfiXhpqtPxTMIn9zHmT/NY89PjV4vl75KoHvH8aLFejN1Ft9WG1LbuNGmLVDIPulUGc m/LOkNhf4XwOYLD/SSOhSQ2ix7mMNYH1VrCvHM/0xUNVdEdAOmpHDFPV5sMOJH5RExWW +uSg==
X-Gm-Message-State ALoCoQl1covrccExsu49mTDRADu2wnXvEbWQZJTKEitKAEMA3N0TRp3QDdn8n9A75R5ZVxSiWwFJ
X-Received by 10.68.225.199 with SMTP id rm7mr27336083pbc.0.1445933962221; Tue, 27 Oct 2015 01:19:22 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
X-Original-Cc Stephen Boyd <sboyd@codeaurora.org>, Rob Herring <robh@kernel.org>, Rafael Wysocki <rjw@rjwysocki.net>, nm@ti.com, linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, rob.herring@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, open list <linux-kernel@vger.kernel.org>, Mark Rutland <mark.rutland@arm.com>, Pawel Moll <pawel.moll@arm.com>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
X-Original-Date Tue, 27 Oct 2015 13:49:17 +0530
X-Original-Message-ID <20151027081917.GD5505@ubuntu>
X-Original-References <cover.1441972771.git.viresh.kumar@linaro.org> <2b87b162eabd1570ae2311e1ef8655acda72f678.1441972771.git.viresh.kumar@linaro.org> <55F72C97.2030306@kernel.org> <20151016002243.GA23912@codeaurora.org> <20151016060227.GS19018@linux> <20151016191658.GA16437@codeaurora.org> <20151017041055.GZ19018@linux> <20151022163942.GX8232@sirena.org.uk>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1256553

Show key headers only | View raw


On 23-10-15, 01:39, Mark Brown wrote:
> When we start doing this we also start having to worry about things like
> the sequencing of the updates between the various supplies and end up in
> full on power sequencing (or at least baking some sequencing into the DT
> which will doubtless need extending at some point).

Absolutely.

> I'm not sure that's
> a place we want to end up just yet, I think it's safer to just have a
> little bit of code in the kernel that glues things together in the cases
> where this is needed.  

So you are effectively saying that we shouldn't go ahead with multi
regulator support in OPP library, right?

I went ahead with it as it came as a requirement (specially from
Qcom).

To the problem of sequencing, maybe we can just support that for the
simple case, where supplies will be programmed in the order in which
they are present in the property I added in this patch. And not try to
solve problem for the complex cases, if we feel it is getting ugly.

@Stephen ?

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding Mark Brown <broonie@kernel.org> - 2015-10-23 01:40 +0200
  Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding Viresh Kumar <viresh.kumar@linaro.org> - 2015-10-27 09:20 +0100
    Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding Mark Brown <broonie@kernel.org> - 2015-10-28 09:20 +0100
      Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding Stephen Boyd <sboyd@codeaurora.org> - 2015-10-30 00:40 +0100

csiph-web