[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <78b2d8e1-2dd0-e609-861b-420fcd884a9e@arm.com>
Date: Wed, 6 Mar 2019 13:21:43 +0000
From: Marc Zyngier <marc.zyngier@....com>
To: Jon Hunter <jonathanh@...dia.com>,
Sameer Pujar <spujar@...dia.com>, vkoul@...nel.org,
dan.j.williams@...el.com, tglx@...utronix.de, jason@...edaemon.net
Cc: thierry.reding@...il.com, ldewangan@...dia.com, mkumard@...dia.com,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
dmaengine@...r.kernel.org
Subject: Re: [PATCH 3/3] irqchip/gic-pm: use devm_clk_*() helpers
On 06/03/2019 12:00, Jon Hunter wrote:
>
> On 06/03/2019 11:31, Marc Zyngier wrote:
>> Hi Sameer,
>>
>> [unrelated to this email: anything that comes from NVIDIA reaches me
>> encrypted with my public key. Not a big deal, but it'd be good if
>> someone could fix that.]
>>
>> On 06/03/2019 10:41, Sameer Pujar wrote:
>>> With pm_clk_*() usage, it is seen that clocks always remain ON. This
>>> happens because clocks are managed by BPMP on Tegra devices and clock
>>> enable/disable happens during prepare/unprepare phase. This patch
>>> avoids use of pm_clk_*() and replaces it with devm_clk_*() helpers.
>>>
>>> Suggested-by: Mohan Kumar D <mkumard@...dia.com>
>>> Reviewed-by: Jonathan Hunter <jonathanh@...dia.com>
>>> Signed-off-by: Sameer Pujar <spujar@...dia.com>
>>
>> On its own, I'm not opposed to that patch.
>>
>> But given that there is no in-tree platform using this, despite the code
>> sitting here for more than 2.5 years, this is just updating dead code.
>>
>> Am I missing anything?
>
> Nope, but we are working to fix that at long last. I hope in the next
> few months it will not longer be dormant! This driver is still very much
> important to our audio support for newer Tegra devices.
Can we at least make sure it gets compiled when an NVIDIA platform
(ARCH_TEGRA?) is selected? And if this isn't relevant to the current
platforms, then hold off until it actually makes sense.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
Powered by blists - more mailing lists