Thread (17 messages) flat view 17 messages, 7 authors, 2014-07-17

Re: [RFCv2] drm/msm: DT support for 8960/8064

From: Bjorn Andersson <hidden>
Date: 2014-07-17 16:08:32
Also in: dri-devel, linux-arm-msm

On Thu, Jul 17, 2014 at 8:29 AM, Rob Clark [off-list ref] wrote:
On Thu, Jul 17, 2014 at 4:10 AM, divya ojha [off-list ref] wrote:
[...]
quoted
Don't we need to have a if(regulator_enabled) check after
devm_regulator_get function ?
I see a similar test after camera regulator_get function call.
tbh, I'm not 100% sure.
Regulators in the Qualcomm platform works by casting votes with the
RPM and there is no way to query the current state of a regulator, so
the regulator code will only return information regarding the Linux
systems votes.

So, we can unfortunately not check this.

This setup also makes it important that if we want a regulator on and
set to a certain voltage then we need to cast our vote with these
values, or some other subsystem might lower it by releasing their
votes.

Regards,
Bjorn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help