Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp307385rdg; Thu, 12 Oct 2023 06:24:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2yloEZlrs47Fwek5eCTPEM4DGUjOJDvIYPxwet/Lo7JLhkcDBKJ2oHr4U5AK8IRL6d0+Q X-Received: by 2002:a05:6a20:549f:b0:14d:9bd1:6361 with SMTP id i31-20020a056a20549f00b0014d9bd16361mr25868459pzk.11.1697117047386; Thu, 12 Oct 2023 06:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697117047; cv=none; d=google.com; s=arc-20160816; b=CG1ZxzcbQoqP9Va6Bm3+ayddqgq2LPOndxqfnnLWWaN8/ReTle92hvD65EyzArntd9 ybcFJVrd4rtbLtL3udycu39p+S8L8mo3zsqFnYdqS8KVmgSsnSp+yx8p9cUNFSSHFvi3 zmHws7VuVmfOyH0bvs8+4G2Tqmg/pKsDj0ZebXb20/Hx9AI7i8SvcvyYGPfWa2EQMe4V nTdnK8GF6ZcMUgqoIEEJZGZjlzceXj4vD+N1vrrKXfW82XqHEzG6/aQUjAl7xAqU6COf hYKxN2KLkyKWzYAH/7BUBSptjKeXQjwDe1ZVqPkScN9HOi5u/E0vcON5KoBmJukXledp 1B2A== 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=evNrH5Tgf4e9CaaWME74cEBjwTst9b6vGfiNIB8lJCE=; fh=JTXrqZ3qVLaZSYAnWAmj2AtYLNYHryJ+/26wAzVxDyA=; b=av0ZXSTGcf5wAjnt5+4Qr12mq9UNMU8rbni06NBVdxnQljp7f7XaItNmI5KO2Olz5f UtIbAKgKBtVUGiV8H3o0K1kVLgl19HyxoJgsdV2HekjzNmxIfPVdCvzzOY0qxMTgSK/Z WK3d1pWlJVvw/mKcgbQUnZSjfvDgt24/HjwBmlrXf6EZxRmG21E1siX9we/hSJlWXV48 MO3tQbFLJ+yXKEXBMjqkb0aaOIrfYGDKknmvpSuOzIMvPIgtgtRUNUIYF7eN+ZA0T8kd YBhvDBUHtJqgE5fsnWOs3WA+HeePfsoyfocS6+t6chcwyGx9+VEcSoU0CJug8uZ0vi5k DubQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=gUyNLnFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id me4-20020a17090b17c400b00276b35bc424si2427722pjb.26.2023.10.12.06.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 06:24:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=gUyNLnFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 437BE82159F3; Thu, 12 Oct 2023 06:24:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347229AbjJLNYA (ORCPT + 99 others); Thu, 12 Oct 2023 09:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378739AbjJLNX6 (ORCPT ); Thu, 12 Oct 2023 09:23:58 -0400 Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD80BE for ; Thu, 12 Oct 2023 06:23:55 -0700 (PDT) Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-7ab9f1efecfso358161241.3 for ; Thu, 12 Oct 2023 06:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697117034; x=1697721834; darn=vger.kernel.org; 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=evNrH5Tgf4e9CaaWME74cEBjwTst9b6vGfiNIB8lJCE=; b=gUyNLnFexrtRhFOdxsREBG/wrSYW1sdzUeFO1xu/8XvVT8kjffjD40SE4cyu4fO8kh kUE6rkeuXwlgfoOO3RZNgnmzdnnCGitg+9iU31Q7M4q1tdOxcE5qhL0yTWcXXPPeuneW 0Gfj3TaeNqN6x5HnPJBK4yy+KP0W91+uc/ObCdQdcVBvj1YDwTWXwaEDf7kaW3PFnjQE 1aBr/Rz9VrNh34sE4CxXbGCjbzOWF9oYNBLZG2zUyEsJ73MQxh5uYBzSL12CjiIqF7ri vlRbnStypQ/9i15ifnoqXS2wxQMRK2kAyk/TpxankwF5n+2TK//2tp+2dqy6EqCW0L0o jD/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697117034; x=1697721834; 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=evNrH5Tgf4e9CaaWME74cEBjwTst9b6vGfiNIB8lJCE=; b=BN07f7FtV5BelsatdRkDLzVaJVTLhFgPPIEQfDUN1433TqZfGHXB+MsXQY/YYF5S2s WoFFfn339mJlIyv67aN2MgbAZzDtfypObrsgZOuAot+V71vJHI28iUv7g6JZ0XTcuS5d dhLTh5fY/4zlcfhtxU9LOLoXeRyt5ARTLSxeyBdVCRV/w+qunC616P+XzKwCER7TQPaF OvFV7vcDkZMBPT0I+dvCU1g9Rl3JE82dxmdvzyuJ9uUxNuourcu2rie0Dp1s/3aNPFil hJ9NJu2dfjDswTUVqy3Hhoo/SWjPmIidzrkz3CtO8jdG3Gs9su7t+FerRPpoZ2yp/9Mb 9RyA== X-Gm-Message-State: AOJu0Yzsd0vlyM5njfMUcTYnb4HYsv11m9ujuoFOk+IkUSIfAtbE36fE 2YZ22Ol7fnKIKKaQRJTDzGBggk7ZGhAEmZv5W01yaw== X-Received: by 2002:a05:6102:2d03:b0:457:6858:af77 with SMTP id ih3-20020a0561022d0300b004576858af77mr14962529vsb.26.1697117034180; Thu, 12 Oct 2023 06:23:54 -0700 (PDT) MIME-Version: 1.0 References: <20231011120830.49324-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Thu, 12 Oct 2023 15:23:43 +0200 Message-ID: Subject: Re: [PATCH v2 00/62] pinctrl: don't use GPIOLIB global numberspace in helpers To: Linus Walleij Cc: Andy Shevchenko , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski 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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 06:24:06 -0700 (PDT) On Thu, Oct 12, 2023 at 9:08=E2=80=AFAM Linus Walleij wrote: > > On Wed, Oct 11, 2023 at 2:09=E2=80=AFPM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > We have a set of pinctrl helpers for GPIOLIB drivers that take a number > > from the global GPIO numberspace as argument. We are trying to get rid > > of this global numbering. Let's rework these helpers to use the > > recommended gpio_chip + controller-relative offset instead. > > > > This work is split into phases: first let's introduce the new variants > > of the helpers. Next: let's convert all users one-by-one for easier > > review. After that let's remove the old helpers and rename the new > > variants to take the place of the old ones. Finally convert static > > functions in pinctrl/core.c to using the same signature and to top it > > off, let's remove now redundant wrappers around the pinctrl_helpers. > > > > This series introduces no functional changes in drivers so I decided to > > not spam every single driver maintainer anymore. > > > > v1 -> v2: > > - drop the conversion to using cleanup.h helpers as this is not the > > subject of this series > > - split the patch renaming the new variants to the old names into > > several patches that perform the operation step by step for easier > > review > > - collect review tags and acks > > - add follow-up patches that drop the wrappers around pinctrl helpers > > where applicable (where all the wrappers do is call the helper) > > - fix build error with PINCTRL disabled > > I tried to apply the series for a test, with the intent to queue this for > v6.7, but there are conflicts toward both v6.6-rc1 and my pin control > devel branch, so I can't. > > Since we are at -rc5 and the kernel looks better after the patches > than before I think they should just be applied and not held back > by minor review nits or process. But i couldn't. > > I'm fine with the series as they are, but it looks like we need to queue > it at v6.7-rc1 for v6.8 or you need to send it to Torvalds after he > merged GPIO and pin control for v6.7, either works for me! > Sounds good, just please make sure to send your pinctrl PR early in the merge window. Thanks, Bartosz