Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1820954yba; Fri, 10 May 2019 01:25:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzk0CVodSw2tswqFy2/mPt9kWLo8bmfTRBko0K6n1/k2SqZOM9EBZFA9zqpgwNiP5/lAriE X-Received: by 2002:a63:8bc9:: with SMTP id j192mr11736316pge.212.1557476713726; Fri, 10 May 2019 01:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557476713; cv=none; d=google.com; s=arc-20160816; b=Ye6Ys9FODkld7JBncG3Kk2mgZK+XP1X5QjopVBheje/vKBPwlMHs0OIQ4/J6nl+orl AWp/BRa0nEVozmRlS84b+WCWMWOV9nHuyBEzQV4piCvUCxznLXsmXQQsZHr8VsGrww0A L3qmxsJmalr9mrqcImiiHX2tmzdyOcGojQyjb+n6uCh0xYeAarUawE2w9Ydmqn70PGkU 33I3JT8ammIGJPnK8fHwUMABU24r75cI75PyzEs02VpcKHCOVAoDnxljcHrvFabQ+oFC LyyKd2H5PfqxxwZ22yblVdnMMCWeby+VUaLPc/IXXQrbM+wYtiYBPq5VOQ5nq8pFl/Jk gnWw== 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=5yCZDsoXX8gNHDHrkDE/DYR09t36eKuYM9S/4pn/Ftw=; b=qRxAqtNrvi77T51wWpGiYqbrDivcWeZum57aKa1f0eETHPnN1+9qZR96+teXjxSdoS lVD2lq3tCuVoTBgGwPzqdeVSWAUvQO1tBowdAHMqxG/q3edYvFLNTymiLhsbSTdcj/3K bZtQLV7U/htSNR+FFYi/DjeH+0tNKHWxWy2axNfMh/4ZjkowXN0wS9kJfEpsikzE0U1o vQ/BiO/L02Nx9riJNruWSWnY+aLmH4WXuonaRCaUHMCjWzfAXejqfBKXITyhGe1XWmc8 zbRt45W4kn1H6f/Cc3C9QvX48IajqU3bt4HEbY8PxiPoURvLdftWe1bL58Q2az5m6lfk HaRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="uhtIwH/N"; 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 d126si6025026pgc.46.2019.05.10.01.24.57; Fri, 10 May 2019 01:25:13 -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="uhtIwH/N"; 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 S1727309AbfEJIXp (ORCPT + 99 others); Fri, 10 May 2019 04:23:45 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35436 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbfEJIXe (ORCPT ); Fri, 10 May 2019 04:23:34 -0400 Received: by mail-wr1-f68.google.com with SMTP id w12so6714964wrp.2 for ; Fri, 10 May 2019 01:23:33 -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=5yCZDsoXX8gNHDHrkDE/DYR09t36eKuYM9S/4pn/Ftw=; b=uhtIwH/NZFJ48uIDBhqwqTjMsx8agUVdKqxKn/wT/HGQlFyxplSo0EsUpNiPGg6JHo Hwk87YTmDU83xzZU4f/LZkFJEptHPgRlhmGbuvPSGo0flQPdltEjUO/tJnmJINywp1fF /fhrTKpp689UDLZLwSpp+XZJgc7OJowEQWncaI5m+nzv/EgOSI1GKWIZ2za/9eUCQthL jrTAKxlBFre024EAVcXeIFQAfH8L4ey988GlfD7Ze8o2FQxlZ3680a3vePn+4c505AGu OXhELXQScpUgFO5OHMHi3k/S3oLkrmucozy0M0Z0VCjv8rKIpqafTyX1HTUcXELNZDhC rOoQ== 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=5yCZDsoXX8gNHDHrkDE/DYR09t36eKuYM9S/4pn/Ftw=; b=ajlBaIWZUGi6VqM9vp8EloEnBQyGcxRLydFUTNJ/bnM9jTDzXuwbekrIbK6ZufyzW7 zo9Qf4b5Vj7+emvRTRmILGLGwE9gBKgOVyCoUcZ8+UzihDWx/DcnI5vSYArIp1OloD7l bXFfHEOQsfDqVHUFCMuq6+UIEdstXYSeRWJxr6s6uO6+DoCFIIA8pcs7XEjVTo1/Ucd9 BEsVk6ScV8PXxah9ssr4xylSgV90BB3VJHS+GXtgiRtce02d7caPxv/Bn7aozjV3B5Jn mgP+bwE8XrRRk1y/11K1n26a/h51SiWyiv5ITp53u6g9/LZScjGvfLh8Tr1rELBrqaHg xQ/Q== X-Gm-Message-State: APjAAAVHNndQKQR8Sh5RlIlmZ4+GIfBRuS1tspX6ajJges/27mA0ddy/ UiUf5HqHPakUDI02ftwc8fp2Yg== X-Received: by 2002:adf:eb02:: with SMTP id s2mr286910wrn.29.1557476612615; Fri, 10 May 2019 01:23:32 -0700 (PDT) Received: from glaroque-ThinkPad-T480.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id z4sm3790285wmk.5.2019.05.10.01.23.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2019 01:23:32 -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 v5 6/6] pinctrl: meson: g12a: add DS bank value Date: Fri, 10 May 2019 10:23:24 +0200 Message-Id: <20190510082324.21181-7-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190510082324.21181-1-glaroque@baylibre.com> References: <20190510082324.21181-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 --- 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