From patchwork Sun Sep 11 12:39:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9325209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 079C06077F for ; Sun, 11 Sep 2016 12:40:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBFDE28A5B for ; Sun, 11 Sep 2016 12:40:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEC3028A6B; Sun, 11 Sep 2016 12:40:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 90ADC28A5B for ; Sun, 11 Sep 2016 12:40:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bj43O-0004qo-JA; Sun, 11 Sep 2016 12:40:10 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bj42r-0004Or-Qp; Sun, 11 Sep 2016 12:39:38 +0000 Received: by mail-wm0-x242.google.com with SMTP id d7so1976161wmi.3; Sun, 11 Sep 2016 05:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4Zp2xzt35e8CfSlFXaQPxGCIHnT3VCVzv4cFsLhUEPg=; b=sXkcp9bvzgznO5+HCdgaSsiUGoimIrgGWEt9XLqlDCODYuHlFlPT6Wm2y5BPpqz43E enKmulS7zpzIgb9w4FhLYMdqJCANiDOCEQpUxwthmIzoPGNx5xaJkSZkeRVQzn3Ik2Ga z2PzyjMqU+E9zcpp2kjBTytpNUkWUngusm5LEnoRM1vjM5VYt+g4Uk6YonwjZpkT7yOB JYbrGnxLttskUf7iRNIpdsmhH649p2lLYGAfizL7lSxYoo1peSChC+NnVP9pPxNhCPVe 3R0RRbhxtuZe6eCsG3p6dr6RS30UREg5/sEhCtBZQK7ayPf2x56H/+Nj4M2z0bFs5s4G h7Dg== 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:in-reply-to :references; bh=4Zp2xzt35e8CfSlFXaQPxGCIHnT3VCVzv4cFsLhUEPg=; b=DuAswPQqd2Vp62fuiUbbDV4PGdIHiN7xVI0Z7zkPBXaKXGFWlv6jIHX0uBgGhCl7SC wGO5gEGCuwBr/r8TpsN36V62pzpka1u1gn6pE3s6NRQlHCYkqo6uxpDq+758JoiG6C6Y AoMqHnOv935bqMaEqlo04AYCTEKNgNYZzBPcb0MuVkBrwkFPs1DqlgaYg02a3l9SNAsD RgVQe05PAIPWq4c8eqUh0oh4jCOWLHpUUSktJr7GCXluz24z3Ie6Pu+Q4K+kNABDKUiO UOwMUtRCWa7CiPUsIxX/bmsnh7BgrIPo6MC/76SZbuxfaF2/NRqs9YHiVPewFXZjLmXW t0zg== X-Gm-Message-State: AE9vXwPlbDDiQYn+slmDcNWpGc4AT5a/d5sAceBuNDmbuGK6WFQj5xqjg4nSkgg4AVQiTA== X-Received: by 10.28.208.5 with SMTP id h5mr6054553wmg.17.1473597556247; Sun, 11 Sep 2016 05:39:16 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3CB9604519CE50E19B62432.dip0.t-ipconnect.de. [2003:dc:d3cb:9604:519c:e50e:19b6:2432]) by smtp.googlemail.com with ESMTPSA id ub8sm12789572wjc.39.2016.09.11.05.39.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Sep 2016 05:39:15 -0700 (PDT) From: Martin Blumenstingl To: linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linus.walleij@linaro.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH v2 1/2] pinctrl: meson-gxbb: add the missing SDIO interrupt pin Date: Sun, 11 Sep 2016 14:39:02 +0200 Message-Id: <20160911123903.20027-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160911123903.20027-1-martin.blumenstingl@googlemail.com> References: <20160828164725.19429-1-martin.blumenstingl@googlemail.com> <20160911123903.20027-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160911_053938_058920_F8C7B5E8 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the SDIO interrupt pin which can be used by sd_emmc_a. Signed-off-by: Martin Blumenstingl Suggested-by: Neil Armstrong Fixes: 29885a656511 ("pinctrl: meson-gxbb: add the pins for the SDIO/sd_emmc_a controller") Acked-by: Kevin Hilman --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index fb479b8..4a27ae0 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c @@ -169,6 +169,7 @@ static const unsigned int sdio_d2_pins[] = { PIN(GPIOX_2, EE_OFF) }; static const unsigned int sdio_d3_pins[] = { PIN(GPIOX_3, EE_OFF) }; static const unsigned int sdio_cmd_pins[] = { PIN(GPIOX_4, EE_OFF) }; static const unsigned int sdio_clk_pins[] = { PIN(GPIOX_5, EE_OFF) }; +static const unsigned int sdio_irq_pins[] = { PIN(GPIOX_7, EE_OFF) }; static const unsigned int uart_tx_a_pins[] = { PIN(GPIOX_12, EE_OFF) }; static const unsigned int uart_rx_a_pins[] = { PIN(GPIOX_13, EE_OFF) }; @@ -383,6 +384,7 @@ static struct meson_pmx_group meson_gxbb_periphs_groups[] = { GROUP(sdio_d3, 8, 2), GROUP(sdio_cmd, 8, 1), GROUP(sdio_clk, 8, 0), + GROUP(sdio_irq, 8, 11), GROUP(uart_tx_a, 4, 13), GROUP(uart_rx_a, 4, 12), GROUP(uart_cts_a, 4, 11), @@ -522,7 +524,7 @@ static const char * const sdcard_groups[] = { static const char * const sdio_groups[] = { "sdio_d0", "sdio_d1", "sdio_d2", "sdio_d3", - "sdio_cmd", "sdio_clk", + "sdio_cmd", "sdio_clk", "sdio_irq", }; static const char * const uart_a_groups[] = {