Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26101872rwd; Mon, 3 Jul 2023 05:34:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4KWbckKVgdCBPivPuIMYgNDVkDB5Zt2xEQKNTKPKmN25TX4MRyV6j2ll54i93fPY2fWXh4 X-Received: by 2002:a05:6a21:6d8a:b0:121:f3a2:3a8 with SMTP id wl10-20020a056a216d8a00b00121f3a203a8mr8088441pzb.0.1688387675254; Mon, 03 Jul 2023 05:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688387675; cv=none; d=google.com; s=arc-20160816; b=VgR1BDbgsc1WFMDoAQbnc3DPaEFEZBbPh31A4VlDdp7UCL59eaIwvxCB8MACfBa5fk pK/pt2uVUrHiK3eQSCHg2GMajRhyYhxW6NjnQVjuCpELq8MhCNTF2Y3xQPlmn5CjKh7A MtK+GTf4d8CGMk1nJj40zHF0G2QiOyim3r/HJfHvYy/34L3pOTVoNsHEexec+v8KkLR1 NDaSA/jmHsfQ+z6t0wYJvv7e+BoCVnjYpO+mbTsVKVZViAvhehskrMZeFoVx90bo7u1o mNGZTfD6zIoMrcjBbE3u9632YxGwX3WvN2ofgdF3rmUl2hcx2gmfphbqgbLTH4NzdOzU w/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X9GBKm3wt6dL9Gtttcu/JRxhdqzvbi/8p89J4mxYKKI=; fh=pnZ7JKqo4a1NkH5BtCuwVXjSzsf2RF1cbw2rekbMd8g=; b=Y9ISxJZ43aOxN2M5UR7ai5GReX8y4CHZ+zxylZKS3uov0gBCe2D23H+I9t9CQCKEjc YlU9b8Y/gVHFYsA8QGMSZZ26NqB0ToGQeVBNadMfAuHDnuqy1LEt4Anlgrk/ZwXDGZjk u+h7BvvZ5N7gAqa7p2ucpeeB7YRO0Jp9u2+tX/UhCmiM5VEo64yQzb7eHKomzsZgklu4 nHk4XB7oOa6EbA8XmWSA+X5aPrZgdW7G3XIud4t1qpqaXKL3XZkt6vuHxs7lorC4D89R fwQhv0/tFPFcA1/xg3UQdE+GO1PypCQIU7omIHHtjdAm68BwjxcbkwM9oUqgpLvvG4Yb I1zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YHqJwLJN; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a631d09000000b005576ebe8047si18002704pgd.322.2023.07.03.05.34.22; Mon, 03 Jul 2023 05:34:35 -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=@intel.com header.s=Intel header.b=YHqJwLJN; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbjGCMTJ (ORCPT + 99 others); Mon, 3 Jul 2023 08:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjGCMSy (ORCPT ); Mon, 3 Jul 2023 08:18:54 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 360A8115; Mon, 3 Jul 2023 05:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688386734; x=1719922734; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nKEsI2IZLID9V+jVyPeOLIm09S2eMx6zf5fhOw9OIoI=; b=YHqJwLJNb7/ukpW8F13QnQy/SFTrU5/IKJOttFJScWuHiddB6wlYWFme upzjd9wiy4KI7+2Lgf5nX/LGgKcOxmTb1m0UQJDwdyYRYG6RRx0DaVeoV nvOwQNYX4+Jy5t1OMbBzWXj+ZWFvGkBSE18SQaNTi9jyT8bvgUvMrJ1b8 bt7zX7/DCgnJcP0GBoK72HYozYSokjW+aQm5Qe1wsZ3FAMysm+bEgzJVX F/EYyNY3l8Zwr7XqSC5ryAM6yg5JvsviBfOLOUempaleJUspdPJ5EjZHN lqFNgtwQ3gkK5238EoT4mvB9NKj6Z5SvcsUVYFxMZwkHq626OwtAjrHmE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="343200927" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="343200927" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 05:18:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="831811639" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="831811639" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 03 Jul 2023 05:18:39 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 133B1170; Mon, 3 Jul 2023 15:18:41 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Dmitry Torokhov , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Linus Walleij , Bartosz Golaszewski , Benjamin Tissoires Subject: [PATCH v1 0/3] gpiolib: Avpid modifying GPIO chip fwnode Date: Mon, 3 Jul 2023 15:18:35 +0300 Message-Id: <20230703121838.70898-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Ideally the GPIO chip data structure has to be constant. In real life it's not true, but we can make it closer to that. Hence the series. Benjamin, would be nice it you can perform regression test for your case. Bart, the idea is that this series has to land immediately after v6.5-rc1 is out so we will have longer time to fix any downsides and regressions found, if any. Andy Shevchenko (3): gpiolib: of: Don't use GPIO chip fwnode in of_gpiochip_*() gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() gpiolib: Do not alter GPIO chip fwnode member drivers/gpio/gpiolib-acpi.c | 2 +- drivers/gpio/gpiolib-of.c | 6 +++--- drivers/gpio/gpiolib.c | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) -- 2.40.0.1.gaa8946217a0b