Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1212483rwd; Tue, 13 Jun 2023 06:25:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UZ+eWJjU3m2nnQLf9lWjLJQDqLKPN9ubqgC2yRn4pj68v28BrTGNUkWbopOcOwzOebeyK X-Received: by 2002:a17:90a:199d:b0:256:cc5e:e55b with SMTP id 29-20020a17090a199d00b00256cc5ee55bmr11509540pji.7.1686662753290; Tue, 13 Jun 2023 06:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686662753; cv=none; d=google.com; s=arc-20160816; b=V8Pzp1OO39jRnQRxLy76rY+JyAKzLHVfwP+4ANvXy5XL3HHAaDzTyKPqMINR9yPnVR fVyZh4BqDVmqCtm9+lUES0ycALGU0YQa1Z7nm08inUuc/s2hnAtbyS/ErL1Hh0okZyQO 46fZmekWL4shnWop0znYvbrEcZpDfY0tNELLmmra0E42VTNTZPjQPjljzciYPMvboAc4 8fO7ErZKj/ybxdwzNa+kXfZ3ky8Wb3arzgXcFnaa5vPcCtX9eADVprrJYyc+DnuU9TKn g+7hRHP5xypgyLTVgKSccIggkOk9bXyEM5v8rQGaHS8ROK+Q9SSRQsSUBu9UMs4cjDfy 94GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=D3Z+ItFPzUzbFHX86oiJubxxWs8lCfc2q//Oe39uutA=; b=OpJAYNRRX/mxEd83MzLq8b58ugZZEvKivlkkS9qOcA1vZmHxiuYDhUU/EQQP9Mb+vl S8fp/LRX/SFW2jXcV+fimTcLH6KnQhX+62F7rJ6C6rdPDAz76mSNa7LXEf50QWP6WFc5 gQlIVRTTZDDr7gjD0rLs+IRayp5mBXX98fZEWqvGCM8hSDwNGMBsbqSmmCrVgGDZawgC MWEGMbTu2GudMCEzXLpk50FQqgUsdEtwVN8wlIY9q6KliOaqsQXIMSNhbrA+TwSbjUKa v5vfSqIVgphc6vZMyv2IkXoZ+bHEeTvNfuSLyWwVNcNv3oOmZsIz4Wxiabf1USdVGONI t73A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="qGW5S/J6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a17090a460400b002597ed3cc4fsi8607421pjg.189.2023.06.13.06.25.41; Tue, 13 Jun 2023 06:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="qGW5S/J6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242449AbjFMMup (ORCPT + 99 others); Tue, 13 Jun 2023 08:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240019AbjFMMun (ORCPT ); Tue, 13 Jun 2023 08:50:43 -0400 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 878961980 for ; Tue, 13 Jun 2023 05:50:41 -0700 (PDT) Received: by mail-vs1-xe2f.google.com with SMTP id ada2fe7eead31-43b3b30bd55so275273137.3 for ; Tue, 13 Jun 2023 05:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1686660640; x=1689252640; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D3Z+ItFPzUzbFHX86oiJubxxWs8lCfc2q//Oe39uutA=; b=qGW5S/J6h4hV6cmYk4/JWcLwir6G2dvWhpVhx0rwX61XLQ7wsQUqz1TsSh12dIkpvi 50WGJQHqQ0016ehpSTZKuYxaY9HYU/KLBpZqeZVZQ+xo4UK6z6yg1XJSM4LCfHle+yn+ AumoQssgCxWCcKu5eyH/J8rru1YEGzVnbbcfD8taOiOVD2wadva6hywBm941uCw5e/nS NaPJlA5zjkkUhsCZgPehj/AuFJe++6BA512mS3UQKkRa0ryIP1f+ItbQI04rT6Jq1WAG I3cPyxC32v6ysC3XITlnYv6wJSqH98QTOvnPjXQ7a9uZnLADlnvklAgOkSb3Dxl15zLn aYxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686660640; x=1689252640; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D3Z+ItFPzUzbFHX86oiJubxxWs8lCfc2q//Oe39uutA=; b=SZgkhQ7z7oKe/czUr++MdzV/XKxu03AfyI1IAF4Jo5mAhytbQglD3KQ/9XjHCYzKvy /VhyB45g/d98Tvz8A8pmhRP/ynQ5eDAOiGRgIIsDWwpky7YZQt/6jpxac3g6BfJNXGPD VfP2ka4XUlQZjkvQnesOnGoL8rKtf0JTw6syiiJ8W4yl+YUmuaCqpYg8asxBg9v/erHl WzK/JwVM6BWgLgi1Mx0IBuid6EN5a9s/a1jJdK/laN+1XG8RDzscWX7BLF2uqVxRXODl Nexkg92EzME7KKGKKvRggiiynuCo+42OfnsTzKNaYl9iyIbtiR5FilMYvndvcH1kOaDN Qt8Q== X-Gm-Message-State: AC+VfDy5tBIf64FsA0KdRsmDUJIRn6CSrlea6YDl/nWfgIMyxV2XL+cA O8RGA41ztcCf5onTRo2gTCgrntDmo0uwDpS8IAU3IQ== X-Received: by 2002:a67:ef96:0:b0:43b:3be2:87e1 with SMTP id r22-20020a67ef96000000b0043b3be287e1mr3649847vsp.23.1686660640621; Tue, 13 Jun 2023 05:50:40 -0700 (PDT) MIME-Version: 1.0 References: <20230511-tps65219-add-gpio-support-v5-0-ebb94281c854@baylibre.com> <20230511-tps65219-add-gpio-support-v5-1-ebb94281c854@baylibre.com> In-Reply-To: <20230511-tps65219-add-gpio-support-v5-1-ebb94281c854@baylibre.com> From: Bartosz Golaszewski Date: Tue, 13 Jun 2023 14:50:29 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] gpio: tps65219: add GPIO support for TPS65219 PMIC To: Jerome Neanne Cc: Linus Walleij , Tony Lindgren , Lee Jones , khilman@baylibre.com, msp@baylibre.com, francesco@dolcini.it, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, Jonathan Cormier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 7, 2023 at 4:39=E2=80=AFPM Jerome Neanne = wrote: > > Add support for TPS65219 PMICs GPIO interface. > > 3 GPIO pins: > - GPIO0 only is IO but input mode reserved for MULTI_DEVICE_ENABLE usage. > - GPIO1 and GPIO2 are Output only and referred as GPO1 and GPO2 in spec. > > GPIO0 is statically configured as input or output prior to Linux boot. > it is used for MULTI_DEVICE_ENABLE function. > This setting is statically configured by NVM. > GPIO0 can't be used as a generic GPIO (specification Table 8-34). > It's either a GPO when MULTI_DEVICE_EN=3D0 or a GPI when MULTI_DEVICE_EN= =3D1. > > Datasheet describes specific usage for non standard GPIO. > > Datasheet: https://www.ti.com/lit/ds/symlink/tps65219.pdf > Co-developed-by: Jonathan Cormier > Signed-off-by: Jonathan Cormier > Reviewed-by: Linus Walleij > Signed-off-by: Jerome Neanne > --- Applied, thanks! Bart