Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp123704rdg; Thu, 12 Oct 2023 00:08:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjtQx7dyDNwxLDiD/BNSpyXeKeSSzyGu3QtJUucObOCeFHA7rjKqoJMvWDJhWhkVbXNqXE X-Received: by 2002:a05:6a00:24d5:b0:68c:6a77:4845 with SMTP id d21-20020a056a0024d500b0068c6a774845mr28706171pfv.12.1697094503754; Thu, 12 Oct 2023 00:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697094503; cv=none; d=google.com; s=arc-20160816; b=MjoRtj/8y+H2lIJzlWQESgCzDnSdjlwJofOlcPi/6Pan5x94RrBGCF9y8vOtQcq/y5 VaXozUM2pFc5QGBgICcd0Oo2xVA56Vfs+jGn1wPLEA5FZXTMMdc0HUBq0264sRioJVcx /UKPxHtOeJ6/qwgrEUSD85XuZ7qCZkbBAA+SwcTKoByCQSOZGHuP5VptT/ZSnIcCXEx4 o2H7mJEsJeJ981eAKL9tjJrzPmgeeieTSWw0TV9cAjlETlRJGYF1616Q4Yb/QBELrgHX vNUARuQLGc5JmodVlFl5roZhtyRLZEfIVyQfLDgmWnrW2+9uYTYu5GxhWvzVPJXr6W00 k6ww== 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=6LTG7rNkCjAldArlcZN368ICgAdW72qceKrtpj1A5s4=; fh=ONdj0wNu4I7HSoWBWTj+Ki+C4swVHv639Q5QckxTZBk=; b=FpHIyNq2SLlGZyQA+FBKSV1d9PXnV+NfBv+8L+vqh2Cyoa7wcUtEiBWL9Jbol4oepZ DpGnVevxeeZmGVxBjA45nTU040RC7Foh80f/bOPq4ETXe+THBYirWi6v8DHjqQIp1/g9 nBeJg+66as8aW/as5kyhAMwxi6gMAwWSPMc71rpjrmP7iJrFi05fAZhq7xv5yZeQ+DCv SDJjPMlUNMFikgxt25w8NhXTTby/CNrxoYhBQZQIdADLQen2rVzgy2w8ScPdryRUR53Y Rsd1XxP51XpzjVoJ++Ch+DDBRmAUDCVt8mbADfa4Jfwnub0rbvWmHYNHCw24goT5mDxC pRDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=avfRZJQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b21-20020a056a0002d500b0068fc7ab1fd5si13018384pft.269.2023.10.12.00.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 00:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=avfRZJQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CF2EB82159D2; Thu, 12 Oct 2023 00:08:22 -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 S231828AbjJLHIS (ORCPT + 99 others); Thu, 12 Oct 2023 03:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347095AbjJLHIP (ORCPT ); Thu, 12 Oct 2023 03:08:15 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B9BFD3 for ; Thu, 12 Oct 2023 00:08:13 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-5a7c08b7744so8019267b3.3 for ; Thu, 12 Oct 2023 00:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697094492; x=1697699292; 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=6LTG7rNkCjAldArlcZN368ICgAdW72qceKrtpj1A5s4=; b=avfRZJQyUwTV9M23oMiRV366w+lCVnMYuxJnG7CKdORhxbsdYAhZ4CIyCS0IozPRTm tZwDVuZ3TuREv0/qW4ylOUjK3KvcVbCVGtSkfyogvkfsaOZPMdkfP2jikuw2GuaJuuM5 DhLkBhdSe9lNOtrhN1wFCUDDOLftVM/gZ2Gvc/AykX7B8jlO0zTuxH5QsDTtFViaqcwq WCAsAq5YD2rjKn5+Rc6dOSxb+p0MdtX4wT+/Xs8FeKLF38Xlvdl3oDS6Z+28ybM0XvXP bsJadwXedeeGFI1DyX0Q/OF+260PlRwSIckuS0bfiIUA9N8qLjgC9Gm/4YSUubz+nu2w xJqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697094492; x=1697699292; 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=6LTG7rNkCjAldArlcZN368ICgAdW72qceKrtpj1A5s4=; b=uYlOa0n8lNdcNVyKHfoUyPFDOVyzN29uhA4Ebgndz8hQZnzhdVOEudreIb/NeVnz0V nuSD89Qc7Y20Y9a+f9i0VGhXewuH7TUY5V+Wy/iutjgsRSAEQRe9GskBJGc8WDueCBLu RCzFkrzn0LPVP8usck5A47Jy1ItIxck1Cys3WBoJezeXZfTcVDVlSCCV7c81aQR5zop+ RLfDsvoXUjMM1QUgSZ60nvfnM3PGAjpX1oCygavYcb1Sv/1PzrL9TsoYPtr0wdNTIt/v TUGa4HaR4tAw++3LKQ3aBP/6sVg74bt/nfOJSewfN1bFMYGtU2BK8crLIYFyIPddB9qp C2rg== X-Gm-Message-State: AOJu0YzY0jIYoFQGeO7JW7IJpqyv9hZ+fMxUMeJjvEGi7DkqdM6oyAXz VMyHuYqzUZiPCRYxOV0VSl/ReiZNp/rI7MiHvXmHlQ== X-Received: by 2002:a81:8647:0:b0:595:89b0:6b56 with SMTP id w68-20020a818647000000b0059589b06b56mr25953031ywf.28.1697094492613; Thu, 12 Oct 2023 00:08:12 -0700 (PDT) MIME-Version: 1.0 References: <20231011120830.49324-1-brgl@bgdev.pl> In-Reply-To: <20231011120830.49324-1-brgl@bgdev.pl> From: Linus Walleij Date: Thu, 12 Oct 2023 09:08:01 +0200 Message-ID: Subject: Re: [PATCH v2 00/62] pinctrl: don't use GPIOLIB global numberspace in helpers To: Bartosz Golaszewski 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 00:08:22 -0700 (PDT) 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! Yours, Linus Walleij