Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6098995yba; Tue, 14 May 2019 01:28:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmpKLvDStG5Bia93yROFHbY5uJ3o7YUuflOffsFzT54HaRgm6HikptWfYKSxOQY7qD6m8p X-Received: by 2002:a17:902:e213:: with SMTP id ce19mr37325582plb.30.1557822513158; Tue, 14 May 2019 01:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557822513; cv=none; d=google.com; s=arc-20160816; b=psdr6sjJzdITtp1p53WRoL0+GQWTiQWHmNyuemIaiHzdMEotei2VuS0qY+fXcJQiQ9 fcggDHughTXUzLn8f2StOQIbKdbS7e+3fOD+SNZcpcKugMWWj6Stgke1HG9OyM6ta5i3 VTKOpLbkaSBZxurxnNJ4QA6jYhRPqXdHRea5UBqSy2uVHHeTZnh6Bi9eVcx/nSzmnHkD oOG+TFYgLF/vGOobodF+68qkxjYqxgG1ai8quPgRLHDx3R7q2xu4D/AMhyy/pkq0KcNJ teKzJn9UtkT3xW4wpC/mDMVJeNhEZiAGvb8XlWSPKL4ObWUpCIh067lgA0J/QOX7Ii7f IdEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=O97zZZn1z4pV5/CBd0LynhS3xGUIwq2UphBG0p1YFRQ=; b=R3oANojthDP+luFlEMO8bBQBjkmd7BoaFSwpfqVN20svUxAZU+lkUouCM7/RSsRJy4 WAMmgqmCUHHPPQkLpsBHmO7qrNeibuyd7W9epKR1ABD6GzFc5e7dlCAalqD/w4bbkLa0 vhOonKNQI2NowRlW3AZ2tRvvXTzYotypjaf2X/d5/dIPSvltd/KTrbhAGvagdPXObi9I +J2ZwvT1aYYUEPgp3wiKcF+kz7yVnUapjiHdFCfdI5m6wmJO8U7ElDsf2p45H8gmDboB UVabGuuHmVQo+NL8CzIfy+/rb6Mc/cfLdc1nLjzVe6tAUi9yP3qwAIBxwvpid55rligT Syog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bPf4WuuY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 128si4053292pgf.369.2019.05.14.01.28.18; Tue, 14 May 2019 01:28:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bPf4WuuY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726591AbfENI1H (ORCPT + 99 others); Tue, 14 May 2019 04:27:07 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36198 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfENI1D (ORCPT ); Tue, 14 May 2019 04:27:03 -0400 Received: by mail-wm1-f65.google.com with SMTP id j187so1834489wmj.1 for ; Tue, 14 May 2019 01:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=O97zZZn1z4pV5/CBd0LynhS3xGUIwq2UphBG0p1YFRQ=; b=bPf4WuuYIqH2CH9bQmXEo1O34FgtRlbigWtGU36yskR/JqXCQ/OJg76GS3qGPgMcR3 vHOr3yIF50qoEfqp2acVrlqRNwYxmCtwNrQxxMlMjfvOMjYEq/hfhCPcZ92ywzjH/Wu3 2X6f+ps9mNRR882qkn9/0YTWP3xAaw/S8SMi6j7LPy5n84ItH994gvgN8f22JsCBQjiW 2ptIfpHlkGvIz1fhsW+HEgTyY/tnOsLHH50eYsvvTCPLuOPqAkvdQHlfZ5sKy7IQeD4U 1nbAL8REhP2W/4aftAOOcxBoc9DY+hyc2QYH17vGyL2+bpQ9vJAjSpnIIXL6OUuQ3TNo 8wUg== 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; bh=O97zZZn1z4pV5/CBd0LynhS3xGUIwq2UphBG0p1YFRQ=; b=umGdB90bjNq6jvboVDiNIqo3uaYn3DrpdY6vFBy7XhDV/2dEbI/w9IWfGjJy/9oftS ft5FkUuMMvxYyNi09uNgsmF/uccYmR/jeLwF7tFZL8yORanmFA7Tk4xmUDte+aTNKaPv lC+Z/vhuqRwDGcROY/GraV+dRYjWLVqWSAk32T1PiOk/7uU9YTNYuM0EHa1VvXhRszTI mBFbrNNFGuRVMT941ncpgiqiuIaZg5pm3G9YSHo6CFKFOe44FLTpXH2PeinoLhZ7xDUL +7OmvIQ7tDeoG+ayCZjhAyMSkFXsl59BvCO8svHKj3iLa03ju+OUxhbVv/m6iDKGW8a8 oXaA== X-Gm-Message-State: APjAAAUvaj7b1cLp+Qk3+ADhwIVHAPZobt2sFqgzZqHNyrJ8Dciawflv 8J241NUw5RXYk2LYOb/z/zK5RQ== X-Received: by 2002:a7b:c8d1:: with SMTP id f17mr5244524wml.45.1557822421448; Tue, 14 May 2019 01:27:01 -0700 (PDT) Received: from glaroque-ThinkPad-T480.home ([2a01:cb1d:379:8b00:1910:6694:7019:d3a]) by smtp.gmail.com with ESMTPSA id j190sm2450772wmb.19.2019.05.14.01.27.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 01:27:01 -0700 (PDT) From: Guillaume La Roque To: linus.walleij@linaro.org, khilman@baylibre.com Cc: jbrunet@baylibre.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 6/6] pinctrl: meson: g12a: add DS bank value Date: Tue, 14 May 2019 10:26:52 +0200 Message-Id: <20190514082652.20686-7-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190514082652.20686-1-glaroque@baylibre.com> References: <20190514082652.20686-1-glaroque@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add drive-strength bank regiter and bit value for G12A SoC Signed-off-by: Guillaume La Roque Reviewed-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl/meson/pinctrl-meson-g12a.c index d494492e98e9..3475cd7bd2af 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-g12a.c +++ b/drivers/pinctrl/meson/pinctrl-meson-g12a.c @@ -1304,28 +1304,28 @@ static struct meson_pmx_func meson_g12a_aobus_functions[] = { }; static struct meson_bank meson_g12a_periphs_banks[] = { - /* name first last irq pullen pull dir out in */ - BANK("Z", GPIOZ_0, GPIOZ_15, 12, 27, - 4, 0, 4, 0, 12, 0, 13, 0, 14, 0), - BANK("H", GPIOH_0, GPIOH_8, 28, 36, - 3, 0, 3, 0, 9, 0, 10, 0, 11, 0), - BANK("BOOT", BOOT_0, BOOT_15, 37, 52, - 0, 0, 0, 0, 0, 0, 1, 0, 2, 0), - BANK("C", GPIOC_0, GPIOC_7, 53, 60, - 1, 0, 1, 0, 3, 0, 4, 0, 5, 0), - BANK("A", GPIOA_0, GPIOA_15, 61, 76, - 5, 0, 5, 0, 16, 0, 17, 0, 18, 0), - BANK("X", GPIOX_0, GPIOX_19, 77, 96, - 2, 0, 2, 0, 6, 0, 7, 0, 8, 0), + /* name first last irq pullen pull dir out in ds */ + BANK_DS("Z", GPIOZ_0, GPIOZ_15, 12, 27, + 4, 0, 4, 0, 12, 0, 13, 0, 14, 0, 5, 0), + BANK_DS("H", GPIOH_0, GPIOH_8, 28, 36, + 3, 0, 3, 0, 9, 0, 10, 0, 11, 0, 4, 0), + BANK_DS("BOOT", BOOT_0, BOOT_15, 37, 52, + 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0), + BANK_DS("C", GPIOC_0, GPIOC_7, 53, 60, + 1, 0, 1, 0, 3, 0, 4, 0, 5, 0, 1, 0), + BANK_DS("A", GPIOA_0, GPIOA_15, 61, 76, + 5, 0, 5, 0, 16, 0, 17, 0, 18, 0, 6, 0), + BANK_DS("X", GPIOX_0, GPIOX_19, 77, 96, + 2, 0, 2, 0, 6, 0, 7, 0, 8, 0, 2, 0), }; static struct meson_bank meson_g12a_aobus_banks[] = { - /* name first last irq pullen pull dir out in */ - BANK("AO", GPIOAO_0, GPIOAO_11, 0, 11, - 3, 0, 2, 0, 0, 0, 4, 0, 1, 0), + /* name first last irq pullen pull dir out in ds */ + BANK_DS("AO", GPIOAO_0, GPIOAO_11, 0, 11, 3, 0, 2, 0, 0, 0, 4, 0, 1, 0, + 0, 0), /* GPIOE actually located in the AO bank */ - BANK("E", GPIOE_0, GPIOE_2, 97, 99, - 3, 16, 2, 16, 0, 16, 4, 16, 1, 16), + BANK_DS("E", GPIOE_0, GPIOE_2, 97, 99, 3, 16, 2, 16, 0, 16, 4, 16, 1, + 16, 1, 0), }; static struct meson_pmx_bank meson_g12a_periphs_pmx_banks[] = { -- 2.17.1