From patchwork Fri Oct 6 08:31:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 115041 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1521857qgn; Fri, 6 Oct 2017 01:31:50 -0700 (PDT) X-Received: by 10.101.86.5 with SMTP id l5mr1339598pgs.16.1507278710853; Fri, 06 Oct 2017 01:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507278710; cv=none; d=google.com; s=arc-20160816; b=UmW7/e534YkHqWCBiiVnz6HXcsLuygpKH6m2DYM6IOejPb10yrltU+k6zwp+zGaTvK qvzlT/XT4gatfTh04mYk2zy5WZjKT83jLoJE55I4kuQ7dBqHoYlc6gW4aDDQOA3T8an0 PLP4JZsdHLr/lUiLX3wC+iUz2+EN6ADSYYn6x2bAujnfrvUp4UV3whR37kHAAtjLHfuQ Nr6GcJO/V33R//xOtOXza+wLfUo5ZoNohCBruecsreNat/TX1qXhGmMgUbKK7YR457xa OH0Fx6pTD5b2Bbyj2hLMhUghlQ7dyeCcdLXTIqEaX6U4yaRCvYyyG3EKTsgmowN7XK6t Js7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zLI6LqnPT/1yQ+gaYksXQwYoGUMbcKqp448Hcl6U6eI=; b=Rk/x+UMoyZHrBPt06PZAcU4+omHh3xbV/0Ljkztm0BxUkeFD7Px15WVZabnZq80ICF s+aWWx7SlpksyYDkH33qTIeVjHD1N9+PW7v7z1hQdskmDQ5PPRnXSjsI+VYl8ewlhR3W 9qCmoIlK5i++KfO287F57dQXYiGuiFEDDLTlsfiloo2DfrXXnOVHlNL3zsMU34SEC3OV KV9EvVv3wNhJ5ylTh+ixt7EhXs1gKH8G3g20X3F6JcyylREy1T+mIo5yKlnhse6gJxoP O+j5CbgOFpt2smwhh921uEl3dltGgkBlQF5+Qw6IpDxJdkTwayFesz6BjMqLycuq5Prx 4nGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GnejUm0f; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si802766plm.546.2017.10.06.01.31.50; Fri, 06 Oct 2017 01:31:50 -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; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GnejUm0f; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751526AbdJFIbu (ORCPT + 5 others); Fri, 6 Oct 2017 04:31:50 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:54169 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbdJFIbt (ORCPT ); Fri, 6 Oct 2017 04:31:49 -0400 Received: by mail-wr0-f179.google.com with SMTP id y44so4825926wry.10 for ; Fri, 06 Oct 2017 01:31:48 -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; bh=Fc7U7qv7qWuRmyA6FgUT2REiAOvseS1fc9hM88kiPnk=; b=GnejUm0fKjJVRv/7uR18R6LHCgQAX4+A2tgNxJDy09sKye256dPbMqHcDoZ2I4280H UPBrSxqGV+6ntwFbt5McwKM0T8EMc2rgBEF85ON52jfNhZQAIbPMQoQrJYVwY7CB35aR kNh/XgCzmRLlw2556wvOtiTJDR0XOpRFzJOAoVibtn3KydUmFFHmSurmXI4zcKWxCsYE Ixn2tfz0tQAE9tvRWlZLKGUz+vXrctoPRy9g3Jj1AJ59TX9OrnUQxmyhQI6/DEeLy5KL /QMsM6Hi3uXNfWx5ka9AhQQEEbF1BHC2yEHSnFPejVNl1B6yxDYGpj8cIxo/WMxGDt+m LF8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Fc7U7qv7qWuRmyA6FgUT2REiAOvseS1fc9hM88kiPnk=; b=AAFS+Lv4GcP7cAFdDMXD6GYGAhceW2GLFPI/PfETAjbmDoIXtmu4aGbwaDNI1PP7G+ RDTN9J4DSAHYTIDlFy6DvvmmuKnSKsfK6ftwa08GKrvIH3DbZn/QUzSJsWIhTKi/WGpC MON8wb89QUfsQvUx5XH61++3mbviGFswarjAb8OzrgPcjMpHKRtQQxP8FKS10LGkyTWI NjXj2q2gxerkRLkEBe3IMGdbd2y2ZkfvlSuo763F+2mNkUSXHJcYXHBTYBJQ69i08Nug rCtgMjjhlCWFUGspK8Ln4reBilMYrodY6EGqlfOJYU6B+HUmSq+sJpxwL8KdczQY/y7Z 2ppg== X-Gm-Message-State: AMCzsaUVp5Sklhpt6EOOkMuKRdoyNIvLAizR1xxiJHlc/UKm4yNjDQNV 4Y+DLtfohz/6i3dh6mllTd3VCQ== X-Google-Smtp-Source: AOwi7QAnjy2WcVsd/c+HXecL1QqnFXjsBA1+odllRG8UMo/3YnSA1nmzps0mlU49oUPf4oPQGgcKTg== X-Received: by 10.223.184.204 with SMTP id c12mr1280256wrg.197.1507278707852; Fri, 06 Oct 2017 01:31:47 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id d17sm779031wrc.13.2017.10.06.01.31.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Oct 2017 01:31:47 -0700 (PDT) From: Jerome Brunet To: Linus Walleij , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: meson-gx: add TEST_N i2s pinmux Date: Fri, 6 Oct 2017 10:31:42 +0200 Message-Id: <20171006083142.19325-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.5 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add TEST_N pinmux for channel 6 and 7 of the i2s output Signed-off-by: Jerome Brunet --- Hi Linus, FYI, This change depends on clean-up series you've just merged. Cheers, Jerome drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 5 +++++ drivers/pinctrl/meson/pinctrl-meson-gxl.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) -- 2.13.5 -- 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 Reviewed-by: Kevin Hilman diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index 62483b67f114..1881d4a0eca2 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c @@ -288,6 +288,7 @@ static const unsigned int i2s_out_lr_clk_pins[] = { GPIOAO_10 }; static const unsigned int i2s_out_ch01_ao_pins[] = { GPIOAO_11 }; static const unsigned int i2s_out_ch23_ao_pins[] = { GPIOAO_12 }; static const unsigned int i2s_out_ch45_ao_pins[] = { GPIOAO_13 }; +static const unsigned int i2s_out_ch67_ao_pins[] = { GPIO_TEST_N }; static const unsigned int spdif_out_ao_6_pins[] = { GPIOAO_6 }; static const unsigned int spdif_out_ao_13_pins[] = { GPIOAO_13 }; @@ -562,6 +563,9 @@ static struct meson_pmx_group meson_gxbb_aobus_groups[] = { GROUP(spdif_out_ao_13, 0, 4), GROUP(ao_cec, 0, 15), GROUP(ee_cec, 0, 14), + + /* test n pin */ + GROUP(i2s_out_ch67_ao, 1, 2), }; static const char * const gpio_periphs_groups[] = { @@ -748,6 +752,7 @@ static const char * const pwm_ao_b_groups[] = { static const char * const i2s_out_ao_groups[] = { "i2s_am_clk", "i2s_out_ao_clk", "i2s_out_lr_clk", "i2s_out_ch01_ao", "i2s_out_ch23_ao", "i2s_out_ch45_ao", + "i2s_out_ch67_ao", }; static const char * const spdif_out_ao_groups[] = { diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c index 04334e807170..3a14ecae9f31 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c @@ -291,6 +291,7 @@ static const unsigned int pwm_ao_b_6_pins[] = { GPIOAO_6 }; static const unsigned int i2s_out_ch23_ao_pins[] = { GPIOAO_8 }; static const unsigned int i2s_out_ch45_ao_pins[] = { GPIOAO_9 }; +static const unsigned int i2s_out_ch67_ao_pins[] = { GPIO_TEST_N }; static const unsigned int spdif_out_ao_6_pins[] = { GPIOAO_6 }; static const unsigned int spdif_out_ao_9_pins[] = { GPIOAO_9 }; @@ -557,6 +558,9 @@ static struct meson_pmx_group meson_gxl_aobus_groups[] = { GROUP(spdif_out_ao_9, 0, 4), GROUP(ao_cec, 0, 15), GROUP(ee_cec, 0, 14), + + /* test n pin */ + GROUP(i2s_out_ch67_ao, 1, 2), }; static const char * const gpio_periphs_groups[] = { @@ -735,7 +739,7 @@ static const char * const pwm_ao_b_groups[] = { }; static const char * const i2s_out_ao_groups[] = { - "i2s_out_ch23_ao", "i2s_out_ch45_ao", + "i2s_out_ch23_ao", "i2s_out_ch45_ao", "i2s_out_ch67_ao", }; static const char * const spdif_out_ao_groups[] = {