From patchwork Thu May 4 18:49:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9712537 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 3FCDA60362 for ; Thu, 4 May 2017 18:51:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45D2B1FF8F for ; Thu, 4 May 2017 18:51:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A9DF286A3; Thu, 4 May 2017 18:51:00 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 50A6728638 for ; Thu, 4 May 2017 18:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ABGUzfxqcwVhOS2Htuf0c+RJmMhTvNy6zVfJXHIlRBQ=; b=d4oOn+touWCmT1cgv/1exHgk0G NjGx7OcTbyZgxJkxSs//Yt5+CXhPqqiO/P9iMiiiWsFaBI0hUkBwYGgHHgnpvBE6wWKS/yc4LUkiC kMYiqt82HBe4JcPF/XDyvaMK8BwsvXD2v/SOiVSGqkQHlvMMMCnTx13vWHwnpRRNFz9N/VmZePQ/G YgRatDeINNUuB7Z/yfbFmKJxLJMF7tENnBdMtwWshjBGTA1z3jVylmmWgPwzsYnfRm4SwQ34W3SVX fGdacOF4U0+jCByJ9UhukcHIVIh/YP4SCh7hJtuT5fMopEBdI2E5mCfhDvHMiwgS5GBWaXVW7XMri cYspv9tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d6Lpw-0001Sd-T1; Thu, 04 May 2017 18:50:48 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6LpH-0007l9-5z; Thu, 04 May 2017 18:50:10 +0000 Received: by mail-wm0-x243.google.com with SMTP id y10so5260823wmh.0; Thu, 04 May 2017 11:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uf5quXKjNCkt4mD8nOtY7YEZz3Ap2Xnr0PxfYV0z0kY=; b=pVF8y5mF5zVa9r94pfexh56mggNs5p4/uGw7gGIRgf2juDqXAUY0stDtELPf+ZGmt5 YwG+UG/UsdUV+UJIVCOlUe+Tn1/8e/2Gog1kAcs/hXGhN+SJK7PJLhem7bXSBy6FPaU6 nQmhlyXb6lvVG8R9Ez0WKKZjcm/R4jajflBDVTJgpU1CCgtTzmy/oP1/HXP6u9UyFeKU Q18KL+AOCYDas+mM1Sywv5rS3XJmjsOlRvYe3a2MtqJeLw5IZoVE8euce5UaPj42+2nw qxlDUvA4dgYMn3lC3IKJt8+uFRbHCmk/IDsFxrH2AQVPhJkpDqXaKf9ES1OKcxZqoigE Stvw== 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:in-reply-to :references; bh=uf5quXKjNCkt4mD8nOtY7YEZz3Ap2Xnr0PxfYV0z0kY=; b=jMkyyxmqqXhnIrWapZRX6zRXvZXWpOSHpU01LWvg6/1WOdKAho++j8JoTdf5usZsrd 5ThAqNAQ9bBQ9JmZhdW8UlL62+ilauo3cFUJQSQrWhlkNmeRulIejKByzX/kyuA/inp1 lYa7Zv/oczjmo6TfEAAybcVEyajylVXIrb708AIKtDwUO5el/R/33f9XRMFOvmwXt/zl GUh2pXp0h44dQF6P7gf7OqHPYlp95vg11KjegGqyBphZApDERn13gJrEjnsE9ptkviKa fQyZmdues04bHzCi+qBl33RU7hASRUK3E6rHSOWhLtO1kD6KtrlgFY376Uvn24EX/TX6 AmQQ== X-Gm-Message-State: AN3rC/5XiaYu6wuRRBqpx1ZX5czWytjgze6tV8dI5pZttltylg1XfEEp FVNML0SRX8MEsQIUbUk= X-Received: by 10.28.236.205 with SMTP id h74mr2832583wmi.92.1493923785759; Thu, 04 May 2017 11:49:45 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3F23104E1FBC614D4FACDED.dip0.t-ipconnect.de. [2003:dc:d3f2:3104:e1fb:c614:d4fa:cded]) by smtp.googlemail.com with ESMTPSA id s5sm3078882wra.60.2017.05.04.11.49.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 11:49:45 -0700 (PDT) From: Martin Blumenstingl To: linus.walleij@linaro.org, carlo@caione.org, khilman@baylibre.com, linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Date: Thu, 4 May 2017 20:49:31 +0200 Message-Id: <20170504184932.5372-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> References: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170504_115007_478349_5305D804 X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 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 another missing pin found in the Meson8 SoCs. Currently there's no driver which would use this pin yet. Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index d6fc7994cad5..55fbd1a17dbe 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -395,6 +395,7 @@ static const unsigned int uart_cts_ao_a_pins[] = { PIN(GPIOAO_2, AO_OFF) }; static const unsigned int uart_rts_ao_a_pins[] = { PIN(GPIOAO_3, AO_OFF) }; static const unsigned int remote_input_pins[] = { PIN(GPIOAO_7, AO_OFF) }; +static const unsigned int remote_output_ao_pins[] = { PIN(GPIOAO_13, AO_OFF) }; static const unsigned int i2c_slave_sck_ao_pins[] = { PIN(GPIOAO_4, AO_OFF) }; static const unsigned int i2c_slave_sda_ao_pins[] = { PIN(GPIOAO_5, AO_OFF) }; @@ -748,6 +749,7 @@ static struct meson_pmx_group meson8_aobus_groups[] = { GROUP(uart_rts_ao_a, 0, 9), GROUP(remote_input, 0, 0), + GROUP(remote_output_ao, 0, 31), GROUP(i2c_slave_sck_ao, 0, 2), GROUP(i2c_slave_sda_ao, 0, 1), @@ -959,7 +961,7 @@ static const char * const uart_ao_groups[] = { }; static const char * const remote_groups[] = { - "remote_input" + "remote_input", "remote_output_ao" }; static const char * const i2c_slave_ao_groups[] = {