All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sriram V <vshrirama@gmail.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org
Subject: Re: domain off
Date: Sun, 10 Jan 2016 19:19:14 +0530	[thread overview]
Message-ID: <CAH9_wRN13+PKLsTL3kSonLUpzHo7zbQJZ658C4+fRZRxe=HeTw@mail.gmail.com> (raw)
In-Reply-To: <CAJKOXPe51YO3t1fhUdD1OsmXXcW3MoTwapvY4Y0q8QwaKrxzRg@mail.gmail.com>

Hi Krzysztof,

I see that in pm_genpd_sumarry, the domains are off. However, i still
see the clocks are on.
For example; isp and cam is turned off in pm_genpd_summary, however
cam clocks are still on.

Should'nt the clocks be turned off first and then the domain.






On Sun, Jan 10, 2016 at 11:45 AM, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:
> 2016-01-09 19:19 GMT+09:00 Sriram V <vshrirama@gmail.com>:
>>
>> Hello,
>>
>> I am trying to power down power domains which are not used but i am
>> unable to do so unless i write manually into the registers.
>>
>> Can anyone help me on the standard way to power down power domains on
>> a exynos 5422.
>>
>> I  tried marking status /bts-status to disable in the device tree file
>> for pd-disp1, but that does not help.
>>
>> What is the standard way of powering down if they are not used. Do we
>> need to do using dt or somewhere in the kernel board file?
>
> Hi,
>
> The domains defined in DT (and enabled in DT... status=disabled marks
> the *node* as disabled, not the power domain) are automatically turned
> off when attached devices are runtime suspended. Use
> PM_DEBUG+PM_ADVANCED_DEBUG and then:
> cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
>
> Domains not present there are not defined so they are left in default
> status set by bootloader (probably on).
>
> BR,
> Krzysztof



-- 
Regards,
Sriram

  reply	other threads:[~2016-01-10 13:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-09 10:19 domain off Sriram V
2016-01-10  6:15 ` Krzysztof Kozlowski
2016-01-10 13:49   ` Sriram V [this message]
2016-01-10 23:27     ` Krzysztof Kozlowski
2016-01-11  1:48       ` Sriram V
2016-01-11  2:21         ` Krzysztof Kozlowski
2016-01-20  9:52           ` Sriram V
2016-01-20 10:12             ` Krzysztof Kozlowski
2016-01-20 10:35               ` Sriram V
2016-01-20 13:30                 ` Krzysztof Kozłowski
2016-01-25  9:54                   ` Sriram V
2016-01-25 11:40                     ` Krzysztof Kozłowski
2016-02-04 12:21                       ` Sriram V
2016-02-05  1:13                         ` Krzysztof Kozłowski

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='CAH9_wRN13+PKLsTL3kSonLUpzHo7zbQJZ658C4+fRZRxe=HeTw@mail.gmail.com' \
    --to=vshrirama@gmail.com \
    --cc=k.kozlowski@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.