Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3019690rwb; Mon, 7 Aug 2023 07:08:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3IESLul7GCqabY6zX6E0RjjntbOi2f+3yyBF38MhuzV53DnMAlfQzcTgFs0iI8aiizMFp X-Received: by 2002:a17:90a:aa8d:b0:268:7dde:d90d with SMTP id l13-20020a17090aaa8d00b002687dded90dmr6924882pjq.11.1691417319553; Mon, 07 Aug 2023 07:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691417319; cv=none; d=google.com; s=arc-20160816; b=haOSKb4jsR5ameLqSyQWv7DSYDN0wOwYUoOXJ1AWDgmMYDbWS0IzBHQ7v1Ch6fioeG ms/k6/nMqPLIPhluCVg8m8Ueo7gaeXSQLchrXDe4yjswJf3tUBadVYgXgO0ltBx0wXmI DY7PKE66aFYGpbPPu4Ug61ZefU3xDmv0f/7IdJlj5YokAeFBLfOm4yL9YUTJkGV3vI0A Ahf1edvyDGHnEwEM8b3JkjaxbOCXaAphon4t6ENie0WTihKpBGiBjMUbbGjJtzw78iLr 1MLevV2hq1NSxGvIgXs7QWIvPzinNLzwfTObpG7yH/X6OQCNMSqJxcfKnH6z1mx43XfA sFAw== 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=77FFwVNR6VccWA56eXDJXbo5f9GOe5qfBgpPLU1lyeI=; fh=yvzocijnDHbEoF0pST0tlurM/68Q20I6uNXNnPJz3YY=; b=GtkiXjoc87Vt9j8VGS4EftBJo2fPTzTdStQDj9tetm1m+LBIsvl3RHvTSdgTPJ9igw Rsjwegy5lwiWluNRWzWPQacEPmJYn25X/6WGzoM9HVSY07BxDohla9XL/3b0d0soTiUK yqdJea6KMuM4GWuGSfPCPw0Rw7raAs5CRzKlZi5SpFpdx9FhtICb2qDpc8TuHuBg1b+K XW0Ll1wfck37niq2beHQVA4V6FqzdFCi0gjZ2XuLZeoHt1Q5wztnnd5BYa/8r22luaEU Oev6KQnCW9vB1eIWNj8TVPEz6RxxuXEHF3WhFkAaOP2CaJTg9EuQb41q3J1nxUzB6vGY juDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vo3pI61u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ft2-20020a17090b0f8200b002694b59a784si2609535pjb.71.2023.08.07.07.08.26; Mon, 07 Aug 2023 07:08:39 -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=@linaro.org header.s=google header.b=vo3pI61u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231889AbjHGNcw (ORCPT + 99 others); Mon, 7 Aug 2023 09:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231871AbjHGNcv (ORCPT ); Mon, 7 Aug 2023 09:32:51 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 038EB1FE0 for ; Mon, 7 Aug 2023 06:32:32 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5862a6ae535so46675127b3.0 for ; Mon, 07 Aug 2023 06:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691415091; x=1692019891; 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=77FFwVNR6VccWA56eXDJXbo5f9GOe5qfBgpPLU1lyeI=; b=vo3pI61ugEwL+E90t+QyewuSiHEJNVoGpi5eDkheF1WzYk7EPT4hsCZVhWG7VNnGGP 2kRtKNkTlYuQrdLFX7LfGgwUitZSW0StTJRCTUs37XihTdKrIu/fwlvA/ci06v5yCs1R uUywlRG6P9GZWUHrEGGWnHBDYztqtzzOjFfOnAIGrCzfhZrTU0w6GEqYpL13qOtd24zQ 1RlO06m+u+cDMvY83wjCgz8lzdX4WVU6QPfF3oFckpbNQt2N0D50S17MLpOlA9vA1XLi 10R1SmMkh2pHjsuzhbVDWnXx63r0jE7EtoThO4pktENrdl2IXyMN7bPdCSNVoZfCy0Oy v7zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691415091; x=1692019891; 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=77FFwVNR6VccWA56eXDJXbo5f9GOe5qfBgpPLU1lyeI=; b=f5iyR55ncAnuDS7Ty5pMLPd3Q8XwMzsBRVeBZGiF4SiYvfNsi0BYuLqEQ/aoIsqG7/ SeE0sr9T2DFOXZmk1TFuPHOspG7X6AUMy38EYf/mHMEShyMQ+KX48OJcXLk3Omgz81yB N59W/x5DMlje23csDTCS4OfK8L9SObSIEbBkk8PWeNoL/0ocj2OLBA/MrOIVsWxMdKFx lX6AnXXGMQQk9jL5dH4WbKWFCdImKiKz2NugDmGnCmxmDr6Uj2ObzOzWe3uGZKv++NEK J3fa38Cfj5AzpxHgn2+/VefaV/YJp3ARX7PmfwxgzZDooKh4ozs2GiIiCLbcnCOieZEw Bovg== X-Gm-Message-State: AOJu0YxKDj3rZ9PcujsKalQpvuNlWT5kp5xfew9I9UnV909yJiqLkTsh Y1NuHB3t/j9x40O9EP7c9XiXj2m+ibCDPwOYC+Bo0w== X-Received: by 2002:a25:cec8:0:b0:d3a:28bb:2c95 with SMTP id x191-20020a25cec8000000b00d3a28bb2c95mr7392239ybe.22.1691415091461; Mon, 07 Aug 2023 06:31:31 -0700 (PDT) MIME-Version: 1.0 References: <20230727162909.6031-1-duje.mihanovic@skole.hr> <20230727162909.6031-3-duje.mihanovic@skole.hr> <13320053.uLZWGnKmhe@radijator> In-Reply-To: <13320053.uLZWGnKmhe@radijator> From: Linus Walleij Date: Mon, 7 Aug 2023 15:31:19 +0200 Message-ID: Subject: Re: [PATCH v2 2/9] gpio: pxa: use dynamic allocation of base To: =?UTF-8?Q?Duje_Mihanovi=C4=87?= Cc: Andy Shevchenko , Robert Jarzmik , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com 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 On Sun, Jul 30, 2023 at 11:18=E2=80=AFPM Duje Mihanovi=C4=87 wrote: > On Thursday, July 27, 2023 6:40:24 PM CEST Andy Shevchenko wrote: > > > This will break some older PXA boards (such as Spitz) as they still > > > seem to rely on fixed GPIO numbers with gpio_request and such. > > > > So...? Why do you think this patch can be accepted? > > Understandable, I'll drop it. Or you can fix the real issue! This is what I had to do to fix the OMAP, all the way down: 8e0285ab95a9 ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 078dc5194c0a ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors 94075d16beef ARM: omap2: Get USB hub reset GPIO from descriptor d5f4fa60d63a ARM/gpio: Push OMAP2 quirk down into TWL4030 driver c729baa86042 ARM: omap1: Exorcise the legacy GPIO header df89de979f0e ARM: omap1: Make serial wakeup GPIOs use descriptors 084b6f216778 ARM: omap1: Fix up the Nokia 770 board device IRQs e519f0bb64ef ARM/mmc: Convert old mmci-omap to GPIO descriptors 767d83361aaa Input: ads7846 - Convert to use software nodes 480c82daa3e4 ARM: omap1: Remove reliance on GPIO numbers from SX1 4c40db6249ff ARM: omap1: Remove reliance on GPIO numbers from PalmTE fa1ae0cd897b ARM: omap1: Drop header on AMS Delta c32c81f3dbdf ARM/mfd/gpio: Fixup TPS65010 regression on OMAP1 OSK1 a47137a5134b mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver 6efac0173cd1 ARM: OMAP1: OSK: fix ohci-omap breakage 45c5775460f3 usb: ohci-omap: Fix descriptor conversion f3ef38160e3d usb: isp1301-omap: Convert to use GPIO descriptors 15d157e87443 usb: ohci-omap: Convert to use GPIO descriptors e63201f19438 mmc: omap_hsmmc: Delete platform data GPIO CD and WP And maybe some more. Yeah it's tough, but it can be done! Yours, Linus Walleij