Commit b6e520b2 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Anup Patel
Browse files

platform: generic: allwinner: add support for c9xx pmu



With the T-HEAD C9XX cores being designed before or during ratification
of the SSCOFPMF extension, they implement a PMU extension that behaves
very similar but not equal to it by providing overflow interrupts though
in a slightly different registers format.

The sun20i-d1 is using this core. So implement the necessary overrides
to allow its pmu to be used via the standard sbi-pmu extension.

For now it's also the only soc using this core, so keep the additional
code in the d1-space for now.

Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 2f63f246
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment