Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp157213pxj; Wed, 26 May 2021 19:05:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+YylzuyAwca8CX91zGQr7P8/n9yonCGxAHpfky+cOg0wlvmdsQua+wTA8Jhmkpmasw84v X-Received: by 2002:aa7:c9ce:: with SMTP id i14mr1363942edt.148.1622081104797; Wed, 26 May 2021 19:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622081104; cv=none; d=google.com; s=arc-20160816; b=xqXhpto3LuGNjf+nDmj+9L9NFon18y42bXgtA1oarro7IBgymySWVIXML8ypRKRNs0 6aNHwf3IQUpSORwsaVPAl5CJdtITsOO7uUKDu1+XM2AK8Oef+NM4/KX97bYNK5YyfHbr mfZsjKO/DaEn7rvpXOeAZS9tjkfw44n7Oe3YGCQ/aKoZ1eukzOFf2v7A7ay/amAUZUq6 K7k74LErHzBec9Yug5sx6ztvNMcjRV/1uWgqhGblUvLzTOWcQZvSFuea7BLEJOwVuZpx YXFs7Q058gorAjV5q4AmGSl0r+H4HOjD41VZR4H678ln6+meog9EAvz+ckla7vQdn0NQ hNkA== 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=QugCToE2oD/Akw5181hdEz10jkbZriJ+fq6eWbXxrco=; b=DByKhDiqXgrH6E4xusPglUHdBFjFnUeU2AsRIP4yb7/Ft8CvpzCP43iC1agWUqfadL ZFfM6DCt5SsDPZ6NL2OdqWmgQXK1nnL77KqrwD5moDRDOC3zwLiN8bevQkstTT2e+1q4 P/nhTe24YGqe/AdjuV6VYg5AXqJ15PiqaZeov5+8TZ5zl8oXuDLppwvPufPFKVs7K5y1 T12PZfUekGgkoiUJf09Si+pHR7X2mVfm3DG0CI/Zi2IeoORpDrUgMNcUDej5GE9AB53N GZnP791KPEXF3IWSll4sO1Nw2De29qRzacHY6z191A1Bj3975YWeuYY2WFSz+BXuqaeO a8VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=ShbfusHb; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=O57hhZ27; 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 g18si694625edt.478.2021.05.26.19.04.41; Wed, 26 May 2021 19:05:04 -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=fm2 header.b=ShbfusHb; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=O57hhZ27; 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 S234476AbhE0B37 (ORCPT + 99 others); Wed, 26 May 2021 21:29:59 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:55313 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232861AbhE0B36 (ORCPT ); Wed, 26 May 2021 21:29:58 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id CC55C5805E5; Wed, 26 May 2021 21:28:25 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Wed, 26 May 2021 21:28:25 -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=fm2; bh=QugCToE2oD/Akw5181hdEz10jkbZriJ +fq6eWbXxrco=; b=ShbfusHb2jQRdrZ4WtIJPdk34pieGO5nJI88/AnOM1NrEXH mxxVr739gJoOcnpgcIfvGpavhJ/rzH5ynFWmziD7Sdd9QEM60CPQUyjthUscd+Ao g5WJHjn6UVVrks0qs9h75p03IhEKNRhQBJ0zw8tRsbazhaNPG1ZwSVefr7WRPzAW ZkcOtX4oAIa/YJEm+VlRkaMtu12mZ+XDUXgUeUdzMWVp8Qudidqs96dHp7wbqfEG +mg7nDDE6CUP16N1GN9fjteKN0LKbEF1UM55izrJ0MWAOFDmMza5gjQm7BPkaOIz 7WxeK756xHVS3X9Z4A4UYzMXy+gvOiahEztNz0w== 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=fm2; bh=QugCTo E2oD/Akw5181hdEz10jkbZriJ+fq6eWbXxrco=; b=O57hhZ27gBq5/8Pf+kfZwf jyReChV75Usqb3IXGA4x7xP0PjN8Pam0CeyWMpwQpfx4VVh3ImlSE8SscUfxL0lJ y3lhjSqS4O8Pk1m3zOZfvACCp7teGQzQcFl6QvRGaV5TVoMO2oXJnh20dhuRG8WZ 71DlFvD5NyQm/KtqrB1FA/MRnFFEcOYxzi5aOcGy2Wot8fWYBaMcgRL01usYPPEP H7fBf+LKAZD71mnTOogNJ/1J3B4qWkBgQnRzLX46S55WOj/AnWI6S1lYhUqCl6YD g1GkfnW5JmVq5e01VQLU8nXHQJrgdcliH852k2RN4gRrW4MvGiF1qwFIBliHJrSQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekgedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhephefhfeekgfekudevheffheeihedujeefjeevjeefudfgfeeutdeuvdeh hfevueffnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7D234A00079; Wed, 26 May 2021 21:28:24 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b Mime-Version: 1.0 Message-Id: <69b31043-957c-40af-9ab9-6bcc63ccdc85@www.fastmail.com> In-Reply-To: <20210526094609.14068-3-steven_lee@aspeedtech.com> References: <20210526094609.14068-1-steven_lee@aspeedtech.com> <20210526094609.14068-3-steven_lee@aspeedtech.com> Date: Thu, 27 May 2021 10:57:43 +0930 From: "Andrew Jeffery" To: "Steven Lee" , "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" Cc: "Hongwei Zhang" , "Ryan Chen" , "Billy Tsai" Subject: Re: [PATCH v1 2/4] ARM: dts: aspeed-g6: Add SGPIO node. Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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