Kconfig (f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5) | Kconfig (1d609992832e900378b305f9f8dcf0ce8473049e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Microsoft Surface Platform-Specific Drivers 4# 5 6menuconfig SURFACE_PLATFORMS 7 bool "Microsoft Surface Platform-Specific Device Drivers" 8 depends on ACPI --- 63 unchanged lines hidden (view full) --- 72 the SSAM controller. Said client device manages a misc-device 73 interface (/dev/surface/aggregator), which can be used by user-space 74 tools to directly communicate with the SSAM EC by sending requests and 75 receiving the corresponding responses. 76 77 The provided interface is intended for debugging and development only, 78 and should not be used otherwise. 79 | 1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Microsoft Surface Platform-Specific Drivers 4# 5 6menuconfig SURFACE_PLATFORMS 7 bool "Microsoft Surface Platform-Specific Device Drivers" 8 depends on ACPI --- 63 unchanged lines hidden (view full) --- 72 the SSAM controller. Said client device manages a misc-device 73 interface (/dev/surface/aggregator), which can be used by user-space 74 tools to directly communicate with the SSAM EC by sending requests and 75 receiving the corresponding responses. 76 77 The provided interface is intended for debugging and development only, 78 and should not be used otherwise. 79 |
80config SURFACE_AGGREGATOR_REGISTRY 81 tristate "Surface System Aggregator Module Device Registry" 82 depends on SURFACE_AGGREGATOR 83 depends on SURFACE_AGGREGATOR_BUS 84 help 85 Device-registry and device-hubs for Surface System Aggregator Module 86 (SSAM) devices. 87 88 Provides a module and driver which act as a device-registry for SSAM 89 client devices that cannot be detected automatically, e.g. via ACPI. 90 Such devices are instead provided via this registry and attached via 91 device hubs, also provided in this module. 92 93 Devices provided via this registry are: 94 - Platform profile (performance-/cooling-mode) device (5th- and later 95 generations). 96 - Battery/AC devices (7th-generation). 97 - HID input devices (7th-generation). 98 99 Select M (recommended) or Y here if you want support for the above 100 mentioned devices on the corresponding Surface models. Without this 101 module, the respective devices will not be instantiated and thus any 102 functionality provided by them will be missing, even when drivers for 103 these devices are present. In other words, this module only provides 104 the respective client devices. Drivers for these devices still need to 105 be selected via the other options. 106 107config SURFACE_DTX 108 tristate "Surface DTX (Detachment System) Driver" 109 depends on SURFACE_AGGREGATOR 110 depends on INPUT 111 help 112 Driver for the Surface Book clipboard detachment system (DTX). 113 114 On the Surface Book series devices, the display part containing the 115 CPU (called the clipboard) can be detached from the base (containing a 116 battery, the keyboard, and, optionally, a discrete GPU) by (if 117 necessary) unlocking and opening the latch connecting both parts. 118 119 This driver provides a user-space interface that can influence the 120 behavior of this process, which includes the option to abort it in 121 case the base is still in use or speed it up in case it is not. 122 |
|
80config SURFACE_GPE 81 tristate "Surface GPE/Lid Support Driver" 82 depends on DMI 83 help 84 This driver marks the GPEs related to the ACPI lid device found on 85 Microsoft Surface devices as wakeup sources and prepares them 86 accordingly. It is required on those devices to allow wake-ups from 87 suspend by opening the lid. --- 12 unchanged lines hidden (view full) --- 100 containing the dGPU will not correctly update the state of the 101 corresponding PCIe device if it is in D3cold. This driver adds support 102 for out-of-band hot-plug notifications, ensuring that the device state 103 is properly updated even when the device in question is in D3cold. 104 105 Select M or Y here, if you want to (fully) support hot-plugging of 106 dGPU devices on the Surface Book 2 and/or 3 during D3cold. 107 | 123config SURFACE_GPE 124 tristate "Surface GPE/Lid Support Driver" 125 depends on DMI 126 help 127 This driver marks the GPEs related to the ACPI lid device found on 128 Microsoft Surface devices as wakeup sources and prepares them 129 accordingly. It is required on those devices to allow wake-ups from 130 suspend by opening the lid. --- 12 unchanged lines hidden (view full) --- 143 containing the dGPU will not correctly update the state of the 144 corresponding PCIe device if it is in D3cold. This driver adds support 145 for out-of-band hot-plug notifications, ensuring that the device state 146 is properly updated even when the device in question is in D3cold. 147 148 Select M or Y here, if you want to (fully) support hot-plugging of 149 dGPU devices on the Surface Book 2 and/or 3 during D3cold. 150 |
151config SURFACE_PLATFORM_PROFILE 152 tristate "Surface Platform Profile Driver" 153 depends on SURFACE_AGGREGATOR_REGISTRY 154 select ACPI_PLATFORM_PROFILE 155 help 156 Provides support for the ACPI platform profile on 5th- and later 157 generation Microsoft Surface devices. 158 159 More specifically, this driver provides ACPI platform profile support 160 on Microsoft Surface devices with a Surface System Aggregator Module 161 (SSAM) connected via the Surface Serial Hub (SSH / SAM-over-SSH). In 162 other words, this driver provides platform profile support on the 163 Surface Pro 5, Surface Book 2, Surface Laptop, Surface Laptop Go and 164 later. On those devices, the platform profile can significantly 165 influence cooling behavior, e.g. setting it to 'quiet' (default) or 166 'low-power' can significantly limit performance of the discrete GPU on 167 Surface Books, while in turn leading to lower power consumption and/or 168 less fan noise. 169 170 Select M or Y here, if you want to include ACPI platform profile 171 support on the above mentioned devices. 172 |
|
108config SURFACE_PRO3_BUTTON 109 tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" 110 depends on INPUT 111 help 112 This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. 113 114source "drivers/platform/surface/aggregator/Kconfig" 115 116endif # SURFACE_PLATFORMS | 173config SURFACE_PRO3_BUTTON 174 tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" 175 depends on INPUT 176 help 177 This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. 178 179source "drivers/platform/surface/aggregator/Kconfig" 180 181endif # SURFACE_PLATFORMS |