Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp333474pxb; Wed, 22 Sep 2021 03:19:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZTon0JqBGw7LogS8E2QuNxsT7x+54gebBm6Jjb+9natpImS9KKlXyPhezc7oFSX6Zk0qi X-Received: by 2002:a02:9f83:: with SMTP id a3mr4107689jam.8.1632305980688; Wed, 22 Sep 2021 03:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632305980; cv=none; d=google.com; s=arc-20160816; b=c75pfexJFEp5bEndzLLER6YkiAsmbNBN4fTPYmoC+SghvgSqAr9T4kEcSThl0t8yCK /ftRoORq/fzb+ek/rGTOPsN9RXNzXmWx5csaugCK93NjszBMmrZsE1KltOoQ5eYPEKBZ ydJ++iclcXgLSzHufWtWSJk5/uCgBCZ1g1MQ/wMXlFhXh4a+Jw0dJJ5R/Pi8c/2qXWCO ocFvSGMEb21oZZZ4aaDL5cv/Gj0wJ6aWcveMwOoSjrMLItXsodubaW7E/ZA1axMuhlph vxM46I1SKhI0hNYFJhZ3mMxy4MiHadH52g/5aXLSt0h4+86kupko0qLFS7Y6xlhkPy5s xzjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2E8A06MDifxzY74TxCZz6NPFVVCyFO4WZRfZRmmLzu4=; b=pXGMWP5x+lL0mkca/kHY/LjUg3COUczYmLul/XsExAyUssKnMK7ryWPgVBSpBActok z5EIj2hwkoS0rZdJksTVtzR+24gobEKF5USwkfElDrOILnUSrM8dTIlU8HgtMGxeJw0N dzg3RFCsKjopQyq7SWPHD7YFEHlz2SngXLLeV0Fnz7z68b5naBGIdaqQJYeXmnJhT1KH K1QNbBzl2CJmd9YjstQTYejrLKxaDz6UZxjF2lpq3vJ/l07RSxM8bL+Clu0KDhIcCONk U47mq+U9zXvp2Df/d+89uoSEsZ67+dFbSZMGpFEJ4KjOcn5p7zaAPotuV47IxsX4mXdW 1rkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=mVjg0hti; 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 d4si2385640ilq.4.2021.09.22.03.19.30; Wed, 22 Sep 2021 03:19:40 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=mVjg0hti; 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 S234763AbhIVKUE (ORCPT + 99 others); Wed, 22 Sep 2021 06:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234765AbhIVKTv (ORCPT ); Wed, 22 Sep 2021 06:19:51 -0400 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6E1FC061574 for ; Wed, 22 Sep 2021 03:18:16 -0700 (PDT) Received: by mail-qk1-x729.google.com with SMTP id b65so7462771qkc.13 for ; Wed, 22 Sep 2021 03:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2E8A06MDifxzY74TxCZz6NPFVVCyFO4WZRfZRmmLzu4=; b=mVjg0hti0O+7Jf7d9MrOg2mdnI/WeMF2OC1QbNtyiHC2X2u/EUmHPjOXQOSzdPLY9G t7PpdsQU1BCJuQsIHCkpGZi6YH1q7KlNojarfCmLFWUmLJqdoRrDjcRCqAa53rnEhYZ/ LQPOTMURnTAwWArsoywyr0ghJhPQITvUQWHNNCSVR06w7YJY6Yr2Yg7VYBOpyu4itfM3 ThJQdmVNeBj6Lg8wfYFyGhjXD8yUdMg9oiv3CHYF4vxkI9ALkZJvzoxvmw4zfqepHOmv wuf8gYbbpWlr6quJW+L39fwY7JBH/PcMMD6gizkZwd8ph67R3pHyhLI/jH/wjw4ucu8K Aplg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2E8A06MDifxzY74TxCZz6NPFVVCyFO4WZRfZRmmLzu4=; b=Ex84QchX1xFoLfE1DoWLsIPiQeRf7+nbM5w4/wguJ6mpCTUlzQZUsL0aB+82Fc5oMe 6SaQA60yyC8fKAVjhAjDb6vo5bizLWLUOd7c9T4S67IS+wp4JoEQTxFJk56Vz10Jn47x qWtxDJWDMdL8EqKHwCihDa5i4xv+iS0wCrAWfDKQc6rpIiQz5PNSryf75mrMrZKL0XSE fx6JTPZiBO8YNasB4X8b+1YJBYRSjQqs0omoUiRCaZrINcNSLEgVDM+7acO+GR07u3SR LEPeAi4S9sdzVweKaAXaudEcd1DJHI5Xs6FdLDn9U6anHn7R2xd6s4HkM0hUzpug5sd2 T+EA== X-Gm-Message-State: AOAM531kIQmvLXH+r80Z8R8VliUzuD9CgmDLewlpOoVGhKBx4p0iGl9U 4PMS/czaWbttdaNfEKtbJzhZBCMwJin0Rvabxdk+Qw== X-Received: by 2002:a25:dd46:: with SMTP id u67mr44558799ybg.295.1632305896044; Wed, 22 Sep 2021 03:18:16 -0700 (PDT) MIME-Version: 1.0 References: <20210818081018.2620544-1-piyush.mehta@xilinx.com> <20210818081018.2620544-4-piyush.mehta@xilinx.com> <2286343a-e061-d5bb-b266-6f657cba63e2@xilinx.com> In-Reply-To: <2286343a-e061-d5bb-b266-6f657cba63e2@xilinx.com> From: Bartosz Golaszewski Date: Wed, 22 Sep 2021 12:18:05 +0200 Message-ID: Subject: Re: [PATCH V3 3/3] gpio: modepin: Add driver support for modepin GPIO controller To: Michal Simek Cc: Piyush Mehta , Arnd Bergmann , Zou Wei , Greg KH , Linus Walleij , wendy.liang@xilinx.com, Nobuhiro Iwamatsu , Rob Herring , rajan.vaja@xilinx.com, linux-gpio , linux-devicetree , git , Srinivas Goud , arm-soc , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 10:14 AM Michal Simek wrote: > > Hi Bart, > > On 8/23/21 10:02 AM, Bartosz Golaszewski wrote: > > On Wed, Aug 18, 2021 at 10:11 AM 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 > >> Acked-by: Michal Simek > >> Reviewed-by: Linus Walleij > >> --- > > > > Which tree should this go through? > > I would prefer to go this via gpio tree. > > Thanks, > Michal Sure, just make sure to get an Ack from Rob Herring on the DT bindings. Bart