From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Kukjin Kim <kgene@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
Marek Szyprowski <m.szyprowski@samsung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: Re: [PATCH] ARM: dts: exynos5420: Add maudio power domain
Date: Mon, 09 Feb 2015 14:17:17 +0100 [thread overview]
Message-ID: <1423487837.23462.2.camel@AMDC1943> (raw)
In-Reply-To: <54D8AEE5.1090308@collabora.co.uk>
On pon, 2015-02-09 at 13:58 +0100, Javier Martinez Canillas wrote:
> Hello Krzysztof,
>
> On 02/09/2015 01:41 PM, Krzysztof Kozlowski wrote:
> > Add maudio power domain to Exynos 5420 DTSI file so its state could be
> > tracked. This actually won't power down this domain because the pl330
> > dmaengine driver (for adma channel) uses IRQ safe runtime PM. Thus the
> > patch should not introduce any functional change except of visibility of
> > this domain to the system.
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > ---
>
> Your patch looks good to me, I just have two small comments below. With
> those changes, feel free to add:
>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Thanks!
>
> > arch/arm/boot/dts/exynos5420.dtsi | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> > index 6d38f8bfd0e6..2e99a39f7250 100644
> > --- a/arch/arm/boot/dts/exynos5420.dtsi
> > +++ b/arch/arm/boot/dts/exynos5420.dtsi
> > @@ -270,6 +270,11 @@
> > reg = <0x10044120 0x20>;
> > };
> >
> > + mau_pd: power-domain@100440E0 {
> > + compatible = "samsung,exynos4210-pd";
> > + reg = <0x100440E0 0x20>;
>
> You also need to add #power-domain-cells = <0> here since "power-domain-cells"
> is a required property now that the Exynos PD code has been converted to use
> the generic power domains lookup.
Okay
>
> > + };
> > +
> > pinctrl_0: pinctrl@13400000 {
> > compatible = "samsung,exynos5420-pinctrl";
> > reg = <0x13400000 0x1000>;
> > @@ -328,6 +333,7 @@
> > #dma-cells = <1>;
> > #dma-channels = <6>;
> > #dma-requests = <16>;
> > + samsung,power-domain = <&mau_pd>;
>
> Same here. Even though "samsung,power-domain" is kept as backward compatible,
> "power-domains" should be used instead. In fact Marek sent a patch [0] to get
> rid of all the current "samsung,power-domain" properties so it would be good
> if you can base on top of that one.
Right, I rebased this on mid-January next which did not include Marek's
work yet.
Best regards,
Krzysztof
>
> Best regards,
> Javier
>
> [0]: http://www.spinics.net/lists/linux-samsung-soc/msg40584.html
WARNING: multiple messages have this Message-ID (diff)
From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: exynos5420: Add maudio power domain
Date: Mon, 09 Feb 2015 14:17:17 +0100 [thread overview]
Message-ID: <1423487837.23462.2.camel@AMDC1943> (raw)
In-Reply-To: <54D8AEE5.1090308@collabora.co.uk>
On pon, 2015-02-09 at 13:58 +0100, Javier Martinez Canillas wrote:
> Hello Krzysztof,
>
> On 02/09/2015 01:41 PM, Krzysztof Kozlowski wrote:
> > Add maudio power domain to Exynos 5420 DTSI file so its state could be
> > tracked. This actually won't power down this domain because the pl330
> > dmaengine driver (for adma channel) uses IRQ safe runtime PM. Thus the
> > patch should not introduce any functional change except of visibility of
> > this domain to the system.
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > ---
>
> Your patch looks good to me, I just have two small comments below. With
> those changes, feel free to add:
>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Thanks!
>
> > arch/arm/boot/dts/exynos5420.dtsi | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> > index 6d38f8bfd0e6..2e99a39f7250 100644
> > --- a/arch/arm/boot/dts/exynos5420.dtsi
> > +++ b/arch/arm/boot/dts/exynos5420.dtsi
> > @@ -270,6 +270,11 @@
> > reg = <0x10044120 0x20>;
> > };
> >
> > + mau_pd: power-domain at 100440E0 {
> > + compatible = "samsung,exynos4210-pd";
> > + reg = <0x100440E0 0x20>;
>
> You also need to add #power-domain-cells = <0> here since "power-domain-cells"
> is a required property now that the Exynos PD code has been converted to use
> the generic power domains lookup.
Okay
>
> > + };
> > +
> > pinctrl_0: pinctrl at 13400000 {
> > compatible = "samsung,exynos5420-pinctrl";
> > reg = <0x13400000 0x1000>;
> > @@ -328,6 +333,7 @@
> > #dma-cells = <1>;
> > #dma-channels = <6>;
> > #dma-requests = <16>;
> > + samsung,power-domain = <&mau_pd>;
>
> Same here. Even though "samsung,power-domain" is kept as backward compatible,
> "power-domains" should be used instead. In fact Marek sent a patch [0] to get
> rid of all the current "samsung,power-domain" properties so it would be good
> if you can base on top of that one.
Right, I rebased this on mid-January next which did not include Marek's
work yet.
Best regards,
Krzysztof
>
> Best regards,
> Javier
>
> [0]: http://www.spinics.net/lists/linux-samsung-soc/msg40584.html
next prev parent reply other threads:[~2015-02-09 13:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 12:41 [PATCH] ARM: dts: exynos5420: Add maudio power domain Krzysztof Kozlowski
2015-02-09 12:41 ` Krzysztof Kozlowski
2015-02-09 12:58 ` Javier Martinez Canillas
2015-02-09 12:58 ` Javier Martinez Canillas
2015-02-09 13:17 ` Krzysztof Kozlowski [this message]
2015-02-09 13:17 ` Krzysztof Kozlowski
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=1423487837.23462.2.camel@AMDC1943 \
--to=k.kozlowski@samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=javier.martinez@collabora.co.uk \
--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.