From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D4AFC4338F for ; Wed, 11 Aug 2021 15:14:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E399360FA0 for ; Wed, 11 Aug 2021 15:14:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E399360FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bgmoIeBvvdUY183t53IKmsH3SmC+iuoRPWvSTcpUkYI=; b=2q4hNO97jyPZ9W UD4OXS+AhGWK7SU6/TTogiE32u1CvmmuX9/VvV2Tex03hfmfvxDN0ZCOq0DqOzWJLNoZ811c1MBUy 8tafoS5cb94Ct11+1XPAVYxlkxXL68dKUUmcpaxelhgr2Zxs2q6nLUxjbZLRoyR0aGEPN+5qydIdD Hcssb9EthEUecbQ7lc2tMO9dqlq3pPBV1c90f4ITHH+b2w5N4XjnytCtWv9Nk7sXWX1yHo/MdkiSU la8YbvGY5ALn2zafQQX/QCfkAxnoqR15q8ftzCBhHnBU6FNXceIC7HSCebw3614g9oluIZNdaiLb1 rkt3WJ+URiyj4CGbu2Tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDpuG-007WP5-5V; Wed, 11 Aug 2021 15:12:36 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDpu9-007WOR-SR for linux-arm-kernel@lists.infradead.org; Wed, 11 Aug 2021 15:12:33 +0000 Received: by mail-lj1-x232.google.com with SMTP id n7so5262076ljq.0 for ; Wed, 11 Aug 2021 08:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xcci7RbOniWr10zlQhNO9X9j0cPC+wiKIP31/PpgIfA=; b=aBg8VdW5FsdEAePlPJH13bN3EGjKQiYuBEI7QK4LybN3HujK+s4J/53haGtC051uKu u/Ft45mxut7bj9HPFYdlsUlulR71M47lG/HWA1wmt41myYVug2e12sGVofWo34pKTQJP zZA8NRctNZCEmiRrefD+3tP9U4TM/EEA257JrQaNC3P9CN9OHWgyjVCaRelX7jjtNyxT VDbAaTld2VVI/d9pIyWwlBt2oLJePJJ/sQAZ/n65IhOxbWPBKsN8CcHzKi4IcTiR5cmy U31xN+pdX8lyKp9sQ9xAoO20nWHVDQLdOn4+VeHb6Tl3J3mQ2KkdWqCdKuNwC7KhzFBB nEpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xcci7RbOniWr10zlQhNO9X9j0cPC+wiKIP31/PpgIfA=; b=ihqCRdnSv0KG7Lht0cMfsAHjqsOBWGIp36GU6vQaOPLdiDhx1x4e/mvI34zfZEWsGp bPK5Qmt4wm+h9rd96xJim7EZRLaZ4sadH/720BJoXmFwGWyaMmSMnRPfUib8QxoNdWpU D4HJNZOivlX6Ku9IgUuXxSMVo0qfjDdHLbn70QCsAeQHuNi+HMuP8zHtkyDTtSito8gF ycUpkQP69FuxgKpKjjDQ1gl4xxv4rGc4eMnWHx4GzWf6u3kwMXWxEiTYr+bGjBF4BTaz PtCBoWdPZnmU8kZy+rfr9K8LM9sblluu2QRrEw44hErY0PGFbbuG39tjAYcVGfATC0WK SE0Q== X-Gm-Message-State: AOAM532208W+6xqDUdcpTEkOlMhOJzhm2mWijBYUjqbwEDKeWUxJc+3H eBT02ovT9Smqxhg7QHrjLyelhhUDZR24ERVbYVCNow== X-Google-Smtp-Source: ABdhPJx462fjlywiVaui00FxiTLW/TFgPDucoKoZKMXEMDAoyevvbE5UZsTda0Uw4SRiYpRinJx0h99Kju7l4PisMLI= X-Received: by 2002:a2e:a4ab:: with SMTP id g11mr1187108ljm.273.1628694747373; Wed, 11 Aug 2021 08:12:27 -0700 (PDT) MIME-Version: 1.0 References: <20210805174219.3000667-1-piyush.mehta@xilinx.com> <20210805174219.3000667-4-piyush.mehta@xilinx.com> In-Reply-To: <20210805174219.3000667-4-piyush.mehta@xilinx.com> From: Linus Walleij Date: Wed, 11 Aug 2021 17:12:16 +0200 Message-ID: Subject: Re: [PATCH V2 3/3] gpio: modepin: Add driver support for modepin GPIO controller To: Piyush Mehta Cc: Arnd Bergmann , Zou Wei , Greg KH , Michal Simek , wendy.liang@xilinx.com, Nobuhiro Iwamatsu , Bartosz Golaszewski , Rob Herring , rajan.vaja@xilinx.com, "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , git , Srinivas Goud , Linux ARM , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210811_081229_964285_B6E90B0E X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 5, 2021 at 7:43 PM Piyush Mehta wrote: > This patch adds driver support for the zynqmp modepin GPIO controller. > GPIO modepin driver set and get the value and status of the PS_MODE pin, > based on device-tree pin configuration. These four mode pins are > configurable as input/output. The mode pin has a control register, which > have lower four-bits [0:3] are configurable as input/output, next four-bits > can be used for reading the data as input[4:7], and next setting the > output pin state output[8:11]. > > Signed-off-by: Piyush Mehta > --- > Changes in v2: After discussion with Michal: Reviewed-by: Linus Walleij Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel