public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Inki Dae <inki.dae@samsung.com>
Subject: Re: [PATCH 2/8] arm64: dts: exynos: Add GSCL power domain to Exynos 5433 SoC
Date: Fri, 27 Jan 2017 13:28:08 +0200	[thread overview]
Message-ID: <20170127112808.he7lpzoobmnc2k7r@kozik-lap> (raw)
In-Reply-To: <62a55088-ff3d-dc4b-b0f0-9810d88801c4@samsung.com>

On Fri, Jan 27, 2017 at 11:33:36AM +0100, Marek Szyprowski wrote:
> Hi Krzysztof,
> 
> On 2017-01-27 08:46, Krzysztof Kozlowski wrote:
> > On Wed, Jan 25, 2017 at 12:55:36PM +0100, Marek Szyprowski wrote:
> > > This patch adds support for GSCL power domain to Exynos 5433 SoCs, which
> > > contains following devices: a clock controller, three GSCL video scalers and
> > > their SYSMMUs.
> > > 
> > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> > > ---
> > >   arch/arm64/boot/dts/exynos/exynos5433.dtsi | 13 +++++++++++++
> > >   1 file changed, 13 insertions(+)
> > > 
> > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
> > > index 16072c1c3ed3..74c767d756ac 100644
> > > --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
> > > +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
> > > @@ -425,6 +425,7 @@
> > >   			clocks = <&xxti>,
> > >   				<&cmu_top CLK_ACLK_GSCL_111>,
> > >   				<&cmu_top CLK_ACLK_GSCL_333>;
> > > +			power-domains = <&pd_gscl>;
> > >   		};
> > >   		cmu_apollo: clock-controller@11900000 {
> > > @@ -525,6 +526,12 @@
> > >   				<&cmu_top CLK_ACLK_CAM1_552>;
> > >   		};
> > > +		pd_gscl: gscl-power-domain@105c4000 {
> > The name of node: just "power-domain". This should be generic class of
> > device (following ePAPR).
> > 
> > The same applies to other patches.
> 
> Well, this makes the debugging much harder, but I will change it to generic
> names.

Good point. I remember some patch from Javier trying to address this but
I cannot find it anymore.

Anyway, I don't think power-domains should be treated here differently
then rest of devices (which have generic names: clock-controller,
pinctrl, i2s, i2c etc).

> Also existing Exynos dtsi should be fixed in this area (Exynos4 still
> use such more descriptive names).

I am trying to bring some shape to new code but of course you are right
- old code should be adjusted as well (maybe as part of some bigger
  cleanup). Exynos5420 uses short/generic names.

> I will check how hard is to add real
> domain names directly to the Exynos power domain driver then.

Thanks!

Krzysztof

  reply	other threads:[~2017-01-27 11:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170125115558eucas1p18dcb5c4cbab28dcb10bd412b825256b7@eucas1p1.samsung.com>
2017-01-25 11:55 ` [PATCH 0/8] Power domains support for Exynos5433 SoCs Marek Szyprowski
2017-01-25 11:55   ` [PATCH 1/8] soc: samsung: pm_domains: Add new exynos5433 compatible Marek Szyprowski
2017-01-27  7:42     ` Krzysztof Kozlowski
2017-01-25 11:55   ` [PATCH 2/8] arm64: dts: exynos: Add GSCL power domain to Exynos 5433 SoC Marek Szyprowski
2017-01-27  7:46     ` Krzysztof Kozlowski
2017-01-27 10:33       ` Marek Szyprowski
2017-01-27 11:28         ` Krzysztof Kozlowski [this message]
2017-01-25 11:55   ` [PATCH 3/8] arm64: dts: exynos: Add DISP " Marek Szyprowski
2017-01-25 11:55   ` [PATCH 4/8] arm64: dts: exynos: Add MSCL " Marek Szyprowski
2017-01-25 11:55   ` [PATCH 5/8] arm64: dts: exynos: Add MFC " Marek Szyprowski
2017-01-25 11:55   ` [PATCH 6/8] arm64: dts: exynos: Add AUD power domain to Exynos5433 SoC Marek Szyprowski
2017-01-25 11:55   ` [PATCH 7/8] arm64: dts: exynos: Add FSYS " Marek Szyprowski
2017-01-25 11:55   ` [PATCH 8/8] arm64: dts: exynos: Add remaining power domains " Marek Szyprowski
2017-01-27  7:43   ` [PATCH 0/8] Power domains support for Exynos5433 SoCs Krzysztof Kozlowski
2017-01-27  7:47     ` Marek Szyprowski
2017-01-27  7:52       ` Krzysztof Kozlowski
2017-01-27  7:59         ` Marek Szyprowski

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=20170127112808.he7lpzoobmnc2k7r@kozik-lap \
    --to=krzk@kernel.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=inki.dae@samsung.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=s.nawrocki@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox