Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4927006pxj; Wed, 9 Jun 2021 05:26:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNhor5Faskh2J+VdflbOuanPz9piMhYd7O2up6bBarTVdLnlEXSN+5YatA3KHhzfnk/h7V X-Received: by 2002:a17:906:9512:: with SMTP id u18mr28415177ejx.61.1623241590776; Wed, 09 Jun 2021 05:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623241590; cv=none; d=google.com; s=arc-20160816; b=QKwVIHcB6otruVSiGbpOQ8Vnb0H+lgQLCHJ2oxiNPhfFOX9a/vSLFVycFt7VPaMl/o zndgPO8AcLthSpx1HDZGHIZDONrM3yTU2fnl9N5eEj5116lFb1J/RHfIT23/JZgP46Q2 8ULjLF7w8VO8GkunNcGZtbu3BzePTUN0+k1ahvrUlwEggMg2BPUn8H5lxG/fGSoU4Fb4 q/8WCjhGrx/BJDK4Rpt+ONNUHoUEQuj7cpJk6D+MeGtPJqL6RqLIbV3svuLFf4k9OlB2 LHyM9fFzLBqZAnc//7GZZj0wdO4WpUZwVHT0tY0eujbUUx3H8U9k7niQkvfx4RVlRcWS preg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=yH98+tNlIue48V44BR5OWi6dPgDhJ1+sn8VoeLxfTG8=; b=dFw3qKO03/XQdT5OzrRHa4sUon+ZsQnjIL8Lxxfo7fZIsfB+TtKDUAG9SZaYzyzPIX ciXNEnI9sEtl1ju9/uk/swZ+UeBychgBUGquDlBvgot8aPpnsr8VqMKnep98dSKk4VBW yoX1064vrrF5bACOds5C4j8mHXNMiMJ9+WKWIPXZ+eT3c5FeF+hOIi6ZItWbOVO5SsJ4 B9sqW1yHtgSUwTBcbcPOaokLaBASfg//CCfu6G6ycDe5T210h72x7z5ipwF/P9Br32ee 956etbeMyNjhPRZOQBNwqkIGpUh8HR/9Xy4mbdJ6xKmDBZe3BvtKZewcrDwKKul9WTs2 aPYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=MFtMabRe; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=qI70lI+9; 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 x9si2516805eje.656.2021.06.09.05.26.07; Wed, 09 Jun 2021 05:26:30 -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=@aj.id.au header.s=fm3 header.b=MFtMabRe; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=qI70lI+9; 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 S233698AbhFICWI (ORCPT + 99 others); Tue, 8 Jun 2021 22:22:08 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:56589 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbhFICWI (ORCPT ); Tue, 8 Jun 2021 22:22:08 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id A80FA58098A; Tue, 8 Jun 2021 22:20:13 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute2.internal (MEProxy); Tue, 08 Jun 2021 22:20:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=yH98+tNlIue48V44BR5OWi6dPgDhJ1+ sn8VoeLxfTG8=; b=MFtMabReIFKKmhNs842SgEuQe6DsqwSSjss6SAfI3hbwN6S 6e/2QYt0gVU4ImuAWHCGa9oEVSv3dR76B/7yl6c9MOvSzvww/kFCWLzhpyOZpJiy nGYNo5QAd6sb6Rp9K6kwXSuHVu4MGtuL7/wjbvEsHSfzTCzgOWgZhXKJhkGS1YQU Utuli6ZFTVbCFuWVQ6yvJr7VW3vFIeuocP3KKpSOzVNJHKUqhapGg6pQ+4blhCl7 IvC2QDKsW1X8mrM39ZCCT0dRdyxm+zzyED8Dvlowy4ws13RLjFPDwIHOGLklEg4t 7pyUoJyGp7uzeWrvh+1z8JUanusMbdcFBtNCSGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=yH98+t NlIue48V44BR5OWi6dPgDhJ1+sn8VoeLxfTG8=; b=qI70lI+9H17C6FSTbT8Vod cyrEHwqdUKOamlcxpTzyLF77Mg1KjiIwXDlw0td4kwfN5/iFSiwSueeXWlxukMXt mtlqEg6WbOkPQFGdB22GWD8zUckdqDnxgBP+7sln3MbgZylmN0DU4gvZ9hdGVr3i x31fDLWLa/7P4jrOm86F5pnhtwNkzd56VyoWtKJ+xVehfFiw3OXwDuQXX92MTexV 4zF3YtF8rnuxI/x/Pqb97U18QDu1t1LtObhAj6ok2CJfuIGrlLFN0AA0aAcvSMbA WRCpEbtxJz7osbScySX1vsgrVE0pE2uLwkp6ukAbM04prQZPjRwTZoAj58L+0m9Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedutddghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhephefhfeekgfekudevheffheeihedujeefjeevjeefudfgfeeutdeuvdeh hfevueffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9331DAC0064; Tue, 8 Jun 2021 22:20:11 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-519-g27a961944e-fm-20210531.001-g27a96194 Mime-Version: 1.0 Message-Id: <1a15de23-4e02-45cc-aadd-088319244798@www.fastmail.com> In-Reply-To: <20210609015148.GA14839@aspeedtech.com> References: <20210608102547.4880-1-steven_lee@aspeedtech.com> <20210608102547.4880-4-steven_lee@aspeedtech.com> <20210609015148.GA14839@aspeedtech.com> Date: Wed, 09 Jun 2021 11:49:50 +0930 From: "Andrew Jeffery" To: "Steven Lee" Cc: "Linus Walleij" , "Bartosz Golaszewski" , "Rob Herring" , "Joel Stanley" , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "open list" , "Hongwei Zhang" , "Ryan Chen" , "Billy Tsai" Subject: Re: [PATCH v5 03/10] ARM: dts: aspeed-g6: Add SGPIO node. Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Jun 2021, at 11:21, Steven Lee wrote: > The 06/09/2021 08:43, Andrew Jeffery wrote: > > > > > > On Tue, 8 Jun 2021, at 19:55, Steven Lee wrote: > > > AST2600 supports 2 SGPIO master interfaces one with 128 pins another one > > > with 80 pins. > > > > > > Signed-off-by: Steven Lee > > > --- > > > arch/arm/boot/dts/aspeed-g6.dtsi | 28 ++++++++++++++++++++++++++++ > > > 1 file changed, 28 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi > > > index f96607b7b4e2..c55baaf94314 100644 > > > --- a/arch/arm/boot/dts/aspeed-g6.dtsi > > > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi > > > @@ -377,6 +377,34 @@ > > > #interrupt-cells = <2>; > > > }; > > > > > > + sgpiom0: sgpiom@1e780500 { > > > + #gpio-cells = <2>; > > > + gpio-controller; > > > + compatible = "aspeed,ast2600-sgpiom-128"; > > > + reg = <0x1e780500 0x100>; > > > + interrupts = ; > > > + clocks = <&syscon ASPEED_CLK_APB2>; > > > > The example in the binding document used ASPEED_CLK_APB. Which is correct? I assume ASPEED_CLK_APB2? > > > > The example in the binding document is for aspeed-g5. > aspeed-g5 and aspeed-g6 use different clocks. > Should I add a new patch for adding an example for aspeed-g6? > Oh, I missed that. Never mind then! Reviewed-by: Andrew Jeffery