[PATCH v1 0/1] Add devm_tegra_core_dev_init_opp_table() helper

From: Dmitry Osipenko
Date: Sun May 16 2021 - 16:52:22 EST


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