From 2964bf6887b1744f31dc32226ab08f3abf2de613 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 30 Jul 2018 10:56:55 +0200 Subject: [PATCH] Enable Apollo Lake Whiskey Cove PMIC support --- configs/fedora/generic/x86/CONFIG_INTEL_BXTWC_PMIC_TMU | 1 + configs/fedora/generic/x86/CONFIG_INTEL_PMC_IPC | 2 +- configs/fedora/generic/x86/CONFIG_INTEL_SOC_PMIC_BXTWC | 1 + configs/fedora/generic/x86/CONFIG_INTEL_TELEMETRY | 1 + configs/fedora/generic/x86/CONFIG_TYPEC_WCOVE | 1 + kernel-i686-PAE.config | 5 ++++- kernel-i686-PAEdebug.config | 5 ++++- kernel-i686-debug.config | 5 ++++- kernel-i686.config | 5 ++++- kernel-x86_64-debug.config | 5 ++++- kernel-x86_64.config | 5 ++++- kernel.spec | 1 + 12 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 configs/fedora/generic/x86/CONFIG_INTEL_BXTWC_PMIC_TMU create mode 100644 configs/fedora/generic/x86/CONFIG_INTEL_SOC_PMIC_BXTWC create mode 100644 configs/fedora/generic/x86/CONFIG_INTEL_TELEMETRY create mode 100644 configs/fedora/generic/x86/CONFIG_TYPEC_WCOVE diff --git a/configs/fedora/generic/x86/CONFIG_INTEL_BXTWC_PMIC_TMU b/configs/fedora/generic/x86/CONFIG_INTEL_BXTWC_PMIC_TMU new file mode 100644 index 000000000..8d20abc9e --- /dev/null +++ b/configs/fedora/generic/x86/CONFIG_INTEL_BXTWC_PMIC_TMU @@ -0,0 +1 @@ +CONFIG_INTEL_BXTWC_PMIC_TMU=m diff --git a/configs/fedora/generic/x86/CONFIG_INTEL_PMC_IPC b/configs/fedora/generic/x86/CONFIG_INTEL_PMC_IPC index eedef11ac..7e5ad0c7d 100644 --- a/configs/fedora/generic/x86/CONFIG_INTEL_PMC_IPC +++ b/configs/fedora/generic/x86/CONFIG_INTEL_PMC_IPC @@ -1 +1 @@ -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y diff --git a/configs/fedora/generic/x86/CONFIG_INTEL_SOC_PMIC_BXTWC b/configs/fedora/generic/x86/CONFIG_INTEL_SOC_PMIC_BXTWC new file mode 100644 index 000000000..a99d79db1 --- /dev/null +++ b/configs/fedora/generic/x86/CONFIG_INTEL_SOC_PMIC_BXTWC @@ -0,0 +1 @@ +CONFIG_INTEL_SOC_PMIC_BXTWC=y diff --git a/configs/fedora/generic/x86/CONFIG_INTEL_TELEMETRY b/configs/fedora/generic/x86/CONFIG_INTEL_TELEMETRY new file mode 100644 index 000000000..7d51a945a --- /dev/null +++ b/configs/fedora/generic/x86/CONFIG_INTEL_TELEMETRY @@ -0,0 +1 @@ +CONFIG_INTEL_TELEMETRY=m diff --git a/configs/fedora/generic/x86/CONFIG_TYPEC_WCOVE b/configs/fedora/generic/x86/CONFIG_TYPEC_WCOVE new file mode 100644 index 000000000..8801ecb28 --- /dev/null +++ b/configs/fedora/generic/x86/CONFIG_TYPEC_WCOVE @@ -0,0 +1 @@ +CONFIG_TYPEC_WCOVE=m diff --git a/kernel-i686-PAE.config b/kernel-i686-PAE.config index 6c079adbf..fb32cb55d 100644 --- a/kernel-i686-PAE.config +++ b/kernel-i686-PAE.config @@ -2311,6 +2311,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2331,7 +2332,7 @@ CONFIG_INTEL_MEI_WDT=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2341,9 +2342,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m # CONFIG_INTEL_SOC_PMIC_CHTWC is not set CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set # CONFIG_INTEL_TXT is not set CONFIG_INTEL_VBTN=m diff --git a/kernel-i686-PAEdebug.config b/kernel-i686-PAEdebug.config index 266d52a29..d2ce44e1e 100644 --- a/kernel-i686-PAEdebug.config +++ b/kernel-i686-PAEdebug.config @@ -2332,6 +2332,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2352,7 +2353,7 @@ CONFIG_INTEL_MEI_WDT=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2362,9 +2363,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m # CONFIG_INTEL_SOC_PMIC_CHTWC is not set CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set # CONFIG_INTEL_TXT is not set CONFIG_INTEL_VBTN=m diff --git a/kernel-i686-debug.config b/kernel-i686-debug.config index 77c501de6..3dc4b2a54 100644 --- a/kernel-i686-debug.config +++ b/kernel-i686-debug.config @@ -2332,6 +2332,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2352,7 +2353,7 @@ CONFIG_INTEL_MEI_WDT=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2362,9 +2363,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m # CONFIG_INTEL_SOC_PMIC_CHTWC is not set CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set # CONFIG_INTEL_TXT is not set CONFIG_INTEL_VBTN=m diff --git a/kernel-i686.config b/kernel-i686.config index cad7efa29..c712fbf04 100644 --- a/kernel-i686.config +++ b/kernel-i686.config @@ -2311,6 +2311,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2331,7 +2332,7 @@ CONFIG_INTEL_MEI_WDT=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2341,9 +2342,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m # CONFIG_INTEL_SOC_PMIC_CHTWC is not set CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set # CONFIG_INTEL_TXT is not set CONFIG_INTEL_VBTN=m diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config index 9b17f48ed..5deba0e95 100644 --- a/kernel-x86_64-debug.config +++ b/kernel-x86_64-debug.config @@ -2382,6 +2382,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2407,7 +2408,7 @@ CONFIG_INTEL_MIC_X100_DMA=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2417,9 +2418,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m CONFIG_INTEL_SOC_PMIC_CHTWC=y CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set CONFIG_INTEL_TURBO_MAX_3=y CONFIG_INTEL_TXT=y diff --git a/kernel-x86_64.config b/kernel-x86_64.config index b25c94b76..08c2b1534 100644 --- a/kernel-x86_64.config +++ b/kernel-x86_64.config @@ -2361,6 +2361,7 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_INTEGRITY_SIGNATURE=y CONFIG_INTEGRITY=y CONFIG_INTEL_BXT_PMIC_THERMAL=m +CONFIG_INTEL_BXTWC_PMIC_TMU=m CONFIG_INTEL_CHTDC_TI_PWRBTN=m CONFIG_INTEL_CHT_INT33FE=m CONFIG_INTEL_HID_EVENT=m @@ -2386,7 +2387,7 @@ CONFIG_INTEL_MIC_X100_DMA=m CONFIG_INTEL_OAKTRAIL=m CONFIG_INTEL_PCH_THERMAL=m CONFIG_INTEL_PMC_CORE=y -# CONFIG_INTEL_PMC_IPC is not set +CONFIG_INTEL_PMC_IPC=y CONFIG_INTEL_POWERCLAMP=m CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_RAPL=m @@ -2396,9 +2397,11 @@ CONFIG_INTEL_RST=m # CONFIG_INTEL_SCU_IPC is not set CONFIG_INTEL_SMARTCONNECT=y CONFIG_INTEL_SOC_DTS_THERMAL=m +CONFIG_INTEL_SOC_PMIC_BXTWC=y CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m CONFIG_INTEL_SOC_PMIC_CHTWC=y CONFIG_INTEL_SOC_PMIC=y +CONFIG_INTEL_TELEMETRY=m # CONFIG_INTEL_TH is not set CONFIG_INTEL_TURBO_MAX_3=y CONFIG_INTEL_TXT=y diff --git a/kernel.spec b/kernel.spec index 2adc69f30..c7c848aef 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1909,6 +1909,7 @@ fi * Wed Aug 01 2018 Hans de Goede - Add patch fixing FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER breaking VT switching when combined with vgacon (rhbz#1610562) +- Enable Apollo Lake Whiskey Cove PMIC support * Wed Aug 01 2018 Laura Abbott - 4.18.0-0.rc7.git1.1 - Linux v4.18-rc7-90-gc1d61e7fe376