perf/marvell: Add ACPI support to TAD uncore driver
authorGowthami Thiagarajan <gthiagarajan@marvell.com>
Fri, 9 Dec 2022 05:37:15 +0000 (11:07 +0530)
committerWill Deacon <will@kernel.org>
Thu, 19 Jan 2023 18:30:22 +0000 (18:30 +0000)
commit093cf1f62fe8504d3cbd721c8753dbda931dd387
tree7b0a97a95e93eca441262fa5642e2357225ab2cf
parente85930f06f0e938bfeb6e081526da86a784cb907
perf/marvell: Add ACPI support to TAD uncore driver

Add support for ACPI based device registration so that the driver
can be also enabled through ACPI table.
While at that change the DT specific API's to device_* API's so that
both DT based and ACPI based probing works.

Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com>
Link: https://lore.kernel.org/r/20221209053715.3930071-1-gthiagarajan@marvell.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/marvell_cn10k_tad_pmu.c