From patchwork Fri Oct 30 09:38:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 55825 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp1084027lbr; Fri, 30 Oct 2015 02:38:25 -0700 (PDT) X-Received: by 10.66.170.238 with SMTP id ap14mr7508900pac.128.1446197904887; Fri, 30 Oct 2015 02:38:24 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yi8si9613127pac.186.2015.10.30.02.38.24; Fri, 30 Oct 2015 02:38:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966062AbbJ3JiY (ORCPT + 4 others); Fri, 30 Oct 2015 05:38:24 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:33196 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965541AbbJ3JiW (ORCPT ); Fri, 30 Oct 2015 05:38:22 -0400 Received: by lbbec13 with SMTP id ec13so47046082lbb.0 for ; Fri, 30 Oct 2015 02:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=xWRScOfJP8SgvgfbL9uxB6AqdA/UpKQjN3UHAlGByGU=; b=VRmFhxmnbGdTIlpbwjO9YTuD9o3i2and76qIiiMat3dH81v6Tjvzxgfm7nW6zLX/8/ maiUF+yhgcapHsGNGKumJiA7oJB4mo5IC0p6wrh+cnNnDvjolXSFnbDG5eKC3O1lDvr1 ifK4/lFWXMgNdX4cp2fBXwvbaaXSkX0tjdCaEj3tKqcB7grdXyjUOWSeXmdGkkD5RZ5g eyBO98MdBLUOYXJU4N8UKGZ+uEtV0vmncqXVgjjMwYwXYoUAy6uCbyoMsujzj+eOf2Fc ODdO/tL0F5wGf4ZPlTr5C8ER2tb3U96BodfMNlvZyRcA38wr67IUALPKjldVw+LXvqhk Uriw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=xWRScOfJP8SgvgfbL9uxB6AqdA/UpKQjN3UHAlGByGU=; b=ACVNg/Tnmfs3Y0iAP18nJ75gWbwIHVBWrRkROMp7mU0KAR82V93Fx80RVvOOJ4i7nL 0qdWPZSOkHgNpduEfhRvLiQ343AJda7+eDoaD5NlSmdTa7OBWLxmJ4odqY+CaSDBDS2l veM6qTVCH+KBpGXNbt1Yr4Sopzd1nbte4Odwor4/4zL48qu/tRv91pGl9Gzym+2i0f4V 8D/uo99x8Wq8eD5IywTe8Dsr2oa8H9U3V0epSiUVRubFgdURguOqv/AGEj3IMZ82F+Fj HNDBTWmF8ZvIHtiutBxEN/FzpMYNfhDVV4k+MtTuQNvXx0G0e8e1lMgLgP6OpLPQMr6V uRCA== X-Gm-Message-State: ALoCoQlw/otrVXexBx7BMoq1QKYAyjWtobcWKBh6YNojDai2gZ/ARei0ypEPMWI+ZsQiWejizCHe X-Received: by 10.112.157.166 with SMTP id wn6mr2889158lbb.30.1446197901284; Fri, 30 Oct 2015 02:38:21 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id r77sm1089388lfr.30.2015.10.30.02.38.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 02:38:20 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , William Breathitt Gray , Andreas Bofjall , Simon Guinot , =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= , Daniel Krueger , Bruno Randolf , Vivien Didelot Subject: [PATCH] gpio: group port-mapped I/O drivers in a menu Date: Fri, 30 Oct 2015 10:38:16 +0100 Message-Id: <1446197896-5383-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Create a Kconfig submenu for drivers using X86 port-mapped I/O and depend on X86 for this. Suggested-by: Mika Westerberg Cc: William Breathitt Gray Cc: Andreas Bofjall Cc: Simon Guinot Cc: Diego Elio Pettenò Cc: Daniel Krueger Cc: Bruno Randolf Cc: Vivien Didelot Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 155 ++++++++++++++++++++++++++------------------------- 1 file changed, 78 insertions(+), 77 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index dbb171d46a48..d20644b9e5b9 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -183,16 +183,6 @@ config GPIO_ETRAXFS help Say yes here to support the GPIO controller on Axis ETRAX FS SoCs. -config GPIO_F7188X - tristate "F71869, F71869A, F71882FG and F71889F GPIO support" - depends on X86 - help - This option enables support for GPIOs found on Fintek Super-I/O - chips F71869, F71869A, F71882FG and F71889F. - - To compile this driver as a module, choose M here: the module will - be called f7188x-gpio. - config GPIO_GE_FPGA bool "GE FPGA based GPIO" depends on GE_FPGA @@ -242,18 +232,6 @@ config GPIO_IOP If unsure, say N. -config GPIO_IT87 - tristate "IT87xx GPIO support" - depends on X86 # unconditional access to IO space. - help - Say yes here to support GPIO functionality of IT87xx Super I/O chips. - - This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and - supports the IT8761E Super I/O chip as well. - - To compile this driver as a module, choose M here: the module will - be called gpio_it87 - config GPIO_LOONGSON bool "Loongson-2/3 GPIO support" depends on CPU_LOONGSON2 || CPU_LOONGSON3 @@ -373,42 +351,6 @@ config GPIO_SAMSUNG Legacy GPIO support. Use only for platforms without support for pinctrl. -config GPIO_SCH - tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO" - depends on PCI && X86 - select MFD_CORE - select LPC_SCH - help - Say yes here to support GPIO interface on Intel Poulsbo SCH, - Intel Tunnel Creek processor, Intel Centerton processor or - Intel Quark X1000 SoC. - - The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are - powered by the core power rail and are turned off during sleep - modes (S3 and higher). The remaining four GPIOs are powered by - the Intel SCH suspend power supply. These GPIOs remain - active during S3. The suspend powered GPIOs can be used to wake the - system from the Suspend-to-RAM state. - - The Intel Tunnel Creek processor has 5 GPIOs powered by the - core power rail and 9 from suspend power supply. - - The Intel Centerton processor has a total of 30 GPIO pins. - Twenty-one are powered by the core power rail and 9 from the - suspend power supply. - - The Intel Quark X1000 SoC has 2 GPIOs powered by the core - power well and 6 from the suspend power well. - -config GPIO_SCH311X - tristate "SMSC SCH311x SuperI/O GPIO" - help - Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and - SCH3116 "Super I/O" chipsets. - - To compile this driver as a module, choose M here: the module will - be called gpio-sch311x. - config GPIO_SPEAR_SPICS bool "ST SPEAr13xx SPI Chip Select as GPIO support" depends on PLAT_SPEAR @@ -445,15 +387,6 @@ config GPIO_TB10X select GENERIC_IRQ_CHIP select OF_GPIO -config GPIO_TS5500 - tristate "TS-5500 DIO blocks and compatibles" - depends on TS5500 || COMPILE_TEST - help - This driver supports Digital I/O exposed by pin blocks found on some - Technologic Systems platforms. It includes, but is not limited to, 3 - blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600 - LCD port. - config GPIO_TZ1090 bool "Toumaz Xenif TZ1090 GPIO support" depends on SOC_TZ1090 @@ -552,6 +485,84 @@ config GPIO_ZYNQ endmenu +menu "Port-mapped I/O GPIO drivers" + depends on X86 + +config GPIO_104_IDIO_16 + tristate "ACCES 104-IDIO-16 GPIO support" + depends on X86 + help + Enables GPIO support for the ACCES 104-IDIO-16 family. + +config GPIO_F7188X + tristate "F71869, F71869A, F71882FG and F71889F GPIO support" + depends on X86 + help + This option enables support for GPIOs found on Fintek Super-I/O + chips F71869, F71869A, F71882FG and F71889F. + + To compile this driver as a module, choose M here: the module will + be called f7188x-gpio. + +config GPIO_IT87 + tristate "IT87xx GPIO support" + depends on X86 # unconditional access to IO space. + help + Say yes here to support GPIO functionality of IT87xx Super I/O chips. + + This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and + supports the IT8761E Super I/O chip as well. + + To compile this driver as a module, choose M here: the module will + be called gpio_it87 + +config GPIO_SCH + tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO" + depends on PCI && X86 + select MFD_CORE + select LPC_SCH + help + Say yes here to support GPIO interface on Intel Poulsbo SCH, + Intel Tunnel Creek processor, Intel Centerton processor or + Intel Quark X1000 SoC. + + The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are + powered by the core power rail and are turned off during sleep + modes (S3 and higher). The remaining four GPIOs are powered by + the Intel SCH suspend power supply. These GPIOs remain + active during S3. The suspend powered GPIOs can be used to wake the + system from the Suspend-to-RAM state. + + The Intel Tunnel Creek processor has 5 GPIOs powered by the + core power rail and 9 from suspend power supply. + + The Intel Centerton processor has a total of 30 GPIO pins. + Twenty-one are powered by the core power rail and 9 from the + suspend power supply. + + The Intel Quark X1000 SoC has 2 GPIOs powered by the core + power well and 6 from the suspend power well. + +config GPIO_SCH311X + tristate "SMSC SCH311x SuperI/O GPIO" + help + Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and + SCH3116 "Super I/O" chipsets. + + To compile this driver as a module, choose M here: the module will + be called gpio-sch311x. + +config GPIO_TS5500 + tristate "TS-5500 DIO blocks and compatibles" + depends on TS5500 || COMPILE_TEST + help + This driver supports Digital I/O exposed by pin blocks found on some + Technologic Systems platforms. It includes, but is not limited to, 3 + blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600 + LCD port. + +endmenu + menu "I2C GPIO expanders" depends on I2C @@ -689,16 +700,6 @@ config GPIO_SX150X endmenu -menu "ISA GPIO drivers" - -config GPIO_104_IDIO_16 - tristate "ACCES 104-IDIO-16 GPIO support" - depends on X86 - help - Enables GPIO support for the ACCES 104-IDIO-16 family. - -endmenu - menu "MFD GPIO expanders" config GPIO_ADP5520