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

Commit a78b02b0 authored by Naveen Yadav's avatar Naveen Yadav Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: clk-rpmh: Add clk measure support for QPIC clock



Add support for clock measure for Bus Clock Manager(BCM) clocks.
The QPIC clock is managed by the BCM and adding clock measure
support for the same.

Change-Id: If3b0bf4821a82d48598407c1bdce8464acf84a71
Signed-off-by: default avatarNaveen Yadav <naveenky@codeaurora.org>
parent 35bfb444
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,rpmh.h>


#include "common.h"
#include "common.h"
#include "clk-debug.h"
#include "clk-regmap.h"
#include "clk-regmap.h"


#define CLK_RPMH_ARC_EN_OFFSET 0
#define CLK_RPMH_ARC_EN_OFFSET 0
@@ -399,6 +400,7 @@ static const struct clk_ops clk_rpmh_bcm_ops = {
	.set_rate	= clk_rpmh_bcm_set_rate,
	.set_rate	= clk_rpmh_bcm_set_rate,
	.round_rate	= clk_rpmh_round_rate,
	.round_rate	= clk_rpmh_round_rate,
	.recalc_rate	= clk_rpmh_bcm_recalc_rate,
	.recalc_rate	= clk_rpmh_bcm_recalc_rate,
	.debug_init	= clk_debug_measure_add,
};
};


/* Use awake state instead of active-only on RSCs that do not have an AMC. */
/* Use awake state instead of active-only on RSCs that do not have an AMC. */