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: 10720217 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 1196D91E for ; Sun, 9 Dec 2018 19:51:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03F202A09A for ; Sun, 9 Dec 2018 19:51:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC33A2A0B6; Sun, 9 Dec 2018 19:51:40 +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 9EDF42A09A for ; Sun, 9 Dec 2018 19:51:40 +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=Suxzu8CmbWObWTR5Qc55jml73mRUv5sqP/mONFDeIQY=; b=OeA2n0FEuj4sVF 7qp9CAOxccyLbzqWRSmmfrFJ4tbj2xxIbV55yvXcS5hlxvYt4+67zTO1nfHBnQtzpsp7uTi4pEGyv rnClaPliQQMpf4w540RNcDLdbpXnQ6ngUZZJ2OWKlGuBq0HEBRvta6N3La3iVmuYC0AWEZbpMbnnM tQTAxEHbePXH22LTyQHB0OHOjj4UQKC16lj+e4bm7DIBL/WMxAP33MSi+FJXcvnS80aNszQqVLV4N NaqwsOTsQs3e/jGdlpdbUGTuXtruiGuIeGTO2oBoPpkEPAMOZWagIBl5vM475BhiOP8nsQFVoMXjT i1op25990DkPHQSbY+MQ==; 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 1gW572-0006MJ-E8; Sun, 09 Dec 2018 19:51:36 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10720227 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 91810112E for ; Sun, 9 Dec 2018 19:52:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 849542A09A for ; Sun, 9 Dec 2018 19:52:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78E312A0BE; Sun, 9 Dec 2018 19:52:27 +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=unavailable 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 32A062A09A for ; Sun, 9 Dec 2018 19:52:27 +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=BwMW0nH51L30eCtLrqWrAnlnBYaWoSZ3pT0j+2tOFzU=; b=IJqx/JTUiocNvh v81fqOoU5/yI1uz9MpmoHXtfSE+TatSZpJRWK7MpVU1uThoUiaI1/mol1Ulh5donIozwYPquHJcwr G6+iNjbNDvSrplEXvi/jUFKKG/oc90gH1WYCFMSiqNkZyE+zHjA81t8yqEo1ZrrVWU8h9UH7IwAgr I52T+2Ev9D7iulCFJTPXZUnwI8VHtGEoxGovX02MPlSpKKFb9z4rQCxA+AyEyDfsFqIJz8woo46zk 7o9Tjs6Cu04ALb21k6d53DkxLzzvh8ZyP8NBPlA+5Yy+tftnridi+Gq0Yhb7scQAcRgjHD4qwNfLT Xk46eQfrYVa4f1IPhV/g==; 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 1gW57j-00073M-63; Sun, 09 Dec 2018 19:52:19 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10720235 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 86E5C112E for ; Sun, 9 Dec 2018 19:52:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A17F2A09A for ; Sun, 9 Dec 2018 19:52:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E6D82A0BE; Sun, 9 Dec 2018 19:52:48 +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 0AAB22A09A for ; Sun, 9 Dec 2018 19:52:48 +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=yLDVyqqKlkRyDM38meIllgFVYaX09kABja/YZi6WUUA=; b=JP2pyJ7Gnm+dPl F4Ztmu/0BetDce58PCRHwi24bGoFFDFTbY0XbY+aKLhqAHXBRJrhb3R45+8XoSuyKwNWIO5CSGjob MqhC3Zofug3ImyTlqYZVQfC6CNdTSqn1CaOcPrch21LN2ce1ZhYpcBGibR1KZFqIB1WTOZmfxp2zZ aDzeKLIRDSxNVZ6Idmi2y5UtsU9qub4ucfNjAhHD/SRYbwoLxJ6+7bP/eol5olET2zA1QNW89RU/f zzlg/uEkHHvMjE4x0+DOVFAsMLqW9L13ttQYJyGOBH9HZhYKoISKdIaLWPA5x1ctarzkSPqtkQeSU VACEMoY/uUU95sNbHkKQ==; 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 1gW585-0007Ku-1i; Sun, 09 Dec 2018 19:52:41 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10720223 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 411DB91E for ; Sun, 9 Dec 2018 19:52:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33C502A09A for ; Sun, 9 Dec 2018 19:52:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27E5A2A0BE; Sun, 9 Dec 2018 19:52:05 +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 AC5F62A09A for ; Sun, 9 Dec 2018 19:52:04 +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=QNYXY33HwubyvKYwU91CzZpXTMlVBhRi7LcxTA29ick=; b=t6JQuOK0tz2Wnq lamTpNQPxmR6PW3izJjhMkzo8yq+e+3Da5/yNaDsKV+rLSRHd49KazwSsrxccMbOUpZvQNHQ0bIjc u7DLE+A4xC6lvl7BPH3Rs2n1jecYBWjKW/AoD19x3bvB5Z7Hy6lZ1hY8vUY1foIX+AV8rUXBWOs0H 0tL1K6EjUYEUwroV4k1yInshMMvkdqP2PCpxFIr3aoIvJ8yels5Gii99o7Jb6T9zKItpQ5LOlV6fD iHpnAYt9ki1uA0LEyO5oUA0ih1EV772P50yRSBZMTZLRw9cLZrNGsyoSGtwcXZ5H8Afwoc67AfEhT QOpJdCVU7TumBSQhpPtw==; 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 1gW57P-0006jk-Ee; Sun, 09 Dec 2018 19:51:59 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10720243 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 4D918112E for ; Sun, 9 Dec 2018 19:53:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40B922A09A for ; Sun, 9 Dec 2018 19:53:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3455A2A0BE; Sun, 9 Dec 2018 19:53:21 +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 BFC212A09A for ; Sun, 9 Dec 2018 19:53:20 +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=K2m3qO40FvyfCRXCAd67k/al+c7oJWXobPsezsxSZeU=; b=IbBydEUeE/H1fP LPs1zJ9P+hYC+p87oROc/3pRTUnO4hgRTVn56/tgyu/Ak+FLSUxbsz5EPYlPK4GK17IBzD2mi167N qyU3jsQtEF2z3l2rydnJ5dbpsrc9Q1oTPtF8fNf/euQBLHCSvovBuv54g49VzGj9OS54ggZyg6LP+ /z3nl7NGUuu0S9wU8L+BUnzNC2+8Q3tNyaZpXGG8CV11QZCl1s2rPWPOzvB77OYYNCFI0eCE1lks9 Sc4xEGt9QKoDysghtPuY6mMfZPF9uklhQ9Fi5ZbUpPNnMlLWYTmABe4jcrZjP0lTS6r26YiwZUKmb HVop+3b00ncrM1/gFIEQ==; 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 1gW58d-0007op-2g; Sun, 09 Dec 2018 19:53:15 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10720241 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 74078112E for ; Sun, 9 Dec 2018 19:53:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626D62A09A for ; Sun, 9 Dec 2018 19:53:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55FB82A0BE; Sun, 9 Dec 2018 19:53:09 +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 C66302A09A for ; Sun, 9 Dec 2018 19:53:08 +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=z4OSr2tX1sGgg96IPRh56Yz473gxkXmzbq76SdRua68=; b=HXQbu5p+MGeq+m rvt3AMJ/pq4TaKd4WsmkDjfY6AQ4G0gKV+LTPOpwN1WD+7wE9ovo3OhZNvbwl4wztYrMZQDq807fs o4l0ihGmdxZV2p18EoeEBLpjTjZ4LLKqLjbLoStvZR+EfoW46hiGkHAFUTj3V5JooOJbKmc0SDykw W47av/cy1KzG3u7kM9F3YWnYa958JV3E2a2XzBfbWj0BiPx4yxau3yR6mK1ubZ3YMjq3hKo3n93XD TVUCk4TE3o6ncomnyuOcrWSxXAf7NDEzQzBxwKEVW2nXlemgGR8BSuiypyn8RiRPb2BCXblmblDZb CU9TjiP5j3T1wOGH5YRQ==; 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 1gW58Q-0007do-Ci; Sun, 09 Dec 2018 19:53:02 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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),