Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6654284ybv; Wed, 12 Feb 2020 16:55:22 -0800 (PST) X-Google-Smtp-Source: APXvYqw/15xkDYxPFcm1fIw+5F53hskM/zvY3hVU2vgC6lC32656zjAKtgMm6s13Y7tTi8/+xHX5 X-Received: by 2002:a05:6830:22ee:: with SMTP id t14mr11301036otc.236.1581555321882; Wed, 12 Feb 2020 16:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581555321; cv=none; d=google.com; s=arc-20160816; b=jqyNGSbRx13qvlM1VeuD9DqT1vTeV2rkIpR3EYfemMwyW3dSq2Gw7RsIImA0KnAE/n sWtrPTwZFpLrUedlDg9RhlU5sSxDArWMBh6unIpkUyQ4LAPfQB6+MRJb2QSZUHgYzvxx G598UJaYbrXMVMwpwhBsxxVRbosJkKkgYjQokI9GtPqRKTLRW/CDkVklN+3TvuBmOw7v iqGhogKxDgSu/4p/OGFc7F8Oatq0zSoRzU4ys1p0DpVWpU7EZ6AIUrvBjvPaDpVPBj5t fVsFMSBNWqqWaOz2Vr0UN7XkNHqj9ENqsYLc88rD34++ERepMHsClPxJn6GJLkoD9Dhv BTeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=kvIcpzMnZDBTrKFTCocK1+6gG8eemWbCo4P6LYqLFvs=; b=g4+7QKMieMo+QN4Y0BoUzpI3hT6wDAED6D13ZBI+AdbxnCcWvoD+UEqRItIkDWWvV/ T+GgMg95s6Y1sb5gfV6a2afWQaMoaDz8H4rhm6Dieo2z7CcRT+TcFz9nMQsTvJGO8Fov zAbGPp75XirATORPN2h5BzU5OowZp50Yu+w3vjEolk84EnRqkdF1pIXKesAb1uM9+pN+ h46HpyFBctAXCCdM8y2r/Wg2s5WJX1nRczOgoaL7E3sMWw9nL6BHrcCTq5mDnJ04+wTF lx/cy200XS35w/xEDgm6AJtSEZxHJe/dvWrE7u3LHoeJeR93DXnNWDQVqFkw8pt97SPS uWgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=UDW8jybL; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=I3yYMJOj; 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 g184si386839oib.162.2020.02.12.16.55.09; Wed, 12 Feb 2020 16:55:21 -0800 (PST) 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=@aj.id.au header.s=fm2 header.b=UDW8jybL; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=I3yYMJOj; 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 S1729375AbgBMAyy (ORCPT + 99 others); Wed, 12 Feb 2020 19:54:54 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:57079 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729190AbgBMAyy (ORCPT ); Wed, 12 Feb 2020 19:54:54 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 967B9EB3; Wed, 12 Feb 2020 19:54:52 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Wed, 12 Feb 2020 19:54:53 -0500 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=kvIcpzMnZDBTrKFTCocK1+6gG8eemWb Co4P6LYqLFvs=; b=UDW8jybLIIdDBBt9Ku/iP0HlGSMGGALp9ncys+sWCqk9rIu z8z14n2X3kds4Jen2mHXJvHiY8wXI57LdB1vdI2Zrf51g7VhVnaVKg/zmxl7FOCk URzgO8f/f7OsRbaxvKjhGN/dLZMKYIH90g83pBr6F6+FYay7MdI3i18K1thyor0S vgitlZFPD5KQ/I7EjW1hylmtElfuZ5UQ23hq8yAjuncEDV99TiDYw7Ka/ScKXOt5 JwgTKrD24wt0ea4VkH6JviGjE7wEX51KbG4WVKUTYftSdmhr4up+zIRSFDf7BvJe SBR6ot6ROmM5+zLXfQo5oSa6zp4N1QqCM7BFM3w== 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=kvIcpz MnZDBTrKFTCocK1+6gG8eemWbCo4P6LYqLFvs=; b=I3yYMJOj1MN3yYFnfM0cx1 RcbLzFg3aKsvsWTCDkMm1yPaly/2WKE4wm5JUWjoGJN8C0Vs+onpJfxwH24AVE8z cgQ+1hMpI8J+BxMoOjlQZ6GgU1cEmw3wLJXZPYBUe+3YDQLyU4/z3H/Y/avphF8V mRKGoylgYXVXn2LGN+Gdt1S45/GlG0jYY8p4RXzLddWoEKskcaLOZmRYmMXxskyE I2TUqIXlUZgEucs3NTxRWJXNWIQrr68EJfF2UzJtdcPHw84Ht1wjksg84wklpVOT 8UCakDbMVO+/SDT3NIhE5bz7aRrqhFPZ+X2s2iEckqJDZVwwgJoHsp9Wx5jG71sQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieejgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucevlhhush htvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghj rdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F3F98E00A2; Wed, 12 Feb 2020 19:54:46 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: <288ba2d7-77dc-40a7-90e8-f2781b3fe067@www.fastmail.com> In-Reply-To: References: <20200206170234.84288-1-geissonator@gmail.com> Date: Thu, 13 Feb 2020 11:24:36 +1030 From: "Andrew Jeffery" To: "Joel Stanley" , "Andrew Geissler" Cc: devicetree , linux-aspeed , "OpenBMC Maillist" , "Linux Kernel Mailing List" , "open list:GPIO SUBSYSTEM" , "Andrew Geissler" , "Linux ARM" Subject: Re: [PATCH v3] ARM: dts: aspeed: witherspoon: Add gpio line names Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Feb 2020, at 12:59, Joel Stanley wrote: > On Thu, 6 Feb 2020 at 17:03, Andrew Geissler wrote: > > > > From: Andrew Geissler > > > > Name the GPIOs to help userspace work with them. The names describe the > > functionality the lines provide, not the net or ball name. This makes it > > easier to share userspace code across different systems and makes the > > use of the lines more obvious. > > > > Signed-off-by: Andrew Geissler > > Reviewed-by: Joel Stanley > > I will wait for Andrew before merging, but this looks good to me. To the best of my knowledge this is the only supported approach. I haven't checked the mapping of gpio lines to functions, but for the concept: Acked-by: Andrew Jeffery Andrew