From patchwork Sat May 6 16:57:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9715059 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 A06BA60387 for ; Sat, 6 May 2017 17:11:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D4F32861E for ; Sat, 6 May 2017 17:11:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8232528622; Sat, 6 May 2017 17:11:44 +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 402302861E for ; Sat, 6 May 2017 17:11:44 +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=xP0jutOw3tL5xgYp4LN9YQsKVkGTo3Go8J6lJvxjPyc=; b=IdYka620KPdchtEWUF9Hm3RX0q ni2z9TLsdd+34y9mACan8prjLamBWckRkHt8KEiX2FLihcUkVUkbGtsdSqrbRHlIDweVFQxDSZypR TKmwVrUKVWlri4DR/zIkxZsCNjc4QqizNrz0vm3fXXjuIuoDZ9DRbQALOlR4MO/8JBQPh6ChAP6aX +IADLjhEl6OFI9AbvZ4WSxlaLphTtire2HQ3+n1l7Du8iIES+m1lXMuYGLA2fR4ffg+L3sgEQARIj FGjjIvIzjyri/XBMfMI3Dlp25Ph+t9zEvdQuP3VqbIHEJFml8tnoaHlGNoEVxMcqLpXUjMtq82BPC RdpOhvjw==; 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 1d73F2-00053b-1u; Sat, 06 May 2017 17:11:36 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d732M-0006CF-FF; Sat, 06 May 2017 16:58:32 +0000 Received: by mail-wm0-x242.google.com with SMTP id y10so6959979wmh.0; Sat, 06 May 2017 09:58:10 -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=ASfrh9MRtuvjobzVY4Gza4TuTAunnqdpqTgJa9NzB+s=; b=knkVpm+//8jgtM8ftm4hySCZI+IaeAK/5uzYULARRrQ5kiv0oHwwkU0GzG5ghjWI7Y zU7urj4/dKlv/NRVlkgWAieGgcQwWgxAvJ7nbzSFFR0qutV2EKyF2phQ6ZbD4JctlWfV kv35vVNBszU8kTddp8os3nUYfdF5EMwQZVLonfhhDxXgZNQr9/YtbT+y9UI6/RzPCnid k9nwGJU9A46aMlGYOkrCKwkRKsYJ3n3mkOpe+FH5MnLbvZqPgjXRUKQ/7ByhLOcw4OLN oJRPDkUtZx6lmbR+chY7+oLgYje5m/ud4FOiTi/9j0TSVpmm3bCI6U3NHqog4czPdEka rjMw== 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=ASfrh9MRtuvjobzVY4Gza4TuTAunnqdpqTgJa9NzB+s=; b=fo7kUwwFCbNXh48hlj9aq8leieV/O+BXTj9/y3YA7d6g/oPGRfEkJxsqNLao2OA/P9 CtyO4CKmYHq2NSCkuzj8wN8wTzp7HpXsxfRPjOxM7zV36+7WtJkKjYUq7ay9OoZwGsfS i/bZQoqkhJI9Ax8DKwFVPfR3VRDlAnMc425ltX8y8L2+b1bd4t6les9tyUVOfGlmBvP0 QFesnwx1qMC7dOeYoh97m0UGaNfltPBUUCUCbQYTSjprRqVqkkgaA+BNauZB4DLfrrZe Y6J4KVX6UV109L2FNabkSOQxPNGcudFceOMeB4eKHd4ySnOYADx/ExS7YHIVKR22e1BO KfIA== X-Gm-Message-State: AN3rC/7MsfqQHdLPWNcnlYC+OjK9MMEXGCqMi53/4nNBuZS/POGQlL8v xdk8nxyZxDvLrA== X-Received: by 10.28.136.8 with SMTP id k8mr9047151wmd.38.1494089888841; Sat, 06 May 2017 09:58:08 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3E78B041DCA91B6F8D469E4.dip0.t-ipconnect.de. [2003:dc:d3e7:8b04:1dca:91b6:f8d4:69e4]) by smtp.googlemail.com with ESMTPSA id 30sm6961858wrp.6.2017.05.06.09.58.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 09:58:08 -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 v2 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Date: Sat, 6 May 2017 18:57:50 +0200 Message-Id: <20170506165751.12442-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170506165751.12442-1-martin.blumenstingl@googlemail.com> References: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> <20170506165751.12442-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170506_095830_685114_6659F72E X-CRM114-Status: GOOD ( 10.11 ) 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 6e36a9602999..2716d991af8c 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[] = {