linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] Add devm_tegra_core_dev_init_opp_table() helper
@ 2021-05-16 20:51 Dmitry Osipenko
  2021-05-16 20:51 ` [PATCH v1 1/1] soc/tegra: Add devm_tegra_core_dev_init_opp_table() Dmitry Osipenko
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Osipenko @ 2021-05-16 20:51 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Paul Fertser, Matt Merhar,
	Peter Geis, Nicolas Chauvet, Viresh Kumar, Stephen Boyd,
	Krzysztof Kozlowski
  Cc: linux-tegra, linux-kernel

Hello,

This patch adds a new devm_tegra_core_dev_init_opp_table() helper
which is specific to NVIDIA Tegra SoCs. The goal of this helper is to
remove code duplication from Tegra device drivers.

Previously this helper was a part of patchsets that added core power
domain support. Krzysztof Kozlowski suggested to separate patches into
smaller sets with explicit dependencies.

This helper is a mandatory prerequisite by a multiple patchsets that
will add more advanced power management to GPU/media/clk and etc drivers,
fixing overheating troubles of Tegra devices. It provides OPP support
for newer device-trees and preserves compatibility with the older DTBs.

Dmitry Osipenko (1):
  soc/tegra: Add devm_tegra_core_dev_init_opp_table()

 drivers/soc/tegra/common.c | 112 +++++++++++++++++++++++++++++++++++++
 include/soc/tegra/common.h |  30 ++++++++++
 2 files changed, 142 insertions(+)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-18  3:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 20:51 [PATCH v1 0/1] Add devm_tegra_core_dev_init_opp_table() helper Dmitry Osipenko
2021-05-16 20:51 ` [PATCH v1 1/1] soc/tegra: Add devm_tegra_core_dev_init_opp_table() Dmitry Osipenko
2021-05-17  3:37   ` Viresh Kumar
2021-05-17 14:09     ` Dmitry Osipenko
2021-05-18  3:26       ` Viresh Kumar
2021-05-17 11:43   ` Krzysztof Kozlowski
2021-05-17 14:47     ` Dmitry Osipenko
2021-05-17 14:52       ` Krzysztof Kozlowski
2021-05-17 15:23         ` Dmitry Osipenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).