From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.152 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795527694; b=eQ0taDWAqOIq4OI/RVQKcLmnx7eG44G4EZ/hiBpsrx4cG9QlSDob4jY+VWNcIYKfaWSu DO70g9vbE77W4h542bkKvuAQoWGL1oec/1O4cSDA4gATvDr/Ti3sewLQfZoQVJB0csCMO Vczqd67FRSRzR+yygusG+0t+4QZ9w3SbeoT36vG9/ob4xnaM7r8oDDCU0bOB74TqpyiFC gR0r64kKKU2GDwuOOX7ZCH8Bp+eH444BkwRkHhodNi+S4IDCDHkpfx70qrZ1XR3iUn+mD KI3W2YiDBbXkFJtG5TQRbs/Jrue1hWGNVRa+hzSHTrMUABiyTeohy0vwpHElGrwhZxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795527694; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received:X-Mailer: MIME-Version:X-ThreadId:Date:From:To:Cc:Message-Id:In-Reply-To: References:Subject:Content-Type:Content-Transfer-Encoding; bh=MYQSSMXpf43N4GjSBt3kWRte/PY5hANqQLDIFSaJ1Eg=; b=Quf65p6X+wsEwsNyE024KADjg6w7ALlHMva7KdD5VB4YgFWwOIUQb4grInHo6x0gfWql XVaUAUIv7FK+Q655PTsyucOn//XATX+KKoOgGIxP9kPJGfxImFqjAPM7S+IOhHWoyKf92 aKeMLvws8xuF6UqpNjp+jp4EJ+6GWhX8V+ROQoy71K7zBhMdVbsZ8BagGi3lMNRJ5g9N0 nrnoEJAwyHyFKUt3I0eA2nJCkyQFoWpptieYu1T6bXbdVzJIRnhzCR9F8TXU06gKKMXNH 0Mnh66VnoB1jJ+51BgcCwyxMrnhvlKlMJLB/cl8Zw9vdpdaoL6ikvDk77ElLELp5fSw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b=bCdzYNJh; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=2liMAWO8; arc=none smtp.remote-ip=103.168.172.152 Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09EC5606A321 for ; Tue, 24 Nov 2026 13:41:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 09EC5606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b=bCdzYNJh; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=2liMAWO8 Received: from ams-compute-02.internal (ams-compute-02.internal [10.64.2.62]) by mailfhigh.phl.internal (Postfix) with ESMTP id CF5681400175 for ; Tue, 24 Nov 2026 08:41:32 -0500 (EST) Received: from ams-imap-03 ([10.64.2.23]) by ams-compute-02.internal (MEProxy); Tue, 24 Nov 2026 08:41:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1795527688; x=1795614088; bh=MYQSSMXpf43N4GjSBt3kWRte/PY5hANqQLDIFSaJ1Eg=; b= bCdzYNJhd45eTuhYvQZ+/2L4mKjymmS0Xx1CV1VGBBhogmbm7t6YNC7RcG5mUabV pg08AlynPIdCOSfHv4JUt24OY7uzI6xxNGDPRa962Al1vhODBi4+lnNJlbhlJZuL +i++nKhtzBTxQv4fVrAfdqhiQ1V+BGOyVJRvM0FWCdWviqMaMsgoybtfzStio+zf qOG2z3nYWiwvkwAqKrl4LLvWYWS0K5xkxupoUp/BNTGkEux4NMxw5DZHkzkQfiqB ekxIjDFzCGkh9V6k89EUikgUN+1h4iQtlVUWjJ+/PCrEOZdd1qlNqWldQRQoVzhc lqTKAP6dj6/Yy7cvXzes5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1795527688; x= 1795614088; bh=MYQSSMXpf43N4GjSBt3kWRte/PY5hANqQLDIFSaJ1Eg=; b=2 liMAWO8e1J9B/1m5SVeE789rMOYhdHLRUkzyJukmVu0Jeg4x+GkSzQt2Iks9j3AS 0yr/PhWzM0Y90nHVRa74Q41A/W039/keKwktz2lcbYw2eCXKkmQ41Ih3NzYl6wkU ppQo/mNgOU8wDF9JJIQwlT5MgS+hznopRSeLk2jp3tQ8YYa+aC+kO71D+68WVud7 JxVttExHkuI5uCugOf5PM//StRusCtG4QcOWe/ptR5J/YPUViwGxg0wBn8ZJ460R QjQ451bMNFbvBRYrem5SAzGbtddq1J22LHRLoUryf8slZG3/Dw3JkB2u+ThJBmAx aPsz4bIJ/yXcm3BtunrSA== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=arndb.de a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1795527688; d=arndb.de; mf=PGFybmRAYXJuZGIuZGU+; rt=PGxpbnV4LWdwaW9Admdlci5rZXJuZWwub3JnPg==; s=fm2:rsa-sha256:eedgVOQJdBjF+7NRn5+u6lzHitTVKpmpB5Y0KCJBYYg6IGx y7OvDAJXLRKYZ6ADzVuqFXvixRFeUXzCTCTn58AQ6xaKy+TgjwcZLm5InWyDikBz PDNRkQH48WrM4y8VJ59RokUnK30VgvBnzF4Ld9+7wghzWch7hqKTlS4b8NXgooL1 juSR4SqLxSUmOE9Ivc0Dsl2/oCFFGdgowsonBqbGUHC7YBUNVNah9spnxGAIQ6nN VTY2WbBTwvSTOMdDKEkfRrqvqd3oBJveKEexO0zcieejgFQtSdVDjwoaGo/GQbA4 HLLr5XbI5Hj2hh0h2EbpYztihWhiaXaDLmK6sZQ==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:Rg+l0whB90Vy76Qms2D5dXFhxayudKTo24eXoC4O1Y4=:gJ9gHlBGvHKKl7manrr7WsUalocySKl8lm7VWHrs2OA=; X-ME-Sender: X-ME-Proxy-Cause: dmFkZTF5KWicfu9f3PEW5ht5TCyVa5vyCikQXtMqlDERgcApuayq4QVZa76BwCqwiYPxRC j6RfP3MEgi11aDhGJC+FtnNWjbAHRnkxlCsXIDKUVCGMoMq8ISZ4Pz9y/s9eZLHPlNZXIQ 6xROBcKDVsu8bXhJmRn6krrf8QlhDPCYd/auTUP9QxYgJv/HJMVD2hVD/WIXmUxpyUtY/R JC0G26K1KNyPDbCZ8DtfwDEbGMncW6Q+WBVi6odvhE9w3Uq+9KCr6kX4T5UrH9iNrQ58/u xQAOnJsQX0ZiooSkXsU6KtD0CNQMLDOrsiZYvM1hXYyBO6bn5UeCeddIG/3PSj2UsebbFJ PGPluWC4GO6sdURLcS4SsHqioB7QHCl5yhP9JKd0imuBhSGo4tDsOu5yDJ18YfOEzNAoik EzaEDEEcHAgOmA8R/b1Wido/OCxdvG01jr5i50bcoPZx2fc80AiXjvAs8n1rvHo9UsaFHH HTcKzC30yM6gb2i1zuNedHbAbCSvIro7c0l58N0xlTnFZPnI3yEJCERsm1pzr/ennbeW3L Tjh6vurgIvG3LzsM25h+ZD2J1QSwL+Hurn9OfhVRuTxAT+fVwJhEI538llI+Pkg/ZO1qDX sBsla/EgyXQ/6LOKl96Lr7KQwDz2JOttVchKEqRtpHFMG5Qw3zhOO+x06Jiw X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id 1FE4A32A00A1; Tue, 24 Nov 2026 08:41:24 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ThreadId: AS3EG-ulzzHR Date: Tue, 24 Nov 2026 14:41:03 +0100 From: "Arnd Bergmann" To: "Bartosz Golaszewski" Cc: "Dmitry Torokhov" , "Arnd Bergmann" , "Linus Walleij" , "Johannes Berg" , "John Paul Adrian Glaubitz" , "Kent Gibson" , "Thomas Bogendoerfer" , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-sh@vger.kernel.org, "open list:GPIO SUBSYSTEM" , linux-wireless@vger.kernel.org Message-Id: <7abe46c2-436d-4c19-8c2f-22a55a41f722@app.fastmail.com> In-Reply-To: References: <20261123085723.156933-1-arnd@kernel.org> <8296a5c2-0aa2-4fc7-b65b-9d336bc4dff6@app.fastmail.com> <7dpg3x3gkypkznzhuetjsqmk5fhqwuwkc6kupbs52zqh5mibgx@fjow6eodw4pf> <2f25009cbd67a8ee7b417f12b35374b1@gmail.com> <7e04f3d1-df93-459c-85c5-9e57dc1c3cde@app.fastmail.com> Subject: Re: [PATCH 0/2 v8] gpiolib: finish the legacy cleanup Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, Nov 24, 2026, at 13:44, Bartosz Golaszewski wrote: > On Tue, Nov 24, 2026 at 11:53:40AM +0100, Arnd Bergmann wrote: >> On Tue, Nov 24, 2026, at 02:10, Dmitry Torokhov wrote: >> > Hi Bartosz, >> > >> > On Mon, Nov 23, 2026 at 04:41:32PM +0100, Bartosz Golaszewski wrote: >> >> Can I apply v7 and provide it to the SH maintainers on an immutable >> >> branch? >> > >> > BTW, I have the soc_button_array rework (converting it to software nodes >> > and dropping "select GPIOLIB_LEGACY") on an immutable branch based on >> > v7.4-rc2: >> > >> > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git >> > ib/7.4-rc2-soc-button-array >> >> Nice to see that this is ready. >> >> > I recommend pulling it into the gpio tree before applying Arnd's work so >> > that x86 builds with INPUT_SOC_BUTTON_ARRAY enabled no longer pull in >> > CONFIG_GPIOLIB_LEGACY either. >> >> I don't think the order matters, my patch 1/2 just won't have an >> effect on configurations that enable INPUT_SOC_BUTTON_ARRAY until your >> patch is merged. >> > > I'm not following something, the conflict is with the SH tree, isn't it? I think we were talking about two different issues: a) the sh/rsk7203 conflict is about the header inclusion: to make it build with my patch 2/2, I need to change linux/gpio.h to linux/gpio/legacy.h, while Dmitry series tries to change it to linux/gpio/consumer.h instead of either. It's not a hard problem tbh, just a bit annoying. b) The INPUT_SOC_BUTTON_ARRAY change has nothing to do with my patch 2/2, only with 1/2, as it addresses one of the remaining users of the legacy interface. I hadn't realized that Dmitry's comment was a reply to your question about a). Arnd