Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cb1efb15 authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

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: default avatarShashank Mittal <mittals@codeaurora.org>
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 117a215a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment