Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp218661pxj; Wed, 26 May 2021 21:09:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMFc46z63i1vipY32Cr+i8zJfCDjA8b2TFaErxn92sMisjsLmbd8sElFdt8vNhgxOCrA+W X-Received: by 2002:a17:906:46cc:: with SMTP id k12mr1627014ejs.505.1622088579433; Wed, 26 May 2021 21:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622088579; cv=none; d=google.com; s=arc-20160816; b=WLdd0YIWOfvXzdUzdZbM7Nlm8P2GbQVAmvU2VIWIRuVuZOL2hN8BYPqESwNejXcEK7 p2szomWh9k8sjXu8cNxb6DHo7DUJPHnX/x7Fl/D6aBdZ3JGWdpHDoQPaKCIJq5uXF/f3 m/AuAxLV2UAsw6vFwzQj53Yybbr41/12avAuPbhlfaDSShXarZ026gIoerzQMIO2nNaB OcPHNdJpItqU+91CXleuimgjSB/f38I9iLGSc9OXP6qMWQ3lV1jy4k9Vs2vyWx3XljO1 nSaphLWiaRHGdYw7blpA7qaIvoFuafe1l2uVwaHcqMSfGhlhsItadhfsdJYgQ9p07zlf IZqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=lmqdDMZW8FyiuFZs4ruVwp7a2wtsyeB1LV1r1/4vq/A=; b=Jv0g5gCjxI6COQeI2GVjVn/dkcRh2ivRiz5iz+vLikiaWL+LwtJHNhwUjMA+GettKl bznlgKfshstwygCE1SJFDSFAdWljqVmkiC5f4qMuyF8Mgz9T1YCcja1pyMfJh7FUSsMp URw/iKOOVzfnCgihMIXPYrRGvFJu+87EH2QNfeRnyfgkj3x35e4Oj3R2ev8zS5CYX39K /tG5NH6JDy0z5hhiHMIF6R0ra0AR8aBR1sCqAr6x99IWehhzDezkJtlbn6MlxvALANc9 ibgrtUYNteHRMu4JG/ZDllz9nDi0Ba3UZI45foOkbZ/lwF8MkiAEzBORwU21KpEcij8B gprA== ARC-Authentication-Results: i=1; mx.google.com; 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 b11si907378edz.116.2021.05.26.21.09.16; Wed, 26 May 2021 21:09:39 -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; 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 S229666AbhE0EDb (ORCPT + 99 others); Thu, 27 May 2021 00:03:31 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:43759 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbhE0EDa (ORCPT ); Thu, 27 May 2021 00:03:30 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14R3moGk084120; Thu, 27 May 2021 11:48:50 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from aspeedtech.com (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 May 2021 12:01:53 +0800 Date: Thu, 27 May 2021 12:01:47 +0800 From: Steven Lee To: Andrew Jeffery 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 v1 2/4] ARM: dts: aspeed-g6: Add SGPIO node. Message-ID: <20210527040146.GE9971@aspeedtech.com> References: <20210526094609.14068-1-steven_lee@aspeedtech.com> <20210526094609.14068-3-steven_lee@aspeedtech.com> <69b31043-957c-40af-9ab9-6bcc63ccdc85@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <69b31043-957c-40af-9ab9-6bcc63ccdc85@www.fastmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 14R3moGk084120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 05/27/2021 09:27, Andrew Jeffery wrote: > Hi Steven, > > On Wed, 26 May 2021, at 19:16, Steven Lee wrote: > > AST2600 supports 2 SGPIO master interfaces one with 128 pins another one > > with 80 pins. > > Is there any chance the serial GPIO controllers can be explicitly > listed in the Memory Space Allocation Table of the datasheet? Currently > they're covered by the entry for "GPIO Controller (Parallel GPIO)" > which is listed as ranging from 0x1e780000-0x1e7807ff. > I've forwarded your suggestion to designers. Per the discussion with designers, they may change the GPIO controller description of Memory Space Allocation Table to "GPIO Controller (including Parallel and Serial GPIO)". > Admittedly the details are listed in chapter 41 for the GPIO > Controller, but it would be handy to not have to dig. > > > > > Signed-off-by: Steven Lee > > --- > > arch/arm/boot/dts/aspeed-g6.dtsi | 32 ++++++++++++++++++++++++++++++++ > > 1 file changed, 32 insertions(+) > > > > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi > > index f96607b7b4e2..556ce9535c22 100644 > > --- a/arch/arm/boot/dts/aspeed-g6.dtsi > > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi > > @@ -377,6 +377,38 @@ > > #interrupt-cells = <2>; > > }; > > > > + sgpiom0: sgpiom@1e780500 { > > + #gpio-cells = <2>; > > + gpio-controller; > > + compatible = "aspeed,ast2600-sgpiom"; > > + reg = <0x1e780500 0x100>; > > + interrupts = ; > > + max-ngpios = <128>; > > I need to think more about this one. > > Andrew