coresight-tpdm: add support to configure multiple clks and regulators
Some TPDMs can go into power collapse and hence require a bunch of clocks and regulators to be configured before accessing TPDM's register space. This change adds support in TPDM driver to read a list of clocks and regulators from device tree and to enable them before accessing TPDM registers. Unlike 'core_clk' these resources will be voted only for the duration of configuring TPDM registers. Once the configuration is done TPDM driver will take off its vote for these resources and hence letting TPDM to go into power collapse even when its enabled. Change-Id: I6ffcd3a2ce229c45f839263cd2ab5cf652af20f3 Signed-off-by:Shashank Mittal <mittals@codeaurora.org> Signed-off-by:
Rama Aparna Mallavarapu <aparnam@codeaurora.org>
Loading
Please register or sign in to comment