From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938541AbcIGPVo (ORCPT ); Wed, 7 Sep 2016 11:21:44 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35683 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935839AbcIGPVi (ORCPT ); Wed, 7 Sep 2016 11:21:38 -0400 From: Jerome Brunet To: Linus Walleij , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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), -- 2.7.4