summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/fedora/generic/x86/CONFIG_GPIO_AMDPT1
-rw-r--r--configs/fedora/generic/x86/CONFIG_PINCTRL_AMD2
-rw-r--r--configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE2
-rw-r--r--kernel-i686-PAE.config6
-rw-r--r--kernel-i686-PAEdebug.config6
-rw-r--r--kernel-i686-debug.config6
-rw-r--r--kernel-i686.config6
-rw-r--r--kernel-x86_64-debug.config6
-rw-r--r--kernel-x86_64.config6
-rw-r--r--kernel.spec4
10 files changed, 25 insertions, 20 deletions
diff --git a/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT b/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT
new file mode 100644
index 000000000..04ac1ad2c
--- /dev/null
+++ b/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT
@@ -0,0 +1 @@
+CONFIG_GPIO_AMDPT=m
diff --git a/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD b/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
index 02626b835..a1f44d876 100644
--- a/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
+++ b/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
@@ -1 +1 @@
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
diff --git a/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE b/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
index 15b9c575b..4da780aa7 100644
--- a/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
+++ b/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
@@ -1 +1 @@
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
diff --git a/kernel-i686-PAE.config b/kernel-i686-PAE.config
index 366285774..121708c1b 100644
--- a/kernel-i686-PAE.config
+++ b/kernel-i686-PAE.config
@@ -1694,7 +1694,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -4120,7 +4120,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6436,7 +6436,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
diff --git a/kernel-i686-PAEdebug.config b/kernel-i686-PAEdebug.config
index 70f8ee2d5..786372648 100644
--- a/kernel-i686-PAEdebug.config
+++ b/kernel-i686-PAEdebug.config
@@ -1713,7 +1713,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -4141,7 +4141,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6459,7 +6459,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/kernel-i686-debug.config b/kernel-i686-debug.config
index 0e0b6c6f2..93532bff5 100644
--- a/kernel-i686-debug.config
+++ b/kernel-i686-debug.config
@@ -1713,7 +1713,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -4141,7 +4141,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6459,7 +6459,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/kernel-i686.config b/kernel-i686.config
index d378411a0..5473e7715 100644
--- a/kernel-i686.config
+++ b/kernel-i686.config
@@ -1694,7 +1694,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -4120,7 +4120,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6436,7 +6436,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index 1a0140d56..b42e231f6 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -1755,7 +1755,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
# CONFIG_GPIO_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
@@ -4187,7 +4187,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6549,7 +6549,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index c21765463..cf2240253 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -1736,7 +1736,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
# CONFIG_GPIO_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
@@ -4166,7 +4166,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6526,7 +6526,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y
diff --git a/kernel.spec b/kernel.spec
index 547be1a9f..57f0a3fd5 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1856,6 +1856,10 @@ fi
#
#
%changelog
+* Sun May 20 2018 Hans de Goede <hdegoede@redhat.com>
+- Enable GPIO_AMDPT, PINCTRL_AMD and X86_AMD_PLATFORM_DEVICE Kconfig options
+ to fix i2c and GPIOs not working on AMD based laptops (rhbz#1510649)
+
* Fri May 18 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.17.0-0.rc5.git3.1
- Linux v4.17-rc5-110-g2c71d338bef2