From patchwork Sat Oct 14 15:13:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 115843 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1878015qgn; Sat, 14 Oct 2017 08:13:14 -0700 (PDT) X-Received: by 10.84.248.77 with SMTP id e13mr4410121pln.200.1507993994548; Sat, 14 Oct 2017 08:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507993994; cv=none; d=google.com; s=arc-20160816; b=lVx26XrCQAOlKPMZjPUqewPQM2Ooju+krFN1QAd2crFQszrSJDao4IhS56MVSIAm2b TYz5yTIuoFBPAKJqDrpJzKoJy3jQHHcN3U/f6rDqivmpO/bK8f/1hazV8WGsoulPhAZJ jtSuLS8Mrb1Mf1SN7BVxd105WNJvpcahfXMMo60jccVuRVslb7M5X1+v8S9z899BP5K9 zqKYZx8NXHu/LBlnaXkqI8chcHiVoRmTLAT6MXNXAfp07i+ys7d/vhACLizDfXKw9j5n I0EbV1t52UDXySuMhX6et9y9mCAJregJLvTRVC/NPgxk2HY4o+TCZi+pWHHwfOKs0pO/ 8/DQ== 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=V35qPA5RI93jjCKNO5Mmavi7OkaNub3EHuo/r7s/6hgsr8RTZjfAWVcdEOON63gel2 bbm1fgtLspcZ6TmlzwErNHc9tfRwQigBV6qG16Lg58a+w2Y8hxfD2dmZOJBPLD8UQTNx hO01FFGJ8h5tfR8NYobjOOzHtPXeVSLu0TzTsLWceWWyrRoONVFX6uYWf2SDKylaFMPE mUf+cAT0uKTkIIpcvoCYRfEA5AdRNEtUlNUeuUGJ7hiRkhb8huDKCFeIGEPI34bcceP4 UJoKFgzC47dYnDG7aNwpHAcu2lzMVsUgrVDGO96eKkmDSO5kGBW5aGJGfO1L+XzplBNx 8GkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dYYBT1II; 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 y63si1975749pff.190.2017.10.14.08.13.13; Sat, 14 Oct 2017 08:13:14 -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=dYYBT1II; 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 S1753854AbdJNPNN (ORCPT + 5 others); Sat, 14 Oct 2017 11:13:13 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:56915 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbdJNPNM (ORCPT ); Sat, 14 Oct 2017 11:13:12 -0400 Received: by mail-lf0-f42.google.com with SMTP id 90so12551359lfs.13 for ; Sat, 14 Oct 2017 08:13:11 -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=dYYBT1IISMNoRSoc2CaSrtQGAoKbU+Ajz1YN84DMxLWh4hQ6UqmEzBHPOUZ/vhkKRc 4wV0YhNznnqoyFGglIBmWXEa9LnUWkcjNUd/W5FdB+mdlX0cNViemBtBjwKoa+Rk3q+l r2f0lu0TZh9jHDy00F9PQETOsM+AKc+GydcAw= 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=ESRvToeUNnF3XTH9TK1N00j/Rfb53f9Aef3un9wYIuakpX7ASd83cmB5ZBMZzlBsrO Ds84IW0tcPLOgoI+WHs9jV8yYwoJFCP+KuPXaUZJ0sHQR9rSFgJHgif/NOMedKQldNDe KCzbvlGjQm+cgs3WolNCq1WODTxJF1TjADx4wXcUIsChOf95/b/q+XCF9HhhoLX53rHn ISt4dLeq6VfbYwed3QTVYXX/9texM8v9jEO3t02tbrYpBDuA6CHyKEYW+qBBCooBo5Qo XoBUAcqJ37erAuIRaB/g0AVC2bmN2p5rXBbSwT7Lx83LXEwK1Wm5D/80e+fLSfbu88x4 OLzQ== X-Gm-Message-State: AMCzsaUs1hCWDQds7Vppye2qBIIGRk4rs/pzFVRRiWTgGhayvQKbBuwE iEWiZtMMnnzPAXoFREjcOuaCXg== X-Google-Smtp-Source: ABhQp+T5i9pfOz+8uxjPjs/hjAvj3PV/E7aaaeFDeKvSAEghZcyQ6seG6VwMPkRmjOZeWHShlKG/CQ== X-Received: by 10.25.142.1 with SMTP id q1mr1526554lfd.7.1507993991117; Sat, 14 Oct 2017 08:13:11 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-167e71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.126.22]) by smtp.gmail.com with ESMTPSA id u19sm652825lfc.89.2017.10.14.08.13.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 08:13:10 -0700 (PDT) From: Linus Walleij To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH] pinctrl: gemini: Add missing functions Date: Sat, 14 Oct 2017 17:13:03 +0200 Message-Id: <20171014151303.17080-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 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),