From patchwork Wed Sep 7 15:13:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9319457 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 6A0256077F for ; Wed, 7 Sep 2016 15:15:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6740028C88 for ; Wed, 7 Sep 2016 15:15:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BB402932A; Wed, 7 Sep 2016 15:15:19 +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_SIGNED, 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 42DDC28C88 for ; Wed, 7 Sep 2016 15:15:18 +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 1bheZG-0007YN-8b; Wed, 07 Sep 2016 15:15:14 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bheYw-0006xj-2A for linux-amlogic@lists.infradead.org; Wed, 07 Sep 2016 15:14:55 +0000 Received: by mail-wm0-x22c.google.com with SMTP id b187so121480580wme.1 for ; Wed, 07 Sep 2016 08:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qJN67C8pSw22uz7HAzrmtWdyvDPNITySMW4aiIfV3mM=; b=nALaUk8sqmJyndmVej2IR31nKOiqPpmcM7AyC1A8rBCkbFL1HFpdF397gxCevyd9O4 AhPWTurLuihBmD7QCQqN494mjmu+z5kuoonVRKRcdPzJaZe7V080Q0n4j3yGUBLRn3hR Dww1WHi4v+yQVcCtP9ksVB2e2YsyqmzMqlObJf6zjaw7ZlQ39bLgqkhZ6EfZabjDmrDQ XCZwiZsKzsfza+g9hcJ0ualIoWa/vGK+xTFS12L0M05QqCZVlKdDtIhTnfHTDjEAKF9u I0wRRCf8JiIQbQh43FQVszKPhrlKUVNsay2Z98JQ+bZeQNSx5beo1+2PfKsr6eCVUaKV OQsQ== 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=qJN67C8pSw22uz7HAzrmtWdyvDPNITySMW4aiIfV3mM=; b=cHlxm3A/83lTVruv+VaBLSiC/S0SXGbsBYFxHTDeopYL9bXu8jmDSh6BRQTqs6ksDk vfGGKeQPLT2ezZgcDTzRZk9Uv6VsGlnB8+xlAuJFvFh+D4NBX6Qc59ss5nIlyow8XAbr +cDRfVn9uJvkwbW4Y0ftoW+LIwtHCK1PL+eTWJhi9Ls6jCUo3vdVt0VyJQ/dMwjvSkjs es/YTIMGCOPSInFnYCENLrebtOCh26eNjClU9snKRGsBf3k7moH06NM8LAknBvJhlLu2 DBDyJDuHJVQNxzfVKM+j+If9yqHjbK5Dm9AB/0f6EkdxSSjhMNgJUjqGY9vdG5AO0uEI ru/g== X-Gm-Message-State: AE9vXwPVJKqiQKWMZfKtXFoQCf/fIVvNZhur18yV3h84mkhcbgSNyWqI+mLGq1jQ984VsMfH X-Received: by 10.194.242.67 with SMTP id wo3mr29781313wjc.65.1473261272062; Wed, 07 Sep 2016 08:14:32 -0700 (PDT) Received: from mogwai.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id d8sm4825250wmi.0.2016.09.07.08.14.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 08:14:31 -0700 (PDT) From: Jerome Brunet To: Linus Walleij , Kevin Hilman , Carlo Caione Subject: [PATCH 1/7] pinctrl: amlogic: gxbb: add spifc pins Date: Wed, 7 Sep 2016 17:13:37 +0200 Message-Id: <1473261223-15412-2-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473261223-15412-1-git-send-email-jbrunet@baylibre.com> References: <1473261223-15412-1-git-send-email-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160907_081454_318283_E4468147 X-CRM114-Status: UNSURE ( 8.79 ) 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: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet 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 Add EE domains pins for the SPI flash controller Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index cb4d6ad..802ad83 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c @@ -156,6 +156,11 @@ static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_10, EE_OFF) }; static const unsigned int emmc_ds_pins[] = { PIN(BOOT_15, EE_OFF) }; +static const unsigned int spifc_d_pins[] = { PIN(BOOT_11, EE_OFF) }; +static const unsigned int spifc_q_pins[] = { PIN(BOOT_12, EE_OFF) }; +static const unsigned int spifc_c_pins[] = { PIN(BOOT_13, EE_OFF) }; +static const unsigned int spifc_cs_pins[] = { PIN(BOOT_15, EE_OFF) }; + static const unsigned int sdcard_d0_pins[] = { PIN(CARD_1, EE_OFF) }; static const unsigned int sdcard_d1_pins[] = { PIN(CARD_0, EE_OFF) }; static const unsigned int sdcard_d2_pins[] = { PIN(CARD_5, EE_OFF) }; @@ -393,6 +398,10 @@ static struct meson_pmx_group meson_gxbb_periphs_groups[] = { GROUP(emmc_clk, 4, 18), GROUP(emmc_cmd, 4, 19), GROUP(emmc_ds, 4, 31), + GROUP(spifc_d, 5, 1), + GROUP(spifc_q, 5, 3), + GROUP(spifc_c, 5, 2), + GROUP(spifc_cs, 5, 0), /* Bank CARD */ GROUP(sdcard_d1, 2, 14), @@ -475,6 +484,10 @@ static const char * const emmc_groups[] = { "emmc_nand_d07", "emmc_clk", "emmc_cmd", "emmc_ds", }; +static const char * const spifc_groups[] = { + "spifc_d", "spifc_q", "spifc_c", "spifc_cs", +}; + static const char * const sdcard_groups[] = { "sdcard_d0", "sdcard_d1", "sdcard_d2", "sdcard_d3", "sdcard_cmd", "sdcard_clk", @@ -524,6 +537,7 @@ static const char * const i2c_slave_ao_groups[] = { static struct meson_pmx_func meson_gxbb_periphs_functions[] = { FUNCTION(gpio_periphs), FUNCTION(emmc), + FUNCTION(spifc), FUNCTION(sdcard), FUNCTION(uart_a), FUNCTION(uart_b),