[openwrt/openwrt] x86/64: enable Intel PINCTRL in 64bit target

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 20 10:00:45 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/34615250a9c38b131a853166184ae094238333e2

commit 34615250a9c38b131a853166184ae094238333e2
Author: Xiaopo Zhang <xiaopoz at proton.me>
AuthorDate: Thu Nov 17 21:17:36 2022 +0800

    x86/64: enable Intel PINCTRL in 64bit target
    
    Intel PINCTRL is not enable in the 64bit build, while it is enabled in
    the x86/general target, which disables the ability of controlling GPIO
    in the 64 bit build.
    
    This commit copies the corresponding part of x86/general config, since
    it is already there, so it should be fine to enable the same settings
    here.
    
    Signed-off-by: Xiaopo Zhang <xiaopoz at proton.me>
---
 target/linux/x86/64/config-5.10 | 15 ++++++++-------
 target/linux/x86/64/config-5.15 | 15 ++++++++-------
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
index 3f84b00c0f..b95f552b44 100644
--- a/target/linux/x86/64/config-5.10
+++ b/target/linux/x86/64/config-5.10
@@ -350,17 +350,18 @@ CONFIG_PGTABLE_LEVELS=4
 CONFIG_PHYSICAL_ALIGN=0x1000000
 CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_PINCTRL=y
-# CONFIG_PINCTRL_BAYTRAIL is not set
-# CONFIG_PINCTRL_BROXTON is not set
-# CONFIG_PINCTRL_CANNONLAKE is not set
-# CONFIG_PINCTRL_CHERRYVIEW is not set
-# CONFIG_PINCTRL_DENVERTON is not set
+CONFIG_PINCTRL_BAYTRAIL=y
+CONFIG_PINCTRL_BROXTON=y
+CONFIG_PINCTRL_CANNONLAKE=y
+CONFIG_PINCTRL_CHERRYVIEW=y
+CONFIG_PINCTRL_DENVERTON=y
 # CONFIG_PINCTRL_EMMITSBURG is not set
-# CONFIG_PINCTRL_GEMINILAKE is not set
+CONFIG_PINCTRL_GEMINILAKE=y
+CONFIG_PINCTRL_INTEL=y
 # CONFIG_PINCTRL_JASPERLAKE is not set
 # CONFIG_PINCTRL_LEWISBURG is not set
 # CONFIG_PINCTRL_LYNXPOINT is not set
-# CONFIG_PINCTRL_SUNRISEPOINT is not set
+CONFIG_PINCTRL_SUNRISEPOINT=y
 # CONFIG_PINCTRL_TIGERLAKE is not set
 CONFIG_PM=y
 # CONFIG_PMIC_OPREGION is not set
diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
index 040dceb961..a25fa4c12a 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -368,19 +368,20 @@ CONFIG_PHYSICAL_ALIGN=0x1000000
 CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_ALDERLAKE is not set
-# CONFIG_PINCTRL_BAYTRAIL is not set
-# CONFIG_PINCTRL_BROXTON is not set
-# CONFIG_PINCTRL_CANNONLAKE is not set
-# CONFIG_PINCTRL_CHERRYVIEW is not set
-# CONFIG_PINCTRL_DENVERTON is not set
+CONFIG_PINCTRL_BAYTRAIL=y
+CONFIG_PINCTRL_BROXTON=y
+CONFIG_PINCTRL_CANNONLAKE=y
+CONFIG_PINCTRL_CHERRYVIEW=y
+CONFIG_PINCTRL_DENVERTON=y
 # CONFIG_PINCTRL_ELKHARTLAKE is not set
 # CONFIG_PINCTRL_EMMITSBURG is not set
-# CONFIG_PINCTRL_GEMINILAKE is not set
+CONFIG_PINCTRL_GEMINILAKE=y
+CONFIG_PINCTRL_INTEL=y
 # CONFIG_PINCTRL_JASPERLAKE is not set
 # CONFIG_PINCTRL_LAKEFIELD is not set
 # CONFIG_PINCTRL_LEWISBURG is not set
 # CONFIG_PINCTRL_LYNXPOINT is not set
-# CONFIG_PINCTRL_SUNRISEPOINT is not set
+CONFIG_PINCTRL_SUNRISEPOINT=y
 # CONFIG_PINCTRL_TIGERLAKE is not set
 CONFIG_PM=y
 # CONFIG_PMIC_OPREGION is not set




More information about the lede-commits mailing list