Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp916751pxk; Thu, 17 Sep 2020 21:23:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy83APtavhh86qnNs3XmmFWc29K7wpgwD53VmLP3bwd3zyBS3nBESaXUVElXwv1PQiPWRy+ X-Received: by 2002:a50:ee15:: with SMTP id g21mr37010621eds.47.1600402984710; Thu, 17 Sep 2020 21:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600402984; cv=none; d=google.com; s=arc-20160816; b=0/z+zzGz+ZezKXdykvFvWiAFsyMSP2w8Zi6hizvfo0+mTS6l3yv4q0AWOlanGLsUDd WofTxXgOLpTMthnCp5Y9gqMDQc6/4Rk68GfEAIKmrxilM54NNgYSg3UQ7BjuEOZr3q2S +9A7KrjxtKeCkITHllfXRNmU3NJCTLDQAZJFBdzAgW9q4GSksHLZbo7rpBs/jn6xm9bV Pb8dJ0drLe9MCklropuSrzaDygCV4ExJLn4nINN3DTWHdP6VKnoS2SBbCYk/IG+telX3 9oN+rzcxefw3bQPsKUNPfhFxoSlx4cLDdNj9D6cC362wEahmRx1Vn7N2Z+dLTelkAlsa GhMQ== 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 :dkim-signature; bh=uf0XaWxmSBWPs5Ykw52VMS2PajAcQCq1xNqnxZFMyic=; b=ImJCCGq9QX7t+BWgtKqJ8Nm478M49Ux07N20A4W+FcBKLA/ht2JC54XRo7xDcWvkPE iuwvkWRx+BGtuzccnS9igAMBuOjbjFlzNZIs/QX7et6UvueMdM3SFHCAuhNdm/q6Duay F3I7jE+Y/+T0uhTOHYWgC44hRpDifSQVeKdkubAHV6/mvhEshYtEdTYEOFveE5vBzX8R U6b/07EiYrosEuqrPYE327xPrvojGxYUBqtQ14Yc595uW4AjakzL+RFUZ6yVLKbhzLnk w6iN4oX91pa3tFuxsET6aCHsGqH2CSCKr8azVs3AqwvVqwp6qKB+VMfccy1K/fu9RPmE CJqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jmFM5Hk0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y22si1276571edm.265.2020.09.17.21.22.40; Thu, 17 Sep 2020 21:23: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=@gmail.com header.s=20161025 header.b=jmFM5Hk0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbgIRETH (ORCPT + 99 others); Fri, 18 Sep 2020 00:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgIRETH (ORCPT ); Fri, 18 Sep 2020 00:19:07 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A73BC06174A; Thu, 17 Sep 2020 21:19:07 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id c3so2301137plz.5; Thu, 17 Sep 2020 21:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=uf0XaWxmSBWPs5Ykw52VMS2PajAcQCq1xNqnxZFMyic=; b=jmFM5Hk0uI1NV5zSmzm/rM5GMZnWpZNWRRVoGKaPVl9lvOS2eCjrtzS+6z8u19qAgd sDTmAtyKcKBy06InOtgbTb4X4PyMhqiMocmFrX0qvXPVrm1krkpyMVj2Rc099XEYRg8a 8tDLZ4PQsuimizomOQJRZ2C5l4UWsPY35hg3IB5pzLWkR+OXNmwx48yAtPQ1HJa3jURB QZJBfzF971iHAG1Y5/v1cd2O3WvfuUzK7qRBVCPlj0aJJpcyj8D7x8hJqdLHOtVy7Ns3 p2ksQWCSyqxpTv2Emz4KefLL+HH9ZIIr7refP2C/I9oBemQPvmiCj1yskQYAb27T6svY E6hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=uf0XaWxmSBWPs5Ykw52VMS2PajAcQCq1xNqnxZFMyic=; b=M/fargzO8ckqYGK7PGnVMQHAbEfUb0smdmGMqIehSZor1B9G3sIyV609RmYWJJiqGw D/kHuTue27Q/bYVQp0iPtuT4xiDysCfXFE8wpRcWZYHBd25cToe3oM4sDK1/i2X0AIq4 h25OLeKm4ayGYnJ/0lzTCp5kAHdtL9HjgOGAL4v9yVIEjyPIvZzpjORjk2pnGJckvSQz zxmkLbZAoyDdIiQTun6qv5/Hty3jvQ0xZGwqadgb54KtPIvgh38gWAdGXtJhd9Dw3wz5 qVHqzNKLn3BoGluk09MkruNV5d1tJw13caHx6MJui89EPr/EaxDnkKDzJ+aYBqHPkM+b bfJA== X-Gm-Message-State: AOAM532c40m90lIqzh+xkBM+E/GJvr+ErGHFyBYjLHePdFcHRqwPWwC2 lA1pMYFNjr1gGjuEEB8F/9Y= X-Received: by 2002:a17:902:c40c:b029:d1:9bc8:1624 with SMTP id k12-20020a170902c40cb02900d19bc81624mr30237552plk.1.1600402746335; Thu, 17 Sep 2020 21:19:06 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91 (c-73-252-146-110.hsd1.ca.comcast.net. [73.252.146.110]) by smtp.gmail.com with ESMTPSA id c24sm1326854pfd.24.2020.09.17.21.19.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Sep 2020 21:19:05 -0700 (PDT) Date: Thu, 17 Sep 2020 21:18:59 -0700 From: Tao Ren To: Andrew Jeffery Cc: 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 Message-ID: <20200918041858.GA14246@taoren-ubuntu-R90MNF91> References: <20200916204216.9423-1-rentao.bupt@gmail.com> <60f9f14a-c9be-45ac-b3a8-516ab73d9bee@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60f9f14a-c9be-45ac-b3a8-516ab73d9bee@www.fastmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 08:42:27AM +0930, Andrew Jeffery wrote: > > > 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 Thanks Andrew for the quick review. Cheers, Tao