From patchwork Sat Oct 28 13:37:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 117392 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp609181qgn; Sat, 28 Oct 2017 06:39:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QGMSOBh810yvaPdVPYdmn/EwFTGmXN4XHji0b/qGqZpv9EpG0QBK6UMGiKNIKvjkLf4/X4 X-Received: by 10.99.171.6 with SMTP id p6mr3134253pgf.30.1509197979399; Sat, 28 Oct 2017 06:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509197979; cv=none; d=google.com; s=arc-20160816; b=G6bZhfL5dxtkgGMIJ9wc5qJ7NKfeYtw3THfndk/ipyCXVCLRZHwDSFmScmwo8JJseq Oj/XjWjJ2TdhCPevJSjagLG6Hnh9NSG2pmZGYTu0h7GL+YY/nUxsXvdD53UPyAILawvv 2bbwE3uF9PZRhTk6QIEmJ4wBCayILhGC1coE1aCVIgc8LPhx8bL2Jw3102hgI8kzpSUs P/c4cLRYKffnvf3CDoJIpW5y5+PAy1WC793W/vfx90oKNSEtfHCzcY5wITE2g6HIchAs T3UMru55sPEaK/ISklVOZBkJQxj0FtRG9h43CUuCz7YhIXYNF7zqFJ1jaTSJ/fPMay51 4FSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=CRq0XfPDD4eE0tSadeVOHZ37bSIR5DjByvBdLkpgX/E=; b=C3/VzwE5H9VAOSx1zv8eJIWP/JNR1x+WvoqiVlpQmvWBacQMu4tTVajIquO/pPiSYd s94OcdvlF0LvZicWDxmSEMKi3xGtKHd8zc1c5/JsjSHQaAMnIZL1rB3R89jOyRHo3tkA qzYN5L1GxhlU7iZblHALPnSbhVGHE+BREAE71ODJ6/SgmD2kBUiVhhTm7CabLeeNPOYM xadxqYiMuwP+Xdw6w8QLbWbv7wbhQzwPWgQQifX4suy3VXJWEafe3fmwLfWnoFBEBE8b Ub21s/ImdIXWR9qzWSQI+VKEwhhtvRYPsuR3uM96s6b+tipfesLj3/M484Hwl1x0fyCC 9Jhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jyFuwb2n; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185si372828pfc.43.2017.10.28.06.39.38; Sat, 28 Oct 2017 06:39:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jyFuwb2n; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbdJ1Nji (ORCPT + 6 others); Sat, 28 Oct 2017 09:39:38 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:51232 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbdJ1Njh (ORCPT ); Sat, 28 Oct 2017 09:39:37 -0400 Received: by mail-lf0-f67.google.com with SMTP id r129so10112155lff.8 for ; Sat, 28 Oct 2017 06:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=v6m4spjbgc8Ze6uOtfqGm/TfDLEOEvpD+AKxpf9NatY=; b=jyFuwb2nGdiObQ4OYTIBAi76HnwiJIR9SnkqjckrV5yzDqqOOBeQ01go99JeIQjNv4 8XMN0yN6JJ2/yhLHC9QKeYthc3zHB9WyYKZdeOLnCEsy4WMixdXH7Q1n/5/gddCT9WFT TW5DWreh+mqYySzx2AylWqoy5K5k3vZkIhHaU= 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; bh=v6m4spjbgc8Ze6uOtfqGm/TfDLEOEvpD+AKxpf9NatY=; b=WqjrHTwZ3bKnU+p7iC7idKHV+/y1/Ct+uCkcnHTrVmcUr3xe5GrqnfBO1/Z7wJRJAd aTmjglgWIU34j6q4Gp6N3rFf7/FPGoO9M7ZScNSkIT1yKWzPqiWZdFZWhLqIOdEISj7d zzVr9n82TVFRGOBMHe/6gx0bJ7tkKWWUaAh+DRP3ld+1aJCG+Jclc8BytBLSXZLBsKsH NNyK3dHvB0dk8AmPQZ1PNvyhxvR50HGexarxYeNgZdJ5DYGmoQaeXypBxbOcXaLQU58y wiNlh8dV8lPupLc+QoLFuvAeyPJEJ5QBPIKYX3EjSUVavrOsIiHHZHojP6vvELNFAeeA l06g== X-Gm-Message-State: AMCzsaXkrc0WX37XIYaXSv75QkxJh8Avfxr0hiztBwncSwFw5xWBsgO7 TZFVfI4HTsJ+se7vzdFGYgmSeFAL3o4= X-Received: by 10.25.178.206 with SMTP id t75mr1260460lfk.228.1509197976009; Sat, 28 Oct 2017 06:39:36 -0700 (PDT) Received: from localhost.localdomain (c-567171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.86]) by smtp.gmail.com with ESMTPSA id r23sm2447913lja.32.2017.10.28.06.39.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Oct 2017 06:39:34 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Hans Ulli Kroll , Florian Fainelli Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [PATCH 1/4] pinctrl: gemini: Add missing functions Date: Sat, 28 Oct 2017 15:37:16 +0200 Message-Id: <20171028133719.27528-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.6 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Some two functions were missing from the Gemini pin control driver. Noticed when trying to use ethernet. Fix it up by adding them. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-gemini.c | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Hans Ulli Kroll diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c index 39e6221e7100..7ffd768c0e02 100644 --- a/drivers/pinctrl/pinctrl-gemini.c +++ b/drivers/pinctrl/pinctrl-gemini.c @@ -2074,6 +2074,16 @@ static const struct gemini_pmx_func gemini_pmx_functions[] = { .num_groups = ARRAY_SIZE(satagrps), }, { + .name = "usb", + .groups = usbgrps, + .num_groups = ARRAY_SIZE(usbgrps), + }, + { + .name = "gmii", + .groups = gmiigrps, + .num_groups = ARRAY_SIZE(gmiigrps), + }, + { .name = "pci", .groups = pcigrps, .num_groups = ARRAY_SIZE(pcigrps),