From patchwork Sun Dec 9 19:50:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4282691E for ; Sun, 9 Dec 2018 19:51:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34FC72A09A for ; Sun, 9 Dec 2018 19:51:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27F2C2A0B6; Sun, 9 Dec 2018 19:51:34 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 CF8062A09A for ; Sun, 9 Dec 2018 19:51:33 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=qINPnkO20je72ZKToRZeJuMPBlW6zLLZTp6fSFFb0TI=; b=rF9icNutwiwdfY hQZVrqD5qyNUZT42oLHWq0Wq7aiRaAKHLf8VVppLrh4s23FsZ0rVKCA+UzbTmvnBACj5M4hTj2VbO UB/H9Xu7nA5SaWcN+HOJnNokvWdfAQvceXl+6WWXVW7ZsXTlhObJwUqkyWJfhd2m43i/Sua5aGEQ0 sTydrUNPOn+7KZBIAE4eVqPLLKFBPB0oV+KQyN1ACyiLxaV+ObMTpaCcU9JEVkoySU2p+v0AgZ/TU UCY74ilbHHDQsq1QB+16DhamMZpmMtXFd38z0/HGmzejSAF+4BgNVGq9mQDXzDYRYqX6klqfbfFkw WxaI0TGhMrOxGjL+5L6w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56y-0006Jx-D7; Sun, 09 Dec 2018 19:51:32 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56h-000649-GO; Sun, 09 Dec 2018 19:51:16 +0000 Received: by mail-wm1-x343.google.com with SMTP id s14so8930162wmh.1; Sun, 09 Dec 2018 11:51:05 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=RDqsZyP6j8JGDXWLyKC4bYcSMPWO8/JQO0c8SegjH6Q=; b=UQW5XaDSB1z/zM/+7M4jWdgmXjNhL6vYrLpFRo7nE8NDe9hqlyeWwetHJK4h52WYGz YkP4YtDnnq5JezkClHV+/TTYVaI51iUo/oBnsGbOrSKGWTEH3glTDyjpVoDj4gHpBPO+ 71u8fZLeN++bE1G7Y8Z4yysP21MuLtfrwfLWYg3D1fOS2ZcfXqiZ/kXFZ/OHFeme3w1t zgDwAqgOYWCSK+WEWa7kvo7EGQ8+0r5lQLXqEQLdtvnHr+avEOuYpCE2uVL3uX26C395 G8AOH9GmGh1K+5OCtyXJqFJplAsoNpkKGS8Leigd8AkonInS+nO5E8ti0iouttZXdTAg o5Ew== 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:mime-version:content-transfer-encoding; bh=RDqsZyP6j8JGDXWLyKC4bYcSMPWO8/JQO0c8SegjH6Q=; b=gGsCzacpQuWD8gnQ8Yl/+mPw8P5o8hxDCbzN0Z1vMBNjLx6vW25NxFqD1i09FAv2Yj tpbreq/H/Wm7Ei5uVspMz0U03OI4WVt563vI7soI7zRFUnOyCtMJ+Y9SNj/vL8XDL/QV /DExYxyr51EwGMM2+7O9mbiIUnx/BqDr0ylCr7dQjqbBe6OUle6nBEeMqpLA66EGcqcC V+f00wnpO0axZiZGz4vagt1kdOpBXRimrHVbBIJBs/eKbsVWwi3MMVUNgSNtF4o5f2Uz ieVHBriBDCITlnXgIhtXLl3NHGP+8l1G8f+BmWgMeN0O4okbidRv/IdGGPFrpnHVzxSZ dhug== X-Gm-Message-State: AA+aEWbhnI8CgVPw0fwkAfuQOOFfj/nr6Ck0PTApGCX2tbc4a1z+wwaa L99hamNkzoxOIdUNNoWQfYqmYBkq X-Google-Smtp-Source: AFSGD/W236m2+8BHqCEGDXrqeWxw+vHplbkUfpeO4Y+NnSJsFn99FeYOeK3M6D06Ly6Bun/85yGn1A== X-Received: by 2002:a1c:2902:: with SMTP id p2mr598wmp.19.1544385063554; Sun, 09 Dec 2018 11:51:03 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:02 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 1/6] pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins Date: Sun, 9 Dec 2018 20:50:50 +0100 Message-Id: <20181209195055.26813-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115115_542781_F447763F X-CRM114-Status: GOOD ( 12.17 ) 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The GPIOAO pins (as well as the two exotic GPIO_BSD_EN and GPIO_TEST_N) only belong to the pin controller in the AO domain. With the current definition these pins cannot be referred to in .dts files as group (which is possible on GXBB and GXL for example). Add a separate "gpio_aobus" function to fix the mapping between the pin controller and the GPIO pins in the AO domain. This is similar to how the GXBB and GXL drivers implement this functionality. Fixes: 9dab1868ec0db4 ("pinctrl: amlogic: Make driver independent from two-domain configuration") Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index 86466173114d..e482672e833a 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -807,7 +807,9 @@ static const char * const gpio_groups[] = { "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_9", "BOOT_10", "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17", "BOOT_18", +}; +static const char * const gpio_aobus_groups[] = { "GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", "GPIOAO_4", "GPIOAO_5", "GPIOAO_6", "GPIOAO_7", "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11", @@ -1030,6 +1032,7 @@ static struct meson_pmx_func meson8_cbus_functions[] = { }; static struct meson_pmx_func meson8_aobus_functions[] = { + FUNCTION(gpio_aobus), FUNCTION(uart_ao), FUNCTION(remote), FUNCTION(i2c_slave_ao), From patchwork Sun Dec 9 19:50:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F383112E for ; Sun, 9 Dec 2018 19:52:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E3D32A09A for ; Sun, 9 Dec 2018 19:52:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E1052A0BE; Sun, 9 Dec 2018 19:52:01 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 C0E082A09A for ; Sun, 9 Dec 2018 19:52:00 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=haj4Wpm6Yr324TTp+iX7i3XkjfKW6q2lTE5oBa91QmU=; b=k3oa3cQ1gfhJZt RUhkvYu4W4cahJuQl/AEgzU1TesNeom+NEwmMqzMeR1NxJS19+CG4VUtj/KeoK4EeiuCfowdfxHk2 SOSYanZQ4U1k1lQZen5Nefig7GG+f2w605uzTiEkbzU/eCQ8bqd0s5RgJUe9xFd+fv9X1QZgRxhXw RBNJ7u7j2NXrIGLIyT8tCeusdnD9LZTbFpU7/1PXVOOHQOhr0yL2eGDrDRbdN7dJJ3g/hIGl+OFOw aesj+EyiVs1coCcjQ8dUDIZ8v1Rjxk8LkN5RpfCGVaq1r6nFEGeJ7MHr7xOE0KyDUukU3Ux8K0l4J gDHfhNHlvfDYGXih88/A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW57K-0006h3-O7; Sun, 09 Dec 2018 19:51:54 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56i-00064A-On; Sun, 09 Dec 2018 19:51:18 +0000 Received: by mail-wr1-x441.google.com with SMTP id j10so8432018wru.4; Sun, 09 Dec 2018 11:51:06 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=tNuetO7o6p2z/PS/M/PqymLq8KTy/5E9grHzBPHloU4=; b=vV8BDERd+zfS708DoZc7iQzaGuZMaNqMiwh/Gx5nk0w/MreETlLUcucH7ZASrjrjE3 ukuMJCmz43mUomVPmsv4rDQo81MSXoM4kSxy4ulxFfFnUQa40yjGscOK855GUiZzKlj9 k3J0vlMf2rNqIRWd36cxGTu6nzrWYdOlncs7CThp0Z9DeoAEe5LXA0vREbk8XFGiV5+F QjSNgtowMlh0gIdJBjY59qq9Bs5f4pxQ0ZJj6WykgvQ6Fu140zH2VaGgzUjH4s7RWN2L 5/K48vWl1xZvvFtRTS2yviobIcy4kj9LbUXR+YL2mRsPvBaaYMpYxedvVaeCSsjJy5G9 DoVA== 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:mime-version:content-transfer-encoding; bh=tNuetO7o6p2z/PS/M/PqymLq8KTy/5E9grHzBPHloU4=; b=EaMx7qiw35AQoHJD5bhP+JwFbiy8O5EaKOkosWvFJqE2C/H7aA/vws4jCZddoTQU1m +JnqThTe4y6MV0nlQNz6kIScfLaYw/duKE9VpRDrrdBaBC0kLEKb90ufYL1HoxUPHub5 tmeBGjX5azFuvc17BSgxjpdRQ/zf9I62i59gB2ts48jRkym8nrCYZlFNI7du/SiKqZEr 71dOWeu/V2kYDQHfPVMNlC+yfORpO2tQ5Xn4ntvRH2UOzKg0m+F/V2PlHn9o0WHemmMt QPD4m9nc6czxPHDtN/CX1nPq0k2Zzud5Ta7Xdnb3W80RrRHoprAcA8amZDzkMBzexnjp CPrw== X-Gm-Message-State: AA+aEWbG+EGCGAz20N8yiolGvutlATfKQjtT7Y3aquhjFhNVBc/amEyx zcn9nrXdQ8YxdpxuauLZbO33XcCY X-Google-Smtp-Source: AFSGD/U1KCYgZTtKIpkMT4NcDbUXMVhp2mp8fR5eDSRBzZ+pMl4j7G8EICcN4xTaxjKunk6dekpH9w== X-Received: by 2002:a5d:6302:: with SMTP id i2mr7640014wru.14.1544385064732; Sun, 09 Dec 2018 11:51:04 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:04 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 2/6] pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins Date: Sun, 9 Dec 2018 20:50:51 +0100 Message-Id: <20181209195055.26813-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115116_831745_4091539B X-CRM114-Status: GOOD ( 12.45 ) 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The GPIOAO pins (as well as the two exotic GPIO_BSD_EN and GPIO_TEST_N) only belong to the pin controller in the AO domain. With the current definition these pins cannot be referred to in .dts files as group (which is possible on GXBB and GXL for example). Add a separate "gpio_aobus" function to fix the mapping between the pin controller and the GPIO pins in the AO domain. This is similar to how the GXBB and GXL drivers implement this functionality. Fixes: 9dab1868ec0db4 ("pinctrl: amlogic: Make driver independent from two-domain configuration") Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8b.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson8b.c b/drivers/pinctrl/meson/pinctrl-meson8b.c index 647ad15d5c3c..91cffc051055 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8b.c +++ b/drivers/pinctrl/meson/pinctrl-meson8b.c @@ -646,16 +646,18 @@ static const char * const gpio_groups[] = { "BOOT_10", "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17", "BOOT_18", - "GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", - "GPIOAO_4", "GPIOAO_5", "GPIOAO_6", "GPIOAO_7", - "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11", - "GPIOAO_12", "GPIOAO_13", "GPIO_BSD_EN", "GPIO_TEST_N", - "DIF_0_P", "DIF_0_N", "DIF_1_P", "DIF_1_N", "DIF_2_P", "DIF_2_N", "DIF_3_P", "DIF_3_N", "DIF_4_P", "DIF_4_N" }; +static const char * const gpio_aobus_groups[] = { + "GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", + "GPIOAO_4", "GPIOAO_5", "GPIOAO_6", "GPIOAO_7", + "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11", + "GPIOAO_12", "GPIOAO_13", "GPIO_BSD_EN", "GPIO_TEST_N" +}; + static const char * const sd_a_groups[] = { "sd_d0_a", "sd_d1_a", "sd_d2_a", "sd_d3_a", "sd_clk_a", "sd_cmd_a" @@ -871,6 +873,7 @@ static struct meson_pmx_func meson8b_cbus_functions[] = { }; static struct meson_pmx_func meson8b_aobus_functions[] = { + FUNCTION(gpio_aobus), FUNCTION(uart_ao), FUNCTION(uart_ao_b), FUNCTION(i2c_slave_ao), From patchwork Sun Dec 9 19:50:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD29B91E for ; Sun, 9 Dec 2018 19:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C15592A09A for ; Sun, 9 Dec 2018 19:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B57642A0BE; Sun, 9 Dec 2018 19:52:41 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 50F402A09A for ; Sun, 9 Dec 2018 19:52:41 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=nRFt8uORQfx4Npk+APf2HJYlRVjDE88VmEqE/ymXJK4=; b=sRyr8Fn6YxpVxY Xj3w7pIaoPN0Z85UhQ1FVwyXrrl4Q4XSx5F1qy+CaAXkns057uwmtT41+66l52zJPOnMsVfYRbCyf 2zHVGyYQ5FM5jPIDCYSLtWDUV5GTJKPw70SIC8PbYA43Mf2Aehl3Id08BA1M2hg4CAtWWsibR+hgW 1m4pXNJA5l0fK9kK0bWWKfi3UsDT6aUuY93M1MGOavFW32D22jIsaxhglhWea/+vip4tNF8zXpTSq U6/iha8vWZWNd4jQES/N9SX+1vzvBuxzqbZBXH7OuwiWTw2U4QF8G88DFmUnh0+abTJpDm5opwiEW cncbyEed4ePho6vEm50g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW583-0007Jm-If; Sun, 09 Dec 2018 19:52:39 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56k-00064G-0q; Sun, 09 Dec 2018 19:51:21 +0000 Received: by mail-wr1-x443.google.com with SMTP id l9so8380605wrt.13; Sun, 09 Dec 2018 11:51:07 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=wFi788sDnujp6rjIMSWVzX7d/CUd1EfTK7PJQ6DlBVE=; b=pNN+iuMNOu2GOB1n61HDXSZY5o30wgR336KctlRR7IBEm9KIk7RgQQy+N1JA1tp3Je n491Fpsf0gDHoK2emBNBiXaQxJC7Es5ZaO2UdQJRb1uxYgiVEKyWb3NUEeQEpxu2BRnQ lkj0vifwHHvMsM+ubXthfp0A+V/bwnIeB6WMns9hsEoeMdUk/WvcNrrf5Vz6RQa6xDyZ Aq1vqQPaXtzN0Ol6UByovuadN/6FJsBkwfQxvD6FfXYRzKYziTnWpdmianVqqyeXGb55 4NWNwhAjNqHVj8Vkf8vcPc5S11wdHeSgUTQFtWizCb1SQccoxGBPKxz3S7wUpRQhGgDz u/CQ== 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:mime-version:content-transfer-encoding; bh=wFi788sDnujp6rjIMSWVzX7d/CUd1EfTK7PJQ6DlBVE=; b=F4UiqQw1Yhtuougrj07aLIZz+F7z4nn8itcV/PRsMKVMygEi4rNqV9jEKIIVrHv7FL u3fM9WeeKEGjWnmX/9epZvV6zb6pmsHMC4px35PyPlrhbVYnw6fSnU838/0QS3ObntqH gbl8s2RZhRg/TC7hTlPSSpYkmp2BnDjqqZoyYFFM+eXSDLpIyPhRWwUgG1YPTifuVF9A c4VyLg04OGG8jXCN5DUtR7WBisNGI40Rn0XxoIPOggaIH4mdn5Pts742EH1i9vPRFjj3 0b8BNlt7mUz3l3WYj/FuNzjT3jEoyQreNMkxWpRok1bAZ/JYjimSjAZDRvlJrUtgxNxH rrSQ== X-Gm-Message-State: AA+aEWbpT/fB+w36/p2khNg0z34NJT5D7PJm3fJ0WmrqoIMlIKZpVi7F ps8atJv3nrvi3lIzQLPHac4WJnTY X-Google-Smtp-Source: AFSGD/WJfnDLpniSUCUz9i+RGP7fLMRstRLLHp+SXM5J6z7ndJQjIwps9yqA54zpmhuaDo0SVTpy+g== X-Received: by 2002:adf:f189:: with SMTP id h9mr7650610wro.35.1544385065674; Sun, 09 Dec 2018 11:51:05 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:05 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 3/6] pinctrl: meson: meson8: rename the "gpio" function to "gpio_periphs" Date: Sun, 9 Dec 2018 20:50:52 +0100 Message-Id: <20181209195055.26813-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115118_135156_2F6EEB0A X-CRM114-Status: GOOD ( 12.79 ) 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Rename the existing "gpio" function to "gpio_periphs". This makes it consistent with the "gpio_aobus" function. Also GXBB and GXL are also using the "gpio_periphs" naming, so this makes the code here consistent with other Amlogic pinctrl drivers. No functional changes since thee "gpio" function is currently not used. Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index e482672e833a..5f4935a81295 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -774,7 +774,7 @@ static struct meson_pmx_group meson8_aobus_groups[] = { GROUP(hdmi_cec_ao, 0, 17), }; -static const char * const gpio_groups[] = { +static const char * const gpio_periphs_groups[] = { "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7", "GPIOX_8", "GPIOX_9", "GPIOX_10", "GPIOX_11", "GPIOX_12", "GPIOX_13", "GPIOX_14", @@ -996,7 +996,7 @@ static const char * const hdmi_cec_ao_groups[] = { }; static struct meson_pmx_func meson8_cbus_functions[] = { - FUNCTION(gpio), + FUNCTION(gpio_periphs), FUNCTION(sd_a), FUNCTION(sdxc_a), FUNCTION(pcm_a), From patchwork Sun Dec 9 19:50:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720219 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B545112E for ; Sun, 9 Dec 2018 19:51:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D3122A09A for ; Sun, 9 Dec 2018 19:51:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F5CF2A0BE; Sun, 9 Dec 2018 19:51:55 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 DEAF72A09A for ; Sun, 9 Dec 2018 19:51:54 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=CKXUSdPGr2cWJ0o50104SwXSYftMKSqRzErs9vxg6WU=; b=lNnb51sayQ9CjY b0o1vEy9AK3uk9W4XjLTz4VptdKo6ENkgVtIj/vYFC4zQrZ4J8zyBr6MJtNElUw/JSDQPUf3VAPDD gnSG+NJyJzjGFWPeRuBI3wGpJKtMvJ/IzkYnQ8Mfa4i1ueq6b0b3nSULnsdsYkxT8QZlKViVuw3sC blQ+EXU331h515Jn8A1XyTz7NcDoqd1ZwDyUh5c34WyrrU4mPgrC74PyQhHODbVi2EM24/wCljEyu ap18jdOaZsgj9TZYPQolhcfIIm06xSpBCim7NPkTN0BOf6bHnQB4uRSHglNtDHWwu1ka5jFbDnZKv ptFBnVMjxdpFWazuQ+fQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW57I-0006fE-P0; Sun, 09 Dec 2018 19:51:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56i-00064I-Op; Sun, 09 Dec 2018 19:51:18 +0000 Received: by mail-wr1-x441.google.com with SMTP id p4so8415722wrt.7; Sun, 09 Dec 2018 11:51:08 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=uWw97g7ElUgJ2je8JI19vSCNfFEnazDluRAzx8g6jHM=; b=qigJXV7eykLEw2HNvRSnSafNDXB74tVhzTxsoMna/5OFyTN4EHbbjF69nWhsKLz5H7 Bl6SLcqokgsLdjP6pm3tlArBxEM0Mh5+XMW8U2R8Jjz86zF7K5f9gr0+mM0mIkSacKZD xaeNDnVtGwmKLhRkHnG3SnEX0AU8SrbtxumT16OGjySJxdAafY1+CkMv0k0XARHKRjox 4sYaesWY2NgENwweK5m//iXkcvYAIsFWEwZ9qAzlqvjTbyPE2WbhRy97/YBA3dkKO2Dn vLmX5cequ3KYMDn6l5bjId7bnrrggCwKy46DqP2fU7HHhfMowjYFjnYXKvW+cQ2oGV9x 4saw== 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:mime-version:content-transfer-encoding; bh=uWw97g7ElUgJ2je8JI19vSCNfFEnazDluRAzx8g6jHM=; b=glj+tUBh2NIv2iexc84rmmlEEzxJvgzVXr/MhA8MKy+ACcsHnSZAWiekBeX+AZSER/ JOSIROu7sUeZwlAxCdWR6HLpzjdsuD+MzapZUB0+LJMRFEWA1wWfV0MR2mX823D5yEqq wtkRYh3BFfYqD5ydv9gjW+64CYFw0bVOWXTw56pMbvIZF0bcfl9n3s714WLjysWaM2x7 2uVda9u6N4LMPmneN4PBKOl79n2mV4SFfTGTAZ0NcgwJ/ShmSIn6gcvJL3O934C9lPip KMROWxrPCYVqlt0NXejwG8q8gXQYcrUb54Ha6OfA33gDHMUjaiopWSAV7Hmfm56bVioe mPMw== X-Gm-Message-State: AA+aEWbuBocSEhZD+c4XpSsE5WJKx6tHhghGeJYMTFNWekLLsMzCsSb+ sHumt0xMK9/EWPSBX7gIz561K4g4 X-Google-Smtp-Source: AFSGD/WuNWoIvyybaMiPYlUdNs8S2clBrxB604ziXFmNaZ4F3Fc5rQZqWqB7gs3uAhxj38Z0YZd5OQ== X-Received: by 2002:a05:6000:10d1:: with SMTP id b17mr7593184wrx.306.1544385066607; Sun, 09 Dec 2018 11:51:06 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:06 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 4/6] pinctrl: meson: meson8: rename the "gpio" function to "gpio_periphs" Date: Sun, 9 Dec 2018 20:50:53 +0100 Message-Id: <20181209195055.26813-5-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115116_822800_48A24EE0 X-CRM114-Status: GOOD ( 12.69 ) 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Rename the existing "gpio" function to "gpio_periphs". This makes it consistent with the "gpio_aobus" function. Also GXBB and GXL are also using the "gpio_periphs" naming, so this makes the code here consistent with other Amlogic pinctrl drivers. No functional changes since thee "gpio" function is currently not used. Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson8b.c b/drivers/pinctrl/meson/pinctrl-meson8b.c index 91cffc051055..b455e0c7a282 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8b.c +++ b/drivers/pinctrl/meson/pinctrl-meson8b.c @@ -622,7 +622,7 @@ static struct meson_pmx_group meson8b_aobus_groups[] = { GROUP(i2s_lr_clk_in, 0, 14), }; -static const char * const gpio_groups[] = { +static const char * const gpio_periphs_groups[] = { "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7", "GPIOX_8", "GPIOX_9", "GPIOX_10", "GPIOX_11", "GPIOX_16", "GPIOX_17", "GPIOX_18", @@ -839,7 +839,7 @@ static const char * const tsin_b_groups[] = { }; static struct meson_pmx_func meson8b_cbus_functions[] = { - FUNCTION(gpio), + FUNCTION(gpio_periphs), FUNCTION(sd_a), FUNCTION(sdxc_a), FUNCTION(pcm_a), From patchwork Sun Dec 9 19:50:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B814191E for ; Sun, 9 Dec 2018 19:53:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7BB72A09A for ; Sun, 9 Dec 2018 19:53:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9912B2A0BE; Sun, 9 Dec 2018 19:53: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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 42A3E2A09A for ; Sun, 9 Dec 2018 19:53:00 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=3Nr/ktiIjLw3gtWaozYA9Vja+LCA8c+dAl6Wju9FPzo=; b=qihR8bGNl6Dkn5 pgttmAW5jV/npwthQ+ISSBF8l3txiJUV2fXe86Gy0rWB+BlTU9R2QNIfeqyht8KFhCocv/h7EYVBx xb9gRUPEy4cv6FGFgaUApqTBammgDX1AVg2YkGEVuk1RDbyjmxaFltCapGskrDT6ONISHw2YemE+/ hhIIGGrheEooj27GhmnqA2DeX7Lc0FwpRXPuOBW9USUd4dT9vD/78xmAiyCD0OsTaQCz1YIIlDkmR m/Bo96Ab/d/SbKqXf2WFe36F8pJLAQuzRIqfp+B/pzFhSwGhyfHvW7tIa0MEgSXCJ10aKhQBYzEMJ 8JnaPFqBxf6aL6y3Ac5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW58L-0007bN-LW; Sun, 09 Dec 2018 19:52:57 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56l-00064K-G8; Sun, 09 Dec 2018 19:51:23 +0000 Received: by mail-wr1-x444.google.com with SMTP id r10so8402655wrs.10; Sun, 09 Dec 2018 11:51:09 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=73UkkgA13PS5wgqSSg53HYdLX82FskY2VGqT47R/Ls8=; b=rjV46CuohTjDWjmOlylN0PPJ4QoyI0TphLd0mYyVgxiOk9CkdZiCuDJ9WkXfmZhcA0 dgiI0INUsNYU5oxmi25WlwEXpLerXMXzJpqMIbhUK+RhP/1K5vkw7Navj7iUYJgB3Npy EkQso7Xf5kogTb0IPOI2m4e8uylsv/UQ1i9LDFCT/haTRJedKi9CBA+A++IqAy5b4B74 hrXDcqu5GLugag4xXcNfO3fT/voKaCpH/m0OuuFy2fANcMOsGxuVMHeE0lZAb7Xc3Et8 Lb2FY3DF4+FfRA6lis0ek4RncEVv8tECgzwuUmtfM0wXGhUryeKF9UGByRvp0ZDN1tYv QfNA== 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:mime-version:content-transfer-encoding; bh=73UkkgA13PS5wgqSSg53HYdLX82FskY2VGqT47R/Ls8=; b=Yn6UuWUv5+op/5G1G74GPEzl92NRCf/dOU6QRg4rPMYB17akE3t4T3WElRB5+9te0K SSmJBkk0fRLIGxKeW/towQj61ouSJhgxt9aEyDs3v93jjcwIc/72X4nu1KoDZUICGYqk WXMEf/gNhW5/FrzvJwtV3TRje247ZFTrU/VRvabCqLpZX8uBBlO+F7AaKVIO5xKN7aYD FRGBYVJ3rJExOSSkP3HB2A9OxB6DVWx00hxh7gQ2hR0kkbVLLos26fFm3nsIzXokgu3+ VHY/TiDz6qGvKt3gRcbokpCAdb3upwjIGKk3YWR6qaJf50bufWlYFE17zp8jMCEfCX5t WXIg== X-Gm-Message-State: AA+aEWaEYjRqRepXXixLOwY0p9InjbEZHzAFmjR/xhKz4sVMjgjKl+e/ gyc59QgOfXrZwHi07zO9ufA70oAn X-Google-Smtp-Source: AFSGD/WpDg8nYCDo+bcLfGzSW/+YQAqSKzR/ZupWv1uc5LyOCMp9VZZPsHKhN5JdEYkipi3BwpSeug== X-Received: by 2002:a5d:664a:: with SMTP id f10mr154720wrw.311.1544385067544; Sun, 09 Dec 2018 11:51:07 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:07 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 5/6] pinctrl: meson: meson8: add the missing GPIO_GROUPs for BOOT and CARD Date: Sun, 9 Dec 2018 20:50:54 +0100 Message-Id: <20181209195055.26813-6-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115119_807905_13DD2E54 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the BOOT and CARD pins as GROUP_GROUPs as well so they can be configured in devicetree using groups = BOOTx or groups = CARDx. This makes the behavior consistent with other pins inside the same driver as well as with the BOOT and CARD pins of the GXBB and GXL pinctrl drivers. Fixes: 6ac730951104a4 ("pinctrl: add driver for Amlogic Meson SoCs") Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index 5f4935a81295..785e29e74a56 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -506,6 +506,32 @@ static struct meson_pmx_group meson8_cbus_groups[] = { GPIO_GROUP(GPIOZ_12), GPIO_GROUP(GPIOZ_13), GPIO_GROUP(GPIOZ_14), + GPIO_GROUP(CARD_0), + GPIO_GROUP(CARD_1), + GPIO_GROUP(CARD_2), + GPIO_GROUP(CARD_3), + GPIO_GROUP(CARD_4), + GPIO_GROUP(CARD_5), + GPIO_GROUP(CARD_6), + GPIO_GROUP(BOOT_0), + GPIO_GROUP(BOOT_1), + GPIO_GROUP(BOOT_2), + GPIO_GROUP(BOOT_3), + GPIO_GROUP(BOOT_4), + GPIO_GROUP(BOOT_5), + GPIO_GROUP(BOOT_6), + GPIO_GROUP(BOOT_7), + GPIO_GROUP(BOOT_8), + GPIO_GROUP(BOOT_9), + GPIO_GROUP(BOOT_10), + GPIO_GROUP(BOOT_11), + GPIO_GROUP(BOOT_12), + GPIO_GROUP(BOOT_13), + GPIO_GROUP(BOOT_14), + GPIO_GROUP(BOOT_15), + GPIO_GROUP(BOOT_16), + GPIO_GROUP(BOOT_17), + GPIO_GROUP(BOOT_18), /* bank X */ GROUP(sd_d0_a, 8, 5), From patchwork Sun Dec 9 19:50:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 58772112E for ; Sun, 9 Dec 2018 19:52:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B32C2A09A for ; Sun, 9 Dec 2018 19:52:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F5C82A0BE; Sun, 9 Dec 2018 19:52:39 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 D38522A09A for ; Sun, 9 Dec 2018 19:52:38 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=GVlcjSkVdTkg2wfnYlAsvdX5kaGcyiuF6Rzvwv+Q7ME=; b=S+DkqjMocWmMq9 7qImeo5rV/Z+5/+bpPbjxiGMdjRZGalfY6SepQspzpLmHULgrLWwyW+KJ+/QKOZABgnT+DGd9qNNi 58xmts6LhPPs7MrrG19Bt6feWpqYVWTFkt+GI474XhD7+kuzZG5jDx/XDqtvpkJ6j5GltD72XcwY7 xEoKKLB9gbK2IaNTy2M1tKAbzoStQeHMTUTiQwj5+nEd7+syGdq8t4IPbBCflbL1l3A5oWnDAuybA cDa2WmT3nb/f7au8/M3c0fouXjmMXrbeqe9WSowHRC5zAab6UxVFlaZoMN6vXOt/09mxcTxSapqfA cqXZqVEzRTER4thXfZDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW580-0007Hj-U2; Sun, 09 Dec 2018 19:52:36 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56k-00064N-0h; Sun, 09 Dec 2018 19:51:21 +0000 Received: by mail-wr1-x443.google.com with SMTP id j10so8432094wru.4; Sun, 09 Dec 2018 11:51:10 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=urCU7YQjDTJrG7L2Euwj/N64dJUSTa6MEsTdrSmy+1E=; b=nKb6wfX/rw5GoEOT0rpZUQ/Lbm5/f+gtcYsGQ8oKTEAAdvv+KRMIy6wLViagKYuiiJ 6aGvbYWt8b3UaDw6TZnsrpCg6o4aRQZNCXi7vlFInG72DPaXaoLlG9nmvLopf6FT10Xo PJGK4/3xFUJzDDZcI7IRGwns+29o8HFNdojMh1ckJ+rQ5Hg0Oy5SRdRm3clsWJ7+hqdo uuAOEs31cKHP+0wLksEHZqwbQYumM4VF2/VU2T6gZ5YWlQr6uAqFosNi6LSIrYTgpvZ6 oZpoXYX0F+BI72w2c5lJoYl9QGscssE4Mf2vR39eicvQy1vYXZ6lBJo4XcxAUWPUUe8R rNOQ== 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:mime-version:content-transfer-encoding; bh=urCU7YQjDTJrG7L2Euwj/N64dJUSTa6MEsTdrSmy+1E=; b=kOUjuC6EhIy0rrZRXzx+9QRuCGb4+sxcWrDvw386mGX94GCH6uKTOMR1+5otHL2mDM SukCxHuGGYDzSbKguDJcGPkiHSdMS0QwknPRuXGf9ENKCChc/cW4XAs97w4hPfvLC/WE oREqmTahYWPnFWLB5/WwQw8qo48ygfs2sAIDoPDCbgFGediXdHACU8GG87RIAxAlgwEc YW+RosX+YnVRdZSxV9kr2hw2H+cqKZHXtnJbUa/XOal1g5ySAxU4pGaamdhBBdrmZchQ hi0DsDkYxaBmsIoXqPnprZ3zQ1tkdJAVwjEEftkSlVEBLuGZJzQra5ME0pBbb+A05LDL 7Aqw== X-Gm-Message-State: AA+aEWYefGTg/LCkKgIBRE2c+wBdJiAue6OmgSCHE03ulCELP42Yf4zX +VnFpXuV98shGfTsozlSQ5pUtNjl X-Google-Smtp-Source: AFSGD/Ucthwo9Mxtp42S1MnvflXgUPHtWaXWEFRfExBiGs+jzi2+kbxRlXUhB7s3Bki3zzDlkCj5mQ== X-Received: by 2002:adf:f350:: with SMTP id e16mr7334928wrp.125.1544385068479; Sun, 09 Dec 2018 11:51:08 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x20sm20270941wme.6.2018.12.09.11.51.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:07 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 6/6] pinctrl: meson: meson8b: add the missing GPIO_GROUPs for BOOT and CARD Date: Sun, 9 Dec 2018 20:50:55 +0100 Message-Id: <20181209195055.26813-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> References: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115118_147936_89719EA7 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. 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: carlo@caione.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the BOOT and CARD pins as GROUP_GROUPs as well so they can be configured in devicetree using groups = BOOTx or groups = CARDx. This makes the behavior consistent with other pins inside the same driver as well as with the BOOT and CARD pins of the GXBB and GXL pinctrl drivers. Fixes: 0fefcb6876d0d6 ("pinctrl: Add support for Meson8b") Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8b.c | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson8b.c b/drivers/pinctrl/meson/pinctrl-meson8b.c index b455e0c7a282..c69ca95b1ad5 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8b.c +++ b/drivers/pinctrl/meson/pinctrl-meson8b.c @@ -403,6 +403,34 @@ static struct meson_pmx_group meson8b_cbus_groups[] = { GPIO_GROUP(GPIOH_8), GPIO_GROUP(GPIOH_9), + GPIO_GROUP(CARD_0), + GPIO_GROUP(CARD_1), + GPIO_GROUP(CARD_2), + GPIO_GROUP(CARD_3), + GPIO_GROUP(CARD_4), + GPIO_GROUP(CARD_5), + GPIO_GROUP(CARD_6), + + GPIO_GROUP(BOOT_0), + GPIO_GROUP(BOOT_1), + GPIO_GROUP(BOOT_2), + GPIO_GROUP(BOOT_3), + GPIO_GROUP(BOOT_4), + GPIO_GROUP(BOOT_5), + GPIO_GROUP(BOOT_6), + GPIO_GROUP(BOOT_7), + GPIO_GROUP(BOOT_8), + GPIO_GROUP(BOOT_9), + GPIO_GROUP(BOOT_10), + GPIO_GROUP(BOOT_11), + GPIO_GROUP(BOOT_12), + GPIO_GROUP(BOOT_13), + GPIO_GROUP(BOOT_14), + GPIO_GROUP(BOOT_15), + GPIO_GROUP(BOOT_16), + GPIO_GROUP(BOOT_17), + GPIO_GROUP(BOOT_18), + GPIO_GROUP(DIF_0_P), GPIO_GROUP(DIF_0_N), GPIO_GROUP(DIF_1_P),