From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Kukjin Kim <kgene@kernel.org>,
Andrzej Hajda <a.hajda@samsung.com>,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs
Date: Tue, 10 Feb 2015 14:55:16 +0300 [thread overview]
Message-ID: <54D9F1A4.1000908@cogentembedded.com> (raw)
In-Reply-To: <CAJKOXPepTJYYs6gR6NLQzsJndeRLgF+KHRpH9qt9noUgRBs2Dw@mail.gmail.com>
Hello.
On 2/10/2015 2:46 PM, Krzysztof Kozlowski wrote:
>>>> All the device nodes for the Exynos5420 power-domains have a quite
>>>> generic "power-domain" name.
>>> And this is in conformance to the ePAPR standard.
>> True, I forgot that the ePAPR recommends that the node names should be
>> somewhat generic but OTOH this is the only Exynos DTSI file that follows
>> the standard for the power domain device nodes. All other Exynos DTSI
>> use a prefix to differentiate between each power domain.
>>>> So in case of an error, the Exynos PD
>>>> driver shows the following (not very useful) message:
>>>> "Power domain power-domain disable failed"
>>> Why not fix the message instead to use the full device name?
>> Well, the full node name is also not very useful IMHO since you have
>> to check the DTSI or SoC manual to map the device node unit-address to
>> the corresponding power domain.
>> I used $subject when debugging an HDMI issue and instead of dropping
>> it, I just posted it in case someone considered useful. I don't really
>> mind if the patch is nacked / not picked.
> Additionally (on Arndale Octa):
> $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
> domain status slaves
> /device runtime status
> ----------------------------------------------------------------------
> power-domain on
> /devices/platform/amba/3880000.adma suspended
> power-domain off
> power-domain off
> power-domain off
> power-domain off
> power-domain off
> This really is not helpful. From the power domain debugfs code it is
> complicated to extract of_node of power domain.
You shouldn't need it.
> It is easier to print
> the name of power domain. But wait... all names are the same! :) So
> why do we have the name in the first place?
I'm not sure why the full platform device names aren't printed -- they
should all be different.
WBR, Sergei
WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs
Date: Tue, 10 Feb 2015 14:55:16 +0300 [thread overview]
Message-ID: <54D9F1A4.1000908@cogentembedded.com> (raw)
In-Reply-To: <CAJKOXPepTJYYs6gR6NLQzsJndeRLgF+KHRpH9qt9noUgRBs2Dw@mail.gmail.com>
Hello.
On 2/10/2015 2:46 PM, Krzysztof Kozlowski wrote:
>>>> All the device nodes for the Exynos5420 power-domains have a quite
>>>> generic "power-domain" name.
>>> And this is in conformance to the ePAPR standard.
>> True, I forgot that the ePAPR recommends that the node names should be
>> somewhat generic but OTOH this is the only Exynos DTSI file that follows
>> the standard for the power domain device nodes. All other Exynos DTSI
>> use a prefix to differentiate between each power domain.
>>>> So in case of an error, the Exynos PD
>>>> driver shows the following (not very useful) message:
>>>> "Power domain power-domain disable failed"
>>> Why not fix the message instead to use the full device name?
>> Well, the full node name is also not very useful IMHO since you have
>> to check the DTSI or SoC manual to map the device node unit-address to
>> the corresponding power domain.
>> I used $subject when debugging an HDMI issue and instead of dropping
>> it, I just posted it in case someone considered useful. I don't really
>> mind if the patch is nacked / not picked.
> Additionally (on Arndale Octa):
> $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
> domain status slaves
> /device runtime status
> ----------------------------------------------------------------------
> power-domain on
> /devices/platform/amba/3880000.adma suspended
> power-domain off
> power-domain off
> power-domain off
> power-domain off
> power-domain off
> This really is not helpful. From the power domain debugfs code it is
> complicated to extract of_node of power domain.
You shouldn't need it.
> It is easier to print
> the name of power domain. But wait... all names are the same! :) So
> why do we have the name in the first place?
I'm not sure why the full platform device names aren't printed -- they
should all be different.
WBR, Sergei
next prev parent reply other threads:[~2015-02-10 11:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 17:37 [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs Javier Martinez Canillas
2015-02-06 17:37 ` Javier Martinez Canillas
2015-02-06 19:09 ` Sergei Shtylyov
2015-02-06 19:09 ` Sergei Shtylyov
2015-02-06 20:50 ` Javier Martinez Canillas
2015-02-06 20:50 ` Javier Martinez Canillas
2015-02-10 11:46 ` Krzysztof Kozlowski
2015-02-10 11:46 ` Krzysztof Kozlowski
2015-02-10 11:55 ` Sergei Shtylyov [this message]
2015-02-10 11:55 ` Sergei Shtylyov
2015-02-10 12:17 ` Krzysztof Kozlowski
2015-02-10 12:17 ` Krzysztof Kozlowski
2015-02-10 12:21 ` Sergei Shtylyov
2015-02-10 12:21 ` Sergei Shtylyov
2015-02-10 12:30 ` Krzysztof Kozlowski
2015-02-10 12:30 ` Krzysztof Kozlowski
2015-02-10 12:46 ` Javier Martinez Canillas
2015-02-10 12:46 ` Javier Martinez Canillas
2015-02-10 13:00 ` Sylwester Nawrocki
2015-02-10 13:00 ` Sylwester Nawrocki
2015-02-10 13:14 ` Krzysztof Kozlowski
2015-02-10 13:14 ` Krzysztof Kozlowski
2015-02-10 14:08 ` Sylwester Nawrocki
2015-02-10 14:08 ` Sylwester Nawrocki
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=54D9F1A4.1000908@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=a.hajda@samsung.com \
--cc=javier.martinez@collabora.co.uk \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
/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.