Skip to content

Commit 34f3170

Browse files
committed
fixup! pmdomain: apple: Add PMP reporting interface
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 359a6c4 commit 34f3170

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

drivers/pmdomain/apple/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ config APPLE_PMGR_PWRSTATE
1414
controls for SoC devices. This driver manages them through the
1515
generic power domain framework, and also provides reset support.
1616

17+
config APPLE_PMP_REPORT
18+
bool "Apple PMP report control"
19+
depends on OF
20+
depends on PM
21+
select PM_GENERIC_DOMAINS
22+
1723
endif

drivers/pmdomain/apple/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-$(CONFIG_APPLE_PMGR_PWRSTATE) += pmgr-pwrstate.o
3-
obj-$(CONFIG_APPLE_PMP) += pmp-report.o
3+
obj-$(CONFIG_APPLE_PMP_REPORT) += pmp-report.o

drivers/pmdomain/apple/pmp-report.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,4 @@ module_init(apple_pmp_report_init);
233233
module_exit(apple_pmp_report_exit);
234234

235235
MODULE_DESCRIPTION("PMP power state reporting driver for Apple SoCs");
236+
MODULE_LICENSE("Dual MIT/GPL");

0 commit comments

Comments
 (0)