PM / devfreq: memlat: Allow some events to be specified in DT
This patch introduces two new DT properties for the memlat monitor
for specifying PMU event ids for instruction and cache miss events.
This is done in order to minimize changes to driver code in case of
changes to those event ids across targets and maintain backward
compatibility. Additionally it makes it easier to specify multiple
drivers in the DT that can monitor events across multiple cache
levels using different cache miss event ids (provided they are
supported by hardware).
Change-Id: I0c464c80134e25db6304750ff7a98104ee2f0b9c
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
2 files changed