Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp32374pxk; Wed, 16 Sep 2020 16:15:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUylIYMzPx7SQ6s8kvHr6EXI4QxAv7paDfswPmu5BdIhcnYFN1hGWJ8BRzCsZN79zgzZ1/ X-Received: by 2002:a05:6402:28d:: with SMTP id l13mr31120432edv.293.1600298134227; Wed, 16 Sep 2020 16:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600298134; cv=none; d=google.com; s=arc-20160816; b=SLjbj6sopWYMl7JPjTInjOC78/EKZ1m1dPdRnCXxRednY4jjczTaRhGt+aZarh9SI1 yAyI433Go2g/oWmPafB2RqnpQUKJRi6SMZH3LP5KTdYIlM9eu/DwSofC6EG6KnSKfNf3 mueHv1J6abGet4ByXekAUEO9Qj/J8Mm/3lwqE3lkTpRTA4pJRcFZbcHD85uABMAtma9k fXYi++lhEd9X6Y99zdLi+4L4C5dZaiTsdhde2jhNZjEM8FM2ikPbMk6NJAU0MuEw0Tc7 CnSpOsqmf29JaJBQv2+DaqkVwwB9Ov17a1X3trRNjqUX54e993PK/wE+kg02R0FOEfjK MDIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=wWsRwlVvP8+43MZ6dwzJ2Fdj/0px7BtUhpq3T6t85KU=; b=FII+C2NbCxkswFwsi6b3keLYh1RyM5O+XguIRe4LVBqRXUYYnFbp8zWuPSx2O+Cj5g XVxjh8SAoRlehcLX7KDcqinEel3ZCvOTUOqw8s7sOGHEPIzGEgIedijPjwUUFzS7m2BX QS6ex+VTvJM0o/iciggLk6N0uvQ2PS+o/9GN9BpNQpZj9CjLKDYwTH9GLkHoriewYtWW +ZF8EJdPwoGVqMVnYKcSzmUhWCfO5bQodlD9WIhLgRFt9Y7pO/6A6qO/hBDvP/V6u1wv 1JpsRG0GletwkvS6DOWdr+GeXc2eYjoIxX+bou9A2LjZjX4lNMZWfol18ugX2W0n37Ut QoXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=gsvTVMUl; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=d0NLfsFY; 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 o60si4711340edd.426.2020.09.16.16.15.11; Wed, 16 Sep 2020 16:15:34 -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=gsvTVMUl; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=d0NLfsFY; 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 S1727217AbgIPXNI (ORCPT + 99 others); Wed, 16 Sep 2020 19:13:08 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45467 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbgIPXMz (ORCPT ); Wed, 16 Sep 2020 19:12:55 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B0FE75C0A37; Wed, 16 Sep 2020 19:12:49 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 19:12:49 -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 :subject:content-type; s=fm3; bh=wWsRwlVvP8+43MZ6dwzJ2Fdj/0px7Bt Uhpq3T6t85KU=; b=gsvTVMUl3GJG8bCr0WIzqog4pLruzE0o4Dawa2TPuJ1t/qx Ren3Xs5Qkpl7qXc4qf34+KXoRLNhrJ9Zcofm8gsyhv+JrxO4yNj4JlTJlcvRCySs /tyC8uQwzmz7olHkRvJm969w6a+j5PG9qcekak2B6lS3M4VIJ7vPv9bi45YabCnF zvT7okIv6bjkxuV+6waXzQPCldibUjPx2NOWXVi1Xjz6JhgzuI7vX3K3ETLqXJoC IoeySVWrHW75AljKifV21TErzU/qzU+KaxwqVi3vSkpAsVUd25ZlyHrLBKygp0mJ 9RXfG7iEyQAaiFrmu/yG3E5y5xwhhC3rXGsPuLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=wWsRwl VvP8+43MZ6dwzJ2Fdj/0px7BtUhpq3T6t85KU=; b=d0NLfsFYhpCurbF8wtJvhY jLZ+YJR2/D2BW81nT5LGL2+zM3VQ0N5eU9cXoRtc6xSNm3EeiLatKpGHUxXIywFs GaETtjGrLqbxhxv+OzHr5pJaTAFub0sCD+GJdr2NdxTDT6jQcNwCbkC9bmyIw0Hi uzKqhnAnFNnnB3lLbaxPaX0EbAHI4G6mtDTQew7aDM3H76FvnmC9p69SiWc/qLcc ArDjMi8DPiF8ldqrpcPaNLJUPAwDHPE//nWqaQ5RDDNog6YJxTwt1QIAJYfv4YBS aOd9FZEdLSwJdQgNlVVG1mfhEUMFPfImmOJtV/cUD989NVnrv5W0BLl6zrU39Ijw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtdefgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtffrrg htthgvrhhnpeehhfefkefgkeduveehffehieehudejfeejveejfedugfefuedtuedvhefh veeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 847BEE00D1; Wed, 16 Sep 2020 19:12:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-324-g0f99587-fm-20200916.004-g0f995879 Mime-Version: 1.0 Message-Id: <60f9f14a-c9be-45ac-b3a8-516ab73d9bee@www.fastmail.com> In-Reply-To: <20200916204216.9423-1-rentao.bupt@gmail.com> References: <20200916204216.9423-1-rentao.bupt@gmail.com> Date: Thu, 17 Sep 2020 08:42:27 +0930 From: "Andrew Jeffery" To: "Tao Ren" , "Linus Walleij" , "Bartosz Golaszewski" , "Joel Stanley" , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, "Tao Ren" Subject: Re: [PATCH] gpio: aspeed: fix ast2600 bank properties Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2020, at 06:12, rentao.bupt@gmail.com wrote: > From: Tao Ren > > GPIO_U is mapped to the least significant byte of input/output mask, and > the byte in "output" mask should be 0 because GPIO_U is input only. All > the other bits need to be 1 because GPIO_V/W/X support both input and > output modes. > > Similarly, GPIO_Y/Z are mapped to the 2 least significant bytes, and the > according bits need to be 1 because GPIO_Y/Z support both input and > output modes. > > Fixes: ab4a85534c3e ("gpio: aspeed: Add in ast2600 details to Aspeed driver") > Signed-off-by: Tao Ren Thanks Tao, Reviewed-by: Andrew Jeffery