Commit 904dcf03 authored by Committed by Will Deacon
perf: hisi: Add support for HiSilicon SoC DDRC PMU driver
This patch adds support for DDRC PMU driver in HiSilicon SoC chip, Each DDRC has own control, counter and interrupt registers and is an separate PMU. For each DDRC PMU, it has 8-fixed-purpose counters which have been mapped to 8-events by hardware, it assumes that counter index is equal to event code (0 - 7) in DDRC PMU driver. Interrupt is supported to handle counter (32-bits) overflow. Acked-by: Mark Rutland <firstname.lastname@example.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Shaokun Zhang <email@example.com> Signed-off-by: Anurup M <firstname.lastname@example.org> Signed-off-by: Will Deacon <email@example.com>
Showing with 465 additions and 1 deletion
This diff is collapsed.