From patchwork Tue Jul 30 05:43:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 170036 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp2184006ile; Mon, 29 Jul 2019 22:43:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+mNMl3RoEOTdfCsIqsY4kRvBkUHVvWUYTxgQ6Tcj3S09aoc7VZL/A8mQWqXLtpBUiYf9E X-Received: by 2002:a63:4f51:: with SMTP id p17mr86760514pgl.333.1564465428155; Mon, 29 Jul 2019 22:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564465428; cv=none; d=google.com; s=arc-20160816; b=KIcpjvPH2Es+sJKT0D8R7pnfjP+j5L1kHkONcGSSI/sKuzzVUFg3GXaMlEavQ9fIl0 StjzxvWkHi0TOccBt00hYQxaUZbILEwHzuRU+TnJWRZyr90ps1hLBL9VLfEQifuzKg3H eK1qEh0o0mGfAZcmllr79erNOfgRnhpR9Fe1QbIjy0XrByf4hmjX51YgagZgQ85MhSkW 8nrx4RQTAdV2LMZ0GYBl25gHpTfAbicrDNHLtRtClPnd/Au2juLpTpNLOj+h5wpBzdnR q/hcMpNZJjse0LoLSykSbS9bm/GJ1Zvyk1hqfvqXzN5q0V/8dJF4rsSwADMXYiGr0NrV 28vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=9MWhYV3TmbfqWs2Q/onncIriaeqnrbNlZdLjcEzHc+U=; b=WZ0+W0YwhEis5xNCuSQI+O+eZx4hcboXabtkfV0aEPAvWDwZUBfQctUWzG7Q3tMucx ExU9/oYJjNZRNyX85YfPYf08R4zAEr+jeQ2mJ0Y0hUzgxaI0BlMSXOvAheJaMgxWkozQ 1U/ZdOxSoW/zcsSh2Ptw6TW5GsWpm5otU/whrR3gaWDZ/cwooydRafuRHULH4vd/DWgJ ioBenpk8gLGuJOViigUF+Z6CuD7VVsMaCFMeuDcYGhYJQFJMgJerKrMvrwjfQ469xmqa Xy0HkVWFrUfxy8T/i3Zlo0rcwTN9zJDp76vdq/Iel2ySTpLa9vWpwsA/zjUBmA0NosJ6 rwHA== ARC-Authentication-Results: i=1; mx.google.com; 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 e13si31137373pfl.279.2019.07.29.22.43.47; Mon, 29 Jul 2019 22:43:48 -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; 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 S1729397AbfG3Fnr (ORCPT + 5 others); Tue, 30 Jul 2019 01:43:47 -0400 Received: from mx.socionext.com ([202.248.49.38]:57337 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725209AbfG3Fnp (ORCPT ); Tue, 30 Jul 2019 01:43:45 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 30 Jul 2019 14:43:44 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 23ADC180B6E; Tue, 30 Jul 2019 14:43:44 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 30 Jul 2019 14:43:44 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 7D4801A04FC; Tue, 30 Jul 2019 14:43:43 +0900 (JST) From: Kunihiko Hayashi To: Linus Walleij , Masahiro Yamada , linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH v2 2/5] pinctrl: uniphier: Add another audio I/O pin-mux settings for LD20 Date: Tue, 30 Jul 2019 14:43:27 +0900 Message-Id: <1564465410-9165-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564465410-9165-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1564465410-9165-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This adds support for pinmux settings of aout1b group. This group includes audio I/O signals derived from xirq pins, and it is equivalent to "aout1" in functionality. Signed-off-by: Kunihiko Hayashi --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.7.4 Acked-by: Masahiro Yamada diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c index 28e54b3..8d4fb65 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c @@ -544,6 +544,8 @@ static const struct pinctrl_pin_desc uniphier_ld20_pins[] = { static const unsigned aout1_pins[] = {137, 138, 139, 140, 141, 142}; static const int aout1_muxvals[] = {0, 0, 0, 0, 0, 0}; +static const unsigned aout1b_pins[] = {150, 151, 152, 153, 154, 155, 156}; +static const int aout1b_muxvals[] = {1, 1, 1, 1, 1, 1, 1}; static const unsigned aoutiec1_pins[] = {135, 136}; static const int aoutiec1_muxvals[] = {0, 0}; static const unsigned int emmc_pins[] = {19, 20, 21, 22, 23, 24, 25}; @@ -664,6 +666,7 @@ static const unsigned int gpio_range2_pins[] = { static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = { UNIPHIER_PINCTRL_GROUP(aout1), + UNIPHIER_PINCTRL_GROUP(aout1b), UNIPHIER_PINCTRL_GROUP(aoutiec1), UNIPHIER_PINCTRL_GROUP(emmc), UNIPHIER_PINCTRL_GROUP(emmc_dat8), @@ -707,7 +710,7 @@ static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = { UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range2), }; -static const char * const aout1_groups[] = {"aout1"}; +static const char * const aout1_groups[] = {"aout1", "aout1b"}; static const char * const aoutiec1_groups[] = {"aoutiec1"}; static const char * const emmc_groups[] = {"emmc", "emmc_dat8"}; static const char * const ether_rgmii_groups[] = {"ether_rgmii"};