From patchwork Wed Apr 8 12:15:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 46878 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 90CD621416 for ; Wed, 8 Apr 2015 12:15:47 +0000 (UTC) Received: by lbcne10 with SMTP id ne10sf19232835lbc.1 for ; Wed, 08 Apr 2015 05:15:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=2ydW5aBKumhIn6QIaEo06SJRVRrlvDH7S8SMKMSNwBc=; b=WsxPCyTFCd/Pf7w0mf7Kk+A24Y7oDgDHJ4kT+mkrLnKh1t+1Gk92UsCC8m2SpeIrGM q+Q+c9+pmiCVxdDN5VXYeJa+iE7zc4+UrhcFuMBl4/affN+uJg6Ta0L92mhHVcu91Uek LihQ/U55FBciNEiFf07zMRWZXaU0PIbqL3eTFyjaf5Ay1VHaMb3I0cjVLpmdNdZNji0E mMf7eNI4lIA0/rtza4ToHtigcmngIxVAqCJzJPBxkZ9yDeBkCqmGA9Yqiu4TEL9CmMKD Qn/sOnf9aHQMXWvt6S54HuHCRRKGICxMezkUjnxe8yfl13ZfRMrFrE+hZytvOjRqG726 ZbqQ== X-Gm-Message-State: ALoCoQmydKciRPZ0A4ylo0qlOakv2ck2FQEpaZ67tVmgqLhlTR/6DCE7qY5yHADoTCTvvrluzfm2 X-Received: by 10.112.189.131 with SMTP id gi3mr1328638lbc.6.1428495346516; Wed, 08 Apr 2015 05:15:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.42 with SMTP id u10ls157566laz.64.gmail; Wed, 08 Apr 2015 05:15:46 -0700 (PDT) X-Received: by 10.152.36.227 with SMTP id t3mr11612673laj.12.1428495346130; Wed, 08 Apr 2015 05:15:46 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id sc4si8621936lbb.99.2015.04.08.05.15.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Apr 2015 05:15:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labbd9 with SMTP id bd9so52930243lab.2 for ; Wed, 08 Apr 2015 05:15:45 -0700 (PDT) X-Received: by 10.152.4.72 with SMTP id i8mr3644927lai.29.1428495345920; Wed, 08 Apr 2015 05:15:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp1019419lbt; Wed, 8 Apr 2015 05:15:44 -0700 (PDT) X-Received: by 10.66.66.41 with SMTP id c9mr44870020pat.128.1428495344066; Wed, 08 Apr 2015 05:15:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si8875840pdf.49.2015.04.08.05.15.43; Wed, 08 Apr 2015 05:15:44 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbbDHMPn (ORCPT + 1 other); Wed, 8 Apr 2015 08:15:43 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:35720 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753458AbbDHMPm (ORCPT ); Wed, 8 Apr 2015 08:15:42 -0400 Received: by labbd9 with SMTP id bd9so52928597lab.2 for ; Wed, 08 Apr 2015 05:15:40 -0700 (PDT) X-Received: by 10.112.145.136 with SMTP id su8mr22836390lbb.61.1428495340446; Wed, 08 Apr 2015 05:15:40 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id 4sm2452171lal.36.2015.04.08.05.15.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Apr 2015 05:15:39 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij Subject: [PATCH] gpio: arrange I2C Kconfig symbols alphabetically Date: Wed, 8 Apr 2015 14:15:35 +0200 Message-Id: <1428495335-19157-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rearrange the I2C GPIO expanders in alphabetic order as already indicated by the comment in the file. Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 90 ++++++++++++++++++++++++++-------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 0cd817dee07b..38fd1311b9d6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -521,6 +521,39 @@ config GPIO_ZYNQ comment "I2C GPIO expanders:" +config GPIO_ADP5520 + tristate "GPIO Support for ADP5520 PMIC" + depends on PMIC_ADP5520 + help + This option enables support for on-chip GPIO found + on Analog Devices ADP5520 PMICs. + +config GPIO_ADP5588 + tristate "ADP5588 I2C GPIO expander" + depends on I2C + help + This option enables support for 18 GPIOs found + on Analog Devices ADP5588 GPIO Expanders. + +config GPIO_ADP5588_IRQ + bool "Interrupt controller support for ADP5588" + depends on GPIO_ADP5588=y + help + Say yes here to enable the adp5588 to be used as an interrupt + controller. It requires the driver to be built in the kernel. + +config GPIO_ADNP + tristate "Avionic Design N-bit GPIO expander" + depends on I2C && OF_GPIO + select GPIOLIB_IRQCHIP + help + This option enables support for N GPIOs found on Avionic Design + I2C GPIO expanders. The register space will be extended by powers + of two, so the controller will need to accommodate for that. For + example: if a controller provides 48 pins, 6 registers will be + enough to represent all pins, but the driver will assume a + register layout for 64 pins (8 registers). + config GPIO_ARIZONA tristate "Wolfson Microelectronics Arizona class devices" depends on MFD_ARIZONA @@ -651,18 +684,6 @@ config GPIO_RC5T583 This driver provides the support for driving/reading the gpio pins of RC5T583 device through standard gpio library. -config GPIO_SX150X - bool "Semtech SX150x I2C GPIO expander" - depends on I2C=y - select GPIOLIB_IRQCHIP - default n - help - Say yes here to provide support for Semtech SX150-series I2C - GPIO expanders. Compatible models include: - - 8 bits: sx1508q - 16 bits: sx1509q - config GPIO_STMPE bool "STMPE GPIOs" depends on MFD_STMPE @@ -682,6 +703,18 @@ config GPIO_STP_XWAY Some of the gpios/leds can be auto updated by the soc with dsl and phy status. +config GPIO_SX150X + bool "Semtech SX150x I2C GPIO expander" + depends on I2C=y + select GPIOLIB_IRQCHIP + default n + help + Say yes here to provide support for Semtech SX150-series I2C + GPIO expanders. Compatible models include: + + 8 bits: sx1508q + 16 bits: sx1509q + config GPIO_TC3589X bool "TC3589X GPIOs" depends on MFD_TC3589X @@ -731,39 +764,6 @@ config GPIO_WM8994 Say yes here to access the GPIO signals of WM8994 audio hub CODECs from Wolfson Microelectronics. -config GPIO_ADP5520 - tristate "GPIO Support for ADP5520 PMIC" - depends on PMIC_ADP5520 - help - This option enables support for on-chip GPIO found - on Analog Devices ADP5520 PMICs. - -config GPIO_ADP5588 - tristate "ADP5588 I2C GPIO expander" - depends on I2C - help - This option enables support for 18 GPIOs found - on Analog Devices ADP5588 GPIO Expanders. - -config GPIO_ADP5588_IRQ - bool "Interrupt controller support for ADP5588" - depends on GPIO_ADP5588=y - help - Say yes here to enable the adp5588 to be used as an interrupt - controller. It requires the driver to be built in the kernel. - -config GPIO_ADNP - tristate "Avionic Design N-bit GPIO expander" - depends on I2C && OF_GPIO - select GPIOLIB_IRQCHIP - help - This option enables support for N GPIOs found on Avionic Design - I2C GPIO expanders. The register space will be extended by powers - of two, so the controller will need to accommodate for that. For - example: if a controller provides 48 pins, 6 registers will be - enough to represent all pins, but the driver will assume a - register layout for 64 pins (8 registers). - comment "PCI GPIO expanders:" config GPIO_CS5535