From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: Sameer Pujar <spujar@nvidia.com>
Cc: digetx@gmail.com, jhogan@kernel.org, thierry.reding@gmail.com,
jonathanh@nvidia.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ARM: tegra: enforce PM requirement
Date: Tue, 26 Feb 2019 09:13:08 +0000 [thread overview]
Message-ID: <20190226091308.ycruijz2lcziv5gt@shell.armlinux.org.uk> (raw)
In-Reply-To: <1551169537-17548-1-git-send-email-spujar@nvidia.com>
On Tue, Feb 26, 2019 at 01:55:37PM +0530, Sameer Pujar wrote:
> The requirement for this came while adding runtime PM support for HDA
> driver. There were concerns about driver explicitly handling !PM case.
> In general, drivers need to handle !PM case with work arounds for
> managing clocks and power explicitly, which is not really necessary
> when PM support on tegra is in good shape. In fact ARM 64-bit Tegra
> platforms enforce PM support and there is no reason why this cannot be
> done for 32-bit.
>
> More details with regards to above can be found in following patch,
> http://patchwork.ozlabs.org/patch/1036645/
>
> This patch selects PM unconditionally and drivers can rely on runtime
> PM framework for clock and power management.
What if the drivers are re-used on another SoC IP? Doesn't this lead
to unexpected failures?
If you want to do this, maybe also make those drivers depend on PM as
well?
> Signed-off-by: Sameer Pujar <spujar@nvidia.com>
> Reviewed-by: Thierry Reding <treding@nvidia.com>
> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
> ---
> arch/arm/mach-tegra/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 7f3b83e..51a8fa3 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -10,6 +10,7 @@ menuconfig ARCH_TEGRA
> select HAVE_ARM_SCU if SMP
> select HAVE_ARM_TWD if SMP
> select PINCTRL
> + select PM
> select PM_OPP
> select ARCH_HAS_RESET_CONTROLLER
> select RESET_CONTROLLER
> --
> 2.7.4
>
>
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
next prev parent reply other threads:[~2019-02-26 9:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-26 8:25 Sameer Pujar
2019-02-26 9:13 ` Russell King - ARM Linux admin [this message]
2019-02-26 16:52 ` Dmitry Osipenko
2019-02-27 6:17 ` Sameer Pujar
2019-02-27 10:41 ` Thierry Reding
2019-02-26 14:46 ` Dmitry Osipenko
2019-02-27 6:14 ` Sameer Pujar
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=20190226091308.ycruijz2lcziv5gt@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=digetx@gmail.com \
--cc=jhogan@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=spujar@nvidia.com \
--cc=thierry.reding@gmail.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
all inboxes | Powered by JetHome®