From 9e5d5923e3b50b6b28b8dea1a7a6cc790d313ada Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 14:38:32 +0000 Subject: [PATCH 1/6] [x86] Enable CONFIG_CHARGER_BQ24190 as a module Provides support for the battery charger on GPD Pocket UMPC systems. Also enable its dependencies CONFIG_EXTCON=m, CONFIG_EXTCON_INTEL_CHT_WC=m, CONFIG_I2C_CHT_WC=m and CONFIG_INTEL_SOC_PMIC_CHTWC=y. --- debian/changelog | 7 +++++++ debian/config/kernelarch-x86/config | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index 01df7e002..50141cb2b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,13 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium * New upstream release: https://kernelnewbies.org/Linux_4.16 + [ Jeremy Stanley ] + * [x86] Power management support for GPD Pocket UMPC systems + - Enable CONFIG_CHARGER_BQ24190 as a module (provides support for the + battery charger) along with its dependencies CONFIG_EXTCON=m, + CONFIG_EXTCON_INTEL_CHT_WC=m, CONFIG_I2C_CHT_WC=m and + CONFIG_INTEL_SOC_PMIC_CHTWC=y + [ Roger Shimizu ] * [armel] Bring back armel build by reverting two commits that disabled armel previously: diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index d923cce21..357aee2d3 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -446,6 +446,12 @@ CONFIG_EDAC_SKX=m CONFIG_EDAC_AMD8131=m CONFIG_EDAC_AMD8111=m +## +## file: drivers/extcon/Kconfig +## +CONFIG_EXTCON=m +CONFIG_EXTCON_INTEL_CHT_WC=m + ## ## file: drivers/firmware/Kconfig ## @@ -652,6 +658,7 @@ CONFIG_I2C_AMD8111=m CONFIG_I2C_I801=m CONFIG_I2C_ISMT=m CONFIG_I2C_PIIX4=m +CONFIG_I2C_CHT_WC=m CONFIG_I2C_NFORCE2=m CONFIG_I2C_SIS5595=m CONFIG_I2C_SIS630=m @@ -901,6 +908,7 @@ CONFIG_VIDEO_TM6000_DVB=m ## # CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set CONFIG_LPC_ICH=m +CONFIG_INTEL_SOC_PMIC_CHTWC=y CONFIG_MFD_INTEL_LPSS_ACPI=m CONFIG_MFD_INTEL_LPSS_PCI=m CONFIG_MFD_KEMPLD=m @@ -1401,6 +1409,7 @@ CONFIG_PNP=y ## file: drivers/power/supply/Kconfig ## CONFIG_BATTERY_SBS=m +CONFIG_CHARGER_BQ24190=m ## ## file: drivers/powercap/Kconfig From 7ef6ea60ce54784afc6e13bc772ffdeb7747ebf1 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 16:24:44 +0000 Subject: [PATCH 2/6] [x86] Enable CONFIG_BATTERY_MAX17042 as a module Provides support for the battery level monitor on GPD Pocket UMPC systems. --- debian/changelog | 2 ++ debian/config/kernelarch-x86/config | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 50141cb2b..c681163b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium [ Jeremy Stanley ] * [x86] Power management support for GPD Pocket UMPC systems + - Enable CONFIG_BATTERY_MAX17042 as a module (provides support for the + battery level monitor) - Enable CONFIG_CHARGER_BQ24190 as a module (provides support for the battery charger) along with its dependencies CONFIG_EXTCON=m, CONFIG_EXTCON_INTEL_CHT_WC=m, CONFIG_I2C_CHT_WC=m and diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index 357aee2d3..b447e77de 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -1409,6 +1409,7 @@ CONFIG_PNP=y ## file: drivers/power/supply/Kconfig ## CONFIG_BATTERY_SBS=m +CONFIG_BATTERY_MAX17042=m CONFIG_CHARGER_BQ24190=m ## From 9d053a8255834f93aecf9c24c558bbfca2c045eb Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 16:39:57 +0000 Subject: [PATCH 3/6] [x86] Enable CONFIG_TYPEC_FUSB302 as a module Provides support for the USB type-C interface on GPD Pocket UMPC systems. Also enable its dependencies CONFIG_TYPEC=m and CONFIG_TYPEC_TCPM=m. --- debian/changelog | 3 +++ debian/config/kernelarch-x86/config | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index c681163b5..596bdac25 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium [ Jeremy Stanley ] * [x86] Power management support for GPD Pocket UMPC systems + - Enable CONFIG_TYPEC_FUSB302 as a module (provides support for the USB + type-C interface) along with its dependencies CONFIG_TYPEC=m and + CONFIG_TYPEC_TCPM=m - Enable CONFIG_BATTERY_MAX17042 as a module (provides support for the battery level monitor) - Enable CONFIG_CHARGER_BQ24190 as a module (provides support for the diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index b447e77de..8d50da112 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -1732,6 +1732,13 @@ CONFIG_USB_SL811_HCD=m # CONFIG_USB_SL811_HCD_ISO is not set CONFIG_USB_SL811_CS=m +## +## file: drivers/usb/typec/Kconfig +## +CONFIG_TYPEC=m +CONFIG_TYPEC_TCPM=m +CONFIG_TYPEC_FUSB302=m + ## ## file: drivers/vfio/Kconfig ## From e70195604f89e9a41509848fe7e8e2dd0cd32b36 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 16:57:03 +0000 Subject: [PATCH 4/6] [x86] Enable CONFIG_REGULATOR This is needed to build the already enabled CONFIG_INTEL_CHT_INT33FE module which provides support for the ACPI interface on GPD Pocket UMPC systems. --- debian/changelog | 3 +++ debian/config/kernelarch-x86/config | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 596bdac25..c8e733abd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium [ Jeremy Stanley ] * [x86] Power management support for GPD Pocket UMPC systems + - Enable CONFIG_REGULATOR (needed to build the already enabled + CONFIG_INTEL_CHT_INT33FE module which provides support for the ACPI + interface) - Enable CONFIG_TYPEC_FUSB302 as a module (provides support for the USB type-C interface) along with its dependencies CONFIG_TYPEC=m and CONFIG_TYPEC_TCPM=m diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index 8d50da112..5f0c0777a 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -1423,6 +1423,11 @@ CONFIG_INTEL_RAPL=m ## CONFIG_PTP_1588_CLOCK_PCH=m +## +## file: drivers/regulator/Kconfig +## +CONFIG_REGULATOR=y + ## ## file: drivers/rtc/Kconfig ## From 3ef59ddc39a1aadc003592486ee09830ae87d341 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 17:06:37 +0000 Subject: [PATCH 5/6] [x86] Enable CONFIG_INTEL_INT0002_VGPIO as a module Provides support for the Bay Trail/Cherry Trail virtual GPIO controller to handle power events on GPD Pocket UMPC systems. --- debian/changelog | 2 ++ debian/config/kernelarch-x86/config | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index c8e733abd..bfc1e5cba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium [ Jeremy Stanley ] * [x86] Power management support for GPD Pocket UMPC systems + - Enable CONFIG_INTEL_INT0002_VGPIO as a module (provides support for the + Bay Trail/Cherry Trail virtual GPIO controller to handle power events) - Enable CONFIG_REGULATOR (needed to build the already enabled CONFIG_INTEL_CHT_INT33FE module which provides support for the ACPI interface) diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index 5f0c0777a..c43a6ef81 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -1386,6 +1386,7 @@ CONFIG_TOSHIBA_BT_RFKILL=m CONFIG_TOSHIBA_HAPS=m CONFIG_ACPI_CMPC=m CONFIG_INTEL_CHT_INT33FE=m +CONFIG_INTEL_INT0002_VGPIO=m CONFIG_INTEL_HID_EVENT=m CONFIG_INTEL_VBTN=m CONFIG_INTEL_IPS=m From 215951c4a8ea61ff1eec623729851049cdfb88cc Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Apr 2018 17:30:59 +0000 Subject: [PATCH 6/6] [x86] Enable CONFIG_PWM_LPSS_PLATFORM as a module Provides support for the low-level power subsystem handling backlight control on GPD Pocket UMPC systems. Also enable its dependency CONFIG_PWM=y (Closes: #895164). --- debian/changelog | 4 ++++ debian/config/kernelarch-x86/config | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index bfc1e5cba..947d74345 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,10 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium [ Jeremy Stanley ] * [x86] Power management support for GPD Pocket UMPC systems + (Closes: #895164) + - Enable CONFIG_PWM_LPSS_PLATFORM as a module (provides support for the + low-level power subsystem handling backlight control) along with its + dependency CONFIG_PWM=y - Enable CONFIG_INTEL_INT0002_VGPIO as a module (provides support for the Bay Trail/Cherry Trail virtual GPIO controller to handle power events) - Enable CONFIG_REGULATOR (needed to build the already enabled diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index c43a6ef81..2668073d5 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -1424,6 +1424,12 @@ CONFIG_INTEL_RAPL=m ## CONFIG_PTP_1588_CLOCK_PCH=m +## +## file: drivers/pwm/Kconfig +## +CONFIG_PWM=y +CONFIG_PWM_LPSS_PLATFORM=m + ## ## file: drivers/regulator/Kconfig ##