^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) # Intel pin control drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) if (X86 || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config PINCTRL_BAYTRAIL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool "Intel Baytrail GPIO pin control"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) driver for memory mapped GPIO functionality on Intel Baytrail
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) platforms. Supports 3 banks with 102, 28 and 44 gpios.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Most pins are usually muxed to some other functionality by firmware,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) so only a small amount is available for gpio use.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Requires ACPI device enumeration code to set up a platform device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) config PINCTRL_CHERRYVIEW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) tristate "Intel Cherryview/Braswell pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Cherryview/Braswell pinctrl driver provides an interface that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) allows configuring of SoC pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config PINCTRL_LYNXPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) tristate "Intel Lynxpoint pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select PINMUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) select GENERIC_PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) select GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select GPIOLIB_IRQCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Lynxpoint is the PCH of Intel Haswell. This pinctrl driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) provides an interface that allows configuring of PCH pins and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config PINCTRL_MERRIFIELD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) tristate "Intel Merrifield pinctrl driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on X86_INTEL_MID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) select PINMUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) select PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) select GENERIC_PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Merrifield Family-Level Interface Shim (FLIS) driver provides an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) interface that allows configuring of SoC pins and using them as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) config PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) select PINMUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) select PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) select GENERIC_PINCONF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) select GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) select GPIOLIB_IRQCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config PINCTRL_BROXTON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) tristate "Intel Broxton pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Broxton pinctrl driver provides an interface that allows
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) configuring of SoC pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) config PINCTRL_CANNONLAKE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) tristate "Intel Cannon Lake PCH pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) of Intel Cannon Lake PCH pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) config PINCTRL_CEDARFORK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) tristate "Intel Cedar Fork pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) of Intel Cedar Fork PCH pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) config PINCTRL_DENVERTON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) tristate "Intel Denverton pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) of Intel Denverton SoC pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) config PINCTRL_EMMITSBURG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) tristate "Intel Emmitsburg pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) of Intel Emmitsburg pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) config PINCTRL_GEMINILAKE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) tristate "Intel Gemini Lake SoC pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) of Intel Gemini Lake SoC pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) config PINCTRL_ICELAKE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) tristate "Intel Ice Lake PCH pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) of Intel Ice Lake PCH pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) config PINCTRL_JASPERLAKE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) tristate "Intel Jasper Lake PCH pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) of Intel Jasper Lake PCH pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) config PINCTRL_LEWISBURG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) tristate "Intel Lewisburg pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) of Intel Lewisburg pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) config PINCTRL_SUNRISEPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) tristate "Intel Sunrisepoint pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) Sunrisepoint is the PCH of Intel Skylake. This pinctrl driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) provides an interface that allows configuring of PCH pins and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) config PINCTRL_TIGERLAKE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) tristate "Intel Tiger Lake pinctrl and GPIO driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) select PINCTRL_INTEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) This pinctrl driver provides an interface that allows configuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) of Intel Tiger Lake PCH pins and using them as GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) endif