Enable GPIO_AMDPT, PINCTRL_AMD and X86_AMD_PLATFORM_DEVICE Kconfig options

This fixes i2c and GPIOs not working on AMD based laptops (rhbz#1510649).
This commit is contained in:
Hans de Goede 2018-05-20 15:40:24 +02:00
parent f404069cc7
commit ae3a573424
10 changed files with 25 additions and 20 deletions

View File

@ -0,0 +1 @@
CONFIG_GPIO_AMDPT=m

View File

@ -1 +1 @@
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m

View File

@ -1 +1 @@
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set CONFIG_X86_AMD_PLATFORM_DEVICE=y

View File

@ -1694,7 +1694,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y CONFIG_GPIO_CRYSTAL_COVE=y
@ -4120,7 +4120,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6436,7 +6436,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set # CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set

View File

@ -1713,7 +1713,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y CONFIG_GPIO_CRYSTAL_COVE=y
@ -4141,7 +4141,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6459,7 +6459,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y

View File

@ -1713,7 +1713,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y CONFIG_GPIO_CRYSTAL_COVE=y
@ -4141,7 +4141,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6459,7 +6459,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y

View File

@ -1694,7 +1694,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y CONFIG_GPIO_CRYSTAL_COVE=y
@ -4120,7 +4120,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6436,7 +6436,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set # CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set

View File

@ -1755,7 +1755,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
@ -4187,7 +4187,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6549,7 +6549,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_CHECK_BIOS_CORRUPTION=y CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y CONFIG_X86_CPUID=y

View File

@ -1736,7 +1736,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set # CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set # CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 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_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set # CONFIG_GPIO_BT8XX is not set
@ -4166,7 +4166,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set # CONFIG_PI433 is not set
CONFIG_PID_NS=y CONFIG_PID_NS=y
CONFIG_PINCONF=y CONFIG_PINCONF=y
# CONFIG_PINCTRL_AMD is not set CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set # CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m CONFIG_PINCTRL_BROXTON=m
@ -6526,7 +6526,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=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_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y CONFIG_X86_CPUID=y

View File

@ -1856,6 +1856,10 @@ fi
# #
# #
%changelog %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 * Fri May 18 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.17.0-0.rc5.git3.1
- Linux v4.17-rc5-110-g2c71d338bef2 - Linux v4.17-rc5-110-g2c71d338bef2