-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from lyt31/0120
drivers/perf: phytium: Support for Phytium Soc DDR controller PMU
- Loading branch information
Showing
6 changed files
with
1,633 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,4 +234,6 @@ config CXL_PMU | |
|
||
If unsure say 'm'. | ||
|
||
source "drivers/perf/phytium/Kconfig" | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
menuconfig PHYTIUM_PMU | ||
bool "Phytium PMU support" | ||
help | ||
Say Y here if you want to support Phytium performance monitoring | ||
unit (PMU) drivers. | ||
|
||
if PHYTIUM_PMU | ||
|
||
config PHYT_DDR_PMU | ||
tristate "Phytium SoC DDR PMU driver" | ||
depends on (ARCH_PHYTIUM && ACPI) || COMPILE_TEST | ||
default m | ||
help | ||
Provides support for Phytium SoC DDR Controller performance | ||
monitoring unit (PMU). | ||
|
||
config PHYT_PCIE_PMU | ||
tristate "Phytium SoC PCIE PMU driver" | ||
depends on (ARCH_PHYTIUM && ACPI) || COMPILE_TEST | ||
default m | ||
help | ||
Provides support for Phytium SoC PCIe Controller performance | ||
monitoring unit (PMU). | ||
|
||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
obj-$(CONFIG_PHYT_DDR_PMU) += phytium_ddr_pmu.o | ||
obj-$(CONFIG_PHYT_PCIE_PMU) += phytium_pcie_pmu.o |
Oops, something went wrong.