1b17f2f9bSRay Jui# 2b17f2f9bSRay Jui# Broadcom pinctrl drivers 3b17f2f9bSRay Jui# 4b17f2f9bSRay Jui 5b17f2f9bSRay Juiconfig PINCTRL_BCM281XX 6b17f2f9bSRay Jui bool "Broadcom BCM281xx pinctrl driver" 7b17f2f9bSRay Jui depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST) 8b17f2f9bSRay Jui select PINMUX 9b17f2f9bSRay Jui select PINCONF 10b17f2f9bSRay Jui select GENERIC_PINCONF 11b17f2f9bSRay Jui select REGMAP_MMIO 12652da824SFlorian Fainelli default ARCH_BCM_MOBILE 13b17f2f9bSRay Jui help 14b17f2f9bSRay Jui Say Y here to support Broadcom BCM281xx pinctrl driver, which is used 15b17f2f9bSRay Jui for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, 16b17f2f9bSRay Jui BCM28145, and BCM28155 SoCs. This driver requires the pinctrl 17b17f2f9bSRay Jui framework. GPIO is provided by a separate GPIO driver. 18b17f2f9bSRay Jui 19b17f2f9bSRay Juiconfig PINCTRL_BCM2835 20b17f2f9bSRay Jui bool 21b17f2f9bSRay Jui select PINMUX 22b17f2f9bSRay Jui select PINCONF 2385ae9e51SLinus Walleij select GPIOLIB_IRQCHIP 24cbd159edSRay Jui 25616043d5SPramod Kumarconfig PINCTRL_IPROC_GPIO 26616043d5SPramod Kumar bool "Broadcom iProc GPIO (with PINCONF) driver" 27616043d5SPramod Kumar depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST) 28b64333ceSRay Jui select GPIOLIB_IRQCHIP 29b64333ceSRay Jui select PINCONF 30b64333ceSRay Jui select GENERIC_PINCONF 31616043d5SPramod Kumar default ARCH_BCM_IPROC 32b64333ceSRay Jui help 33616043d5SPramod Kumar Say yes here to enable the Broadcom iProc GPIO driver. 34616043d5SPramod Kumar 35616043d5SPramod Kumar The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use 36616043d5SPramod Kumar same GPIO Controller IP hence this driver could be used for all. 37b64333ceSRay Jui 38b64333ceSRay Jui The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU 39b64333ceSRay Jui GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and 40b64333ceSRay Jui the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are 41b64333ceSRay Jui supported by this driver. 42b64333ceSRay Jui 43616043d5SPramod Kumar The Broadcom NSP has two GPIO controllers including the ChipcommonA 44616043d5SPramod Kumar GPIO, the ChipcommonB GPIO. Later controller is supported by this 45616043d5SPramod Kumar driver. 46616043d5SPramod Kumar 47616043d5SPramod Kumar The Broadcom NS2 has two GPIO controller including the CRMU GPIO, 48616043d5SPramod Kumar the ChipcommonG GPIO. Both controllers are supported by this driver. 49616043d5SPramod Kumar 50616043d5SPramod Kumar The Broadcom Stingray GPIO controllers are supported by this driver. 51616043d5SPramod Kumar 52616043d5SPramod Kumar All above SoCs GPIO controllers support basic PINCONF functions such 53b64333ceSRay Jui as bias pull up, pull down, and drive strength configurations, when 54b64333ceSRay Jui these pins are muxed to GPIO. 55b64333ceSRay Jui 56616043d5SPramod Kumar It provides the framework where pins from the individual GPIO can be 57616043d5SPramod Kumar individually muxed to GPIO function, through interaction with the 58616043d5SPramod Kumar SoCs IOMUX controller. This features could be used only on SoCs which 59616043d5SPramod Kumar support individual pin muxing. 60b64333ceSRay Jui 61cbd159edSRay Juiconfig PINCTRL_CYGNUS_MUX 62cbd159edSRay Jui bool "Broadcom Cygnus IOMUX driver" 63cbd159edSRay Jui depends on (ARCH_BCM_CYGNUS || COMPILE_TEST) 6453056f59SArnd Bergmann depends on OF 65cbd159edSRay Jui select PINMUX 66cbd159edSRay Jui select GENERIC_PINCONF 67cbd159edSRay Jui default ARCH_BCM_CYGNUS 68cbd159edSRay Jui help 69cbd159edSRay Jui Say yes here to enable the Broadcom Cygnus IOMUX driver. 70cbd159edSRay Jui 71cbd159edSRay Jui The Broadcom Cygnus IOMUX driver supports group based IOMUX 72cbd159edSRay Jui configuration, with the exception that certain individual pins 73cbd159edSRay Jui can be overrided to GPIO function 748bfcbbbcSYendapally Reddy Dhananjaya Reddy 758bfcbbbcSYendapally Reddy Dhananjaya Reddyconfig PINCTRL_NSP_GPIO 768bfcbbbcSYendapally Reddy Dhananjaya Reddy bool "Broadcom NSP GPIO (with PINCONF) driver" 778bfcbbbcSYendapally Reddy Dhananjaya Reddy depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST) 788bfcbbbcSYendapally Reddy Dhananjaya Reddy select GPIOLIB_IRQCHIP 798bfcbbbcSYendapally Reddy Dhananjaya Reddy select PINCONF 808bfcbbbcSYendapally Reddy Dhananjaya Reddy select GENERIC_PINCONF 818bfcbbbcSYendapally Reddy Dhananjaya Reddy default ARCH_BCM_NSP 828bfcbbbcSYendapally Reddy Dhananjaya Reddy help 838bfcbbbcSYendapally Reddy Dhananjaya Reddy Say yes here to enable the Broadcom NSP GPIO driver. 848bfcbbbcSYendapally Reddy Dhananjaya Reddy 858bfcbbbcSYendapally Reddy Dhananjaya Reddy The Broadcom Northstar Plus SoC ChipcommonA GPIO controller is 868bfcbbbcSYendapally Reddy Dhananjaya Reddy supported by this driver. 878bfcbbbcSYendapally Reddy Dhananjaya Reddy 888bfcbbbcSYendapally Reddy Dhananjaya Reddy The ChipcommonA GPIO controller support basic PINCONF functions such 898bfcbbbcSYendapally Reddy Dhananjaya Reddy as bias pull up, pull down, and drive strength configurations, when 908bfcbbbcSYendapally Reddy Dhananjaya Reddy these pins are muxed to GPIO. 91b5aa1006SYendapally Reddy Dhananjaya Reddy 92b5aa1006SYendapally Reddy Dhananjaya Reddyconfig PINCTRL_NS2_MUX 93b5aa1006SYendapally Reddy Dhananjaya Reddy bool "Broadcom Northstar2 pinmux driver" 94b5aa1006SYendapally Reddy Dhananjaya Reddy depends on OF 95b5aa1006SYendapally Reddy Dhananjaya Reddy depends on ARCH_BCM_IPROC || COMPILE_TEST 96b5aa1006SYendapally Reddy Dhananjaya Reddy select PINMUX 97b5aa1006SYendapally Reddy Dhananjaya Reddy select GENERIC_PINCONF 98b5aa1006SYendapally Reddy Dhananjaya Reddy default ARM64 && ARCH_BCM_IPROC 99b5aa1006SYendapally Reddy Dhananjaya Reddy help 100b5aa1006SYendapally Reddy Dhananjaya Reddy Say yes here to enable the Broadcom NS2 MUX driver. 101b5aa1006SYendapally Reddy Dhananjaya Reddy 102b5aa1006SYendapally Reddy Dhananjaya Reddy The Broadcom Northstar2 IOMUX driver supports group based IOMUX 103b5aa1006SYendapally Reddy Dhananjaya Reddy configuration. 104cc4fa83fSYendapally Reddy Dhananjaya Reddy 105cc4fa83fSYendapally Reddy Dhananjaya Reddyconfig PINCTRL_NSP_MUX 106cc4fa83fSYendapally Reddy Dhananjaya Reddy bool "Broadcom NSP IOMUX driver" 107cc4fa83fSYendapally Reddy Dhananjaya Reddy depends on (ARCH_BCM_NSP || COMPILE_TEST) 10853056f59SArnd Bergmann depends on OF 109cc4fa83fSYendapally Reddy Dhananjaya Reddy select PINMUX 110cc4fa83fSYendapally Reddy Dhananjaya Reddy select GENERIC_PINCONF 111cc4fa83fSYendapally Reddy Dhananjaya Reddy default ARCH_BCM_NSP 112cc4fa83fSYendapally Reddy Dhananjaya Reddy help 113cc4fa83fSYendapally Reddy Dhananjaya Reddy Say yes here to enable the Broadcom NSP SOC IOMUX driver. 114cc4fa83fSYendapally Reddy Dhananjaya Reddy 115cc4fa83fSYendapally Reddy Dhananjaya Reddy The Broadcom Northstar Plus IOMUX driver supports pin based IOMUX 116cc4fa83fSYendapally Reddy Dhananjaya Reddy configuration, with certain individual pins can be overridden 117cc4fa83fSYendapally Reddy Dhananjaya Reddy to GPIO function. 118