summaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/Kconfig
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2020-10-09 16:11:27 +0200
committerHans de Goede <hdegoede@redhat.com>2020-10-27 12:51:24 +0100
commit85f7582cd484dbf491b6d9bb2af6ef1467a024d2 (patch)
treeb6eb864c2420959f00280ee6ba2ea567c9715e9a /drivers/platform/surface/Kconfig
parent4df56c36944bece6a9b361f7fc7dc8906a9dbd20 (diff)
downloadlinux-85f7582cd484dbf491b6d9bb2af6ef1467a024d2.tar.bz2
platform/surface: Move Surface 3 Power OpRegion driver to platform/surface
Move the Surface 3 Power operation region driver from platform/x86 to the newly created platform/surface directory. Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20201009141128.683254-5-luzmaximilian@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/Kconfig')
-rw-r--r--drivers/platform/surface/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/surface/Kconfig b/drivers/platform/surface/Kconfig
index 1a7cf6a73d52..ac1c749a7a2f 100644
--- a/drivers/platform/surface/Kconfig
+++ b/drivers/platform/surface/Kconfig
@@ -33,4 +33,11 @@ config SURFACE_3_BUTTON
help
This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
+config SURFACE_3_POWER_OPREGION
+ tristate "Surface 3 battery platform operation region support"
+ depends on ACPI && I2C
+ help
+ This driver provides support for ACPI operation
+ region of the Surface 3 battery platform driver.
+
endif # SURFACE_PLATFORMS