From patchwork Tue Jul 9 10:29:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 168737 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp8365785ilk; Tue, 9 Jul 2019 03:29:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyz5Eau0l2Do2wd7V3MBuywyrXyeYFSXcZ6r1ZP/SSU1iRLoJ5PKOYfuf7M6OGWJW6aiDRk X-Received: by 2002:a17:902:8649:: with SMTP id y9mr30422230plt.289.1562668174285; Tue, 09 Jul 2019 03:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562668174; cv=none; d=google.com; s=arc-20160816; b=AkIRzacHw2yPk36cSsJI7C7Q6h7u+SxQOhIlo/IvX6C7dtWBCiftMPi/tFL4XmCPNT sNLVCoJeUWFl7kBUc2jeIP1JHaDqpTIQCtYdIjGwAx5JmV5cwvbLjtn1LEsLhzTtZIhS hCfu3vzfgMxKiU+Sv5yMMGpGNuhTDIYAKiYCWc3Orzu2H3iKMxFsxxQho1XCGisFGBrt +1E3QkCMjGLbNJJUu7TmZLTN0D9GBuXVNC9N4/h0I6W4TLzZWntYsfQI5riDJ1ZQ13ez oF1ydxOqtFUqpk7it8TvlY3dYZi6iYwQnX6zcgADCyN4bP6DlUqBNAlozNbvNRrLAqvd hmoQ== 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=eLH48kA4z9FB4ytmg3N5DRssGAbL5DcchNbpXnEj+NU=; b=kPJtEY7iz63AuZjpiog0Vj3DTKO9+TcJvDZtr0QbnKUraD3/gqhf4x3APqSaJpqVzS cQMHBjrip2QDItx7SfigPyxzxr3higWLfFQrYE8CGblM15ymvaw1aJHE3KreQjBqn5wY 4rEoDlIZspj43O+o2qxrrUxWi4IptKvNIkjV/ghG6ng9REtR9fsg8O9FVoW2R5L5tsoO UYwbSPou8yrYIR28bffYlH6XdClv4LeSg6bSuiev3iHpYwT3wIt9q1H+Fo/k7A2TlLSj TKXRH5EF7gYZrF5T8QfUj9oScjMvdZaV4AlI7cnO0HmW3a+EAGBOp6DcucElGTuXrEOt jSiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 x185si22227740pgb.161.2019.07.09.03.29.34; Tue, 09 Jul 2019 03:29:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbfGIK3d (ORCPT + 30 others); Tue, 9 Jul 2019 06:29:33 -0400 Received: from mx.socionext.com ([202.248.49.38]:38475 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbfGIK3c (ORCPT ); Tue, 9 Jul 2019 06:29:32 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 09 Jul 2019 19:29:30 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 0226C60629; Tue, 9 Jul 2019 19:29:31 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 9 Jul 2019 19:29:31 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 9320C1A14E3; Tue, 9 Jul 2019 19:29:30 +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 2/5] pinctrl: uniphier: Add another audio I/O pin-mux settings for LD20 Date: Tue, 9 Jul 2019 19:29:13 +0900 Message-Id: <1562668156-12927-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1562668156-12927-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1562668156-12927-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds support for pinmux settings of aout1b groups. This group includes aout1 signals derived from xirq pins. Signed-off-by: Kunihiko Hayashi --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c index 28e54b3..2c66e70 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), @@ -708,6 +711,7 @@ static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = { }; static const char * const aout1_groups[] = {"aout1"}; +static const char * const aout1b_groups[] = {"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"}; @@ -746,6 +750,7 @@ static const char * const usb3_groups[] = {"usb3"}; static const struct uniphier_pinmux_function uniphier_ld20_functions[] = { UNIPHIER_PINMUX_FUNCTION(aout1), + UNIPHIER_PINMUX_FUNCTION(aout1b), UNIPHIER_PINMUX_FUNCTION(aoutiec1), UNIPHIER_PINMUX_FUNCTION(emmc), UNIPHIER_PINMUX_FUNCTION(ether_rgmii),