From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/4] ARM64: renesas: r8a7795: Add VSP instances
Date: Sun, 27 Dec 2015 08:20:10 +0000 [thread overview]
Message-ID: <3130366.NefepWmmUK@avalon> (raw)
In-Reply-To: <1450336895-4279-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
Hi Geert,
On Tuesday 22 December 2015 14:43:34 Geert Uytterhoeven wrote:
> On Thu, Dec 17, 2015 at 8:21 AM, Laurent Pinchart wrote:
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index
> > 9ce6a5ea6629..47f97ffc6c8b 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > @@ -775,5 +775,119 @@
> > clocks = <&cpg CPG_MOD 915>;
> > status = "disabled";
> > };
> > +
> > + vspbc: vsp@fe920000 {
> > + compatible = "renesas,vsp2";
> > + reg = <0 0xfe920000 0 0x8000>;
> > + interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&cpg CPG_MOD 624>;
>
> No "power-domains = <&cpg_clocks>;"?
> Each vsp device node corresponds nicely to one vsp module, and the driver
> doesn't care at all about the clock, except for (explicit) PM of the vsp
> modules.
>
> That would allow to simplify vsp1_device_get(), vsp1_pm_suspend(), and
> vsp1_pm_resume(), and get rid of vsp1_device_put() in favor of
> pm_runtime_put().
I'm all for simplification :-) I'll try to find time to move the driver to
runtime PM. What will happen if the power domain is specified in DT but the
driver doesn't use runtime PM yet ?
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2015-12-27 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-17 7:21 [PATCH 2/4] ARM64: renesas: r8a7795: Add VSP instances Laurent Pinchart
2015-12-22 13:43 ` Geert Uytterhoeven
2015-12-27 8:20 ` Laurent Pinchart [this message]
2016-01-04 12:09 ` Geert Uytterhoeven
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=3130366.NefepWmmUK@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-sh@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.