Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760438AbbBINRY (ORCPT ); Mon, 9 Feb 2015 08:17:24 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:52631 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759464AbbBINRW (ORCPT ); Mon, 9 Feb 2015 08:17:22 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-68-54d8b2ccc710 Message-id: <1423487837.23462.2.camel@AMDC1943> Subject: Re: [PATCH] ARM: dts: exynos5420: Add maudio power domain From: Krzysztof Kozlowski To: Javier Martinez Canillas Cc: Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Marek Szyprowski , Bartlomiej Zolnierkiewicz Date: Mon, 09 Feb 2015 14:17:17 +0100 In-reply-to: <54D8AEE5.1090308@collabora.co.uk> References: <1423485695-22568-1-git-send-email-k.kozlowski@samsung.com> <54D8AEE5.1090308@collabora.co.uk> Content-type: text/plain; charset=UTF-8 X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-version: 1.0 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsVy+t/xK7pnNt0IMWicZGyxccZ6Vov5R86x Whz9XWDR//g1s8Wmx9dYLS7vmsNmMeP8PiaLtUfusjtwePx9fp3FY9OqTjaPzUvqPfq2rGL0 +LxJLoA1issmJTUnsyy1SN8ugSvjw4SpLAUtQhUXT9k2MM7n62Lk5JAQMJHou3mCFcIWk7hw bz1bFyMXh5DAUkaJyZdWskI4nxkltm/eAFbFK6Av8fn+dxYQW1jASeLx40lgNpuAscTm5UvY QGwRATuJG6sfMoM0Mwv0MklsODcBLMEioCpxesNssAZOkEFXtoPFhQRyJH7+uQu2gFlAXWLS vEVAzRxAJylLNPa7QewVlPgx+R4LRIm8xOY1b5knMArMQtIxC0nZLCRlCxiZVzGKppYmFxQn peca6RUn5haX5qXrJefnbmKEhPrXHYxLj1kdYhTgYFTi4bVQvh4ixJpYVlyZe4hRgoNZSYTX dOmNECHelMTKqtSi/Pii0pzU4kOMTBycUg2Mc8OEbqXuKGvfrx+x9ahS5GOGCYFHfVQqRN+w fztsF2erwiNn8KXvyO9dHw4t465aqiiUkNjA0tV/vu64R5OW0npXdV2h49tXr1sk3HpMLdbf MNd65wp9TTmznbk1+ypf6Ola/ziQdordal5As46C9edf/R+tnaKmpSwx5y3LPV6w/fmLwhwl luKMREMt5qLiRAAKd7fiUwIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2482 Lines: 76 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 > > --- > > 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 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 -- 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/