Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp755509pxk; Wed, 9 Sep 2020 19:13:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy+/wGDLnBXZxFy6FqKNRqAGS7E6D97Rh8TIb7P2vzmOK059RSgp3dkVXQBSVXhrFSbBMy X-Received: by 2002:a17:906:4993:: with SMTP id p19mr6854687eju.277.1599704005990; Wed, 09 Sep 2020 19:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599704005; cv=none; d=google.com; s=arc-20160816; b=lVl+o76wbvR8Qb7gyLrZX+Ppn2SBLEefZOE68Wd54JJW9YEIJV8pWe0McXJjiAq7Bz M637TOdFcKIJz2PXde7dsC74G9qqz8k8YHVZPDxJ1qI7vj6/ZYBcZ+jBGgua/jYfbKVV t/K+nxhIeXROg9vQyoZEHeu6SPbS2ELnwKEKoHzhnIG84wCst7nK+3srO+afnBBZKdOX V+iApEGZ4heZRErPyn7bTJGQNA/YpWShQV+hAhKZFtrO1IpBqh2qxcMTX5gIVPPELZHd ToQSgAgU1nKUaTHTG0NxKl+hlmlMhC1gSi/otgi5a+bpJ/vXzhKKuGy/QPXGmRLy83wD NDLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=142NeoCcx3wHhBUQEiqLvgYqCFhcu9mCRWA11xQEdVg=; b=JjchAK2f53SFFbPmREz/8USQeYMznyyyntobgAqvC3yZThYINIqN1XPFdBKONS/gVH x5LEZ7Rx1L5W6ikUxnUkE+Tm2hIasPSx2nG9ffTLllU+5T/3CnJgxveMfOUWjAMvi8if 7go912rdjmrJH0iUkfCV2Fl9TNzaEJD+G/0PWmgwKdWFtFXwIQdxwAdTFpSig0wPMZSP uBZcK8a8J+0Rq6PvZb8xl+nDXZBiTSls2Lux7FL/+LPkOlQx0lIUB721ZKpXjL6TqkbX rvN1CLmmHIO7zjVgwsEZBv1IfvOrGUJpNoDnvaf5EzEcWtiPsgYTERCzOVXNDwlzm2tn tSBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=nBsz6061; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si2491865ejs.330.2020.09.09.19.13.03; Wed, 09 Sep 2020 19:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=nBsz6061; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730502AbgIJCM1 (ORCPT + 99 others); Wed, 9 Sep 2020 22:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730359AbgIJCDq (ORCPT ); Wed, 9 Sep 2020 22:03:46 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DC7DC0617A4; Wed, 9 Sep 2020 19:02:40 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id b12so4641229edz.11; Wed, 09 Sep 2020 19:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=142NeoCcx3wHhBUQEiqLvgYqCFhcu9mCRWA11xQEdVg=; b=nBsz6061VcS6cYSgt5yHM+R707WWE5ZZd412JS1mVQWo22/CqWZA4jbCYWRRKRySc5 LstyfExbNbtK4mWp/VqaQIk0dnYfPY8Gyv2JmR7CDjI6X5l81dgMIb40FSENPz8VrftB erSBKmbxWGVQJ3/4S7wPVYfmwN/IPSDi5dyvM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=142NeoCcx3wHhBUQEiqLvgYqCFhcu9mCRWA11xQEdVg=; b=LK4y8pH3Yg9eFgjT1zJnjVW0rWdZi82nddP8HNFktXMVPU2mRPIVqa8o1BiL8Zy/kC ApM+9XEL2+BUG5XoPtAOEB+kRZ57TfdvzbTkgWMW27oewpPMAHoOYjFjjWfz//ZErcUW y1NrCoYaOWyI/AYOmEw1sjmdwj4dDdoAx42oNffUmaJtqzmZMolG3JOptnW8OSchDAkR vUVN4IHj4woCdqMmMezhreYLyQWEpQkuu0t0ZB/3mSG07gRf9jF3PbLv6+K6R+p4P90+ QtXqNxFh/AH8bhbAzsDI4/GML/BZQO7I9JZVs89Iuk7xdSMwEK88hmhYFE+Qd4BikfSO JP5Q== X-Gm-Message-State: AOAM530wIHwRt7/CxuqQXpsb6WAMQ+4zqeTHoNClUxfzjccwMoxmp0Ki sHtUaH+e07YwzJ6+EUZT4DnI3Wg70yt0J9UNb3A= X-Received: by 2002:aa7:de03:: with SMTP id h3mr7240898edv.232.1599703358638; Wed, 09 Sep 2020 19:02:38 -0700 (PDT) MIME-Version: 1.0 References: <20200909114312.2863675-1-andrew@aj.id.au> <20200909114312.2863675-4-andrew@aj.id.au> In-Reply-To: <20200909114312.2863675-4-andrew@aj.id.au> From: Joel Stanley Date: Thu, 10 Sep 2020 02:02:26 +0000 Message-ID: Subject: Re: [PATCH 3/3] pinctrl: aspeed-g6: Add bias controls for 1.8V GPIO banks To: Andrew Jeffery Cc: "open list:GPIO SUBSYSTEM" , Linus Walleij , johnny_huang@aspeedtech.com, linux-aspeed , OpenBMC Maillist , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Sep 2020 at 11:43, Andrew Jeffery wrote: > > These were skipped in the original patches adding pinconf support for > the AST2600. > > Cc: Johnny Huang > Signed-off-by: Andrew Jeffery Reviewed-by: Joel Stanley > --- > drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c > index 7efe6dbe4398..34803a6c7664 100644 > --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c > +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c > @@ -19,6 +19,7 @@ > > #define SCU400 0x400 /* Multi-function Pin Control #1 */ > #define SCU404 0x404 /* Multi-function Pin Control #2 */ > +#define SCU40C 0x40C /* Multi-function Pin Control #3 */ > #define SCU410 0x410 /* Multi-function Pin Control #4 */ > #define SCU414 0x414 /* Multi-function Pin Control #5 */ > #define SCU418 0x418 /* Multi-function Pin Control #6 */ > @@ -2591,6 +2592,22 @@ static struct aspeed_pin_config aspeed_g6_configs[] = { > /* MAC4 */ > { PIN_CONFIG_POWER_SOURCE, { F24, B24 }, SCU458, BIT_MASK(5)}, > { PIN_CONFIG_DRIVE_STRENGTH, { F24, B24 }, SCU458, GENMASK(3, 2)}, > + > + /* GPIO18E */ > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_PULL_DOWN, Y1, Y4, SCU40C, 4), > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_DISABLE, Y1, Y4, SCU40C, 4), > + /* GPIO18D */ > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_PULL_DOWN, AB4, AC5, SCU40C, 3), > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_DISABLE, AB4, AC5, SCU40C, 3), > + /* GPIO18C */ > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_PULL_DOWN, E4, E1, SCU40C, 2), > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_DISABLE, E4, E1, SCU40C, 2), > + /* GPIO18B */ > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_PULL_DOWN, B2, D3, SCU40C, 1), > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_DISABLE, B2, D3, SCU40C, 1), > + /* GPIO18A */ > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_PULL_DOWN, C6, A2, SCU40C, 0), > + ASPEED_SB_PINCONF(PIN_CONFIG_BIAS_DISABLE, C6, A2, SCU40C, 0), > }; > > /** > -- > 2.25.1 >