From patchwork Sun Dec 9 19:50:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10720213 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 6FC7A91E for ; Sun, 9 Dec 2018 19:51:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EF272A09A for ; Sun, 9 Dec 2018 19:51:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 503AB2A0B6; Sun, 9 Dec 2018 19:51:24 +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 0360C2A09A for ; Sun, 9 Dec 2018 19:51:23 +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: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:In-Reply-To:References: List-Owner; bh=4RdHZCPa9dSZT7valuGUvT+sF8gQnPqi6EPGTA4vMEM=; b=fAnUGs4ruYQ/4n ggzaAwJg77YfizXbghq/ZRvzYTuWVxqO2hKN1MbMGOFYVA74ZPasHeEEsANK0o28GNTG9ThO7ISmh seMDf3A5jJWIwcLEBvdFr37iwV9KMV9E39TZsM/aD+pw4lROcwWSV+O85Rb1kIYfN82UxmOaIcv9q 2UEXGSoe641+oNr/b7opqRGgHmhqYZODLKZbPCr79pC8+W8Wz1fWdfTqB51qAD/cQY5QbI1wGKP4t D9c2H/521Ky/X0vEi+peNSDzr4ipvjJS+S5XHMF+XMMFa+stcgkXv/7YNNru19NSsM0WCJd0Cs87e ajyaEZTlA6G/O5jyX7KA==; 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 1gW56m-00067m-9v; Sun, 09 Dec 2018 19:51:20 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gW56g-000648-Qa; Sun, 09 Dec 2018 19:51:16 +0000 Received: by mail-wm1-x342.google.com with SMTP id a62so1467910wmh.4; Sun, 09 Dec 2018 11:51:04 -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:mime-version :content-transfer-encoding; bh=2ICGDzLqEpkhiImNRb5ODmYoWmwur6feiS2st0RYKN4=; b=sV4cwZpxGfEm9ef0uH4t74pSJ4JgggIPJCfw9hUmWFgbVHar4uVxQ7WTQdS+AQW1on 1iCZUAYfgCqXsYdmCdR5fw1P33WSEqharj27x8uT/dulBT+CYDFaEm4ZICDMmFTkmgQn 8SJVA6SsmFq2LSIe5Mv6mnDnQVshJjhz3+P6zXne+OXFbWHueZR45wf9dedPMuG/8qyX v2KPvzXqLTLIXVP28Jnaq7QvEBAEKGfYlgX15P/fcGs5EzgvOc+SilOr0IH7gYD8xwbA UQM7NERhLk0QI1iB8MZKA1W64BRpU9UqdClCeHCwYp16StVfyZ3Br76GPM6Xdv93vnzD yMKA== 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:mime-version :content-transfer-encoding; bh=2ICGDzLqEpkhiImNRb5ODmYoWmwur6feiS2st0RYKN4=; b=t70orKyz6PUNnY2MV+SGO7cRNMJjstnmwLosUPh/jvXjdCyJWm03F1xHh+aonkzdUC gozbYhHD7HZxxLyygY4cfP2FpNkvi0G4wVCNIcsHi1d55UrlQTnwlDtkySnBweUJ+GAu C621QIIAG4JhrJIojflr4BoDUycUJSkrc91iCwhbQvgAPpjYZYtafKmZ6HotkTEo5iH7 qdVvclb0yxc5XTYemRT5vqCF1K5AFYePfy31B6SuFXDXPuOq0dFjiddWN6G1gYXZksWM vk56u0gjhDSHLXKInKrSHbYPDoE/PlqwUP/eoXrQwmQfBC4ruAFI6ZsSuyOr/e49cLX0 5zLA== X-Gm-Message-State: AA+aEWYqKvluXL1ahdSRKkPex/XUT21E8HgvORVKrsEU3K/50FdP/mPS yrOf14HTPCj8ON6qE7CaYg4/6X4O X-Google-Smtp-Source: AFSGD/U21nsjBbR+piJXAvWxSa0Gibh6TcxhY1nY+lPbTw7cOPODyyi5tqpxQlK8uUBsavF1KfI/ow== X-Received: by 2002:a1c:b687:: with SMTP id g129mr8247611wmf.59.1544385062507; Sun, 09 Dec 2018 11:51:02 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:51:01 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 0/6] pinctrl: various fixes for Meson8 and Meson8b SoCs Date: Sun, 9 Dec 2018 20:50:49 +0100 Message-Id: <20181209195055.26813-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181209_115114_861751_F226D8BB X-CRM114-Status: UNSURE ( 9.03 ) 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 While debugging an USB issue on my Odroid-C1 I found a few issues with the pinctrl driver for the Meson8 and Meson8b SoCs: - GPIOAO pins cannot be specified as GPIO group in device-tree - (not a bugfix bug an improvement) make the gpio_periphs group naming consistent with drivers for newer SoCs - add missing GPIO_GROUP definitions for the pins in the BOOT and CARD banks I added the correct "Fixes" tag to all commits where applicable. These fixes don't affect any existing boards or functionality. Thus I suggest to apply them for next (v4.21) instead of sending them to mainline. Martin Blumenstingl (6): pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins pinctrl: meson: meson8: rename the "gpio" function to "gpio_periphs" pinctrl: meson: meson8: rename the "gpio" function to "gpio_periphs" pinctrl: meson: meson8: add the missing GPIO_GROUPs for BOOT and CARD pinctrl: meson: meson8b: add the missing GPIO_GROUPs for BOOT and CARD drivers/pinctrl/meson/pinctrl-meson8.c | 33 ++++++++++++++++-- drivers/pinctrl/meson/pinctrl-meson8b.c | 45 +++++++++++++++++++++---- 2 files changed, 69 insertions(+), 9 deletions(-)