Skip to content
Open
6 changes: 6 additions & 0 deletions debian.nvidia-bos/config/annotations
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ CONFIG_MTD note<'Essential for boot on ARM6
CONFIG_MTK_PCIE_HOTPLUG policy<{'arm64': 'm'}>
CONFIG_MTK_PCIE_HOTPLUG note<'CX7 PCIe hotplug driver for NVIDIA DGX Spark systems with GB10 SoC.'>

CONFIG_MTK_POWER_WRAP policy<{'arm64': 'y'}>
CONFIG_MTK_POWER_WRAP note<'MediaTek Power Wrap device-control (SCMI) driver.'>

CONFIG_MTK_SSPM_CI policy<{'arm64': 'y'}>
CONFIG_MTK_SSPM_CI note<'MediaTek SSPM control interface used by the Power Wrap SCMI device-control path.'>

CONFIG_NOUVEAU_DEBUG policy<{'amd64': '-', 'arm64': '-'}>
CONFIG_NOUVEAU_DEBUG note<'Disable nouveau for NVIDIA kernels'>

Expand Down
18 changes: 18 additions & 0 deletions drivers/soc/mediatek/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,22 @@ config MTK_SOCINFO
information about the SoC to the userspace including the
manufacturer name, marketing name and soc name.

config MTK_SSPM_CI
bool "MediaTek SSPM control interface"
depends on ACPI && ARM64
help
Say yes here to enable the MediaTek SSPM control interface used
by platform firmware communication helpers.

If unsure, say N.
config MTK_POWER_WRAP
bool "MediaTek Power Wrap ACPI device-control support"
depends on ACPI && ARM64
depends on MTK_SSPM_CI
help
Say yes here to enable MediaTek Power Wrap support for ACPI based
device power-control flows.

If unsure, say N.

endmenu
2 changes: 2 additions & 0 deletions drivers/soc/mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o
obj-$(CONFIG_MTK_MMSYS) += mtk-mutex.o
obj-$(CONFIG_MTK_SVS) += mtk-svs.o
obj-$(CONFIG_MTK_SOCINFO) += mtk-socinfo.o
obj-$(CONFIG_MTK_SSPM_CI) += sspm_ci/
obj-$(CONFIG_MTK_POWER_WRAP) += power_wrap/
10 changes: 10 additions & 0 deletions drivers/soc/mediatek/power_wrap/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: GPL-2.0

# Composite name power_wrap_drv avoids colliding with the source file power_wrap.o
obj-y += power_wrap_drv.o
power_wrap_drv-y += power_wrap.o
power_wrap_drv-y += power_wrap_sysfs.o
power_wrap_drv-y += acpiutil.o

ccflags-y += -Wall
ccflags-y += -I$(src)/inc
Loading
Loading