From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 944B02874E6 for ; Tue, 7 Jul 2026 02:25:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783391110; cv=none; b=DguMCXvRNfSaSPQlR4oeII4syc5aRjLGnuYZ040Ai2K5Ozt8jtp9vD/nZvYGLZdsDm6GbapzucmzWxKXSIM6vn/4oqJ93blOYKRbqOH81biYMxY0Bkl3OppVd+6WARku2QHGeCQW3dwOISq6mgdmIelHzGAoOr5Dkn003s0htYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783391110; c=relaxed/simple; bh=2KmZ7Hb3On5nh1GAU6ccvCHBoNxXzKsIit/vgYPVkic=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ItbrGtAPTzWG7GaGrZFp2T07yM7T8bSnHaFMIp6906wAc9lnmoC9wjGYx2/6xAlLzMcWRtvGWDe9ze4gONn3a9C5TQxNODpZpKMqYyjNaV5GVuMwRgnMkI7jxBRFGwJQAXf9QZ0PXMKk83z9P/D16uQuk8Mlfe0B0wLtL+78h2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=n7szU3LS; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="n7szU3LS" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-381018b9375so3750546a91.0 for ; Mon, 06 Jul 2026 19:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783391109; x=1783995909; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=IWwXV2NoQ084hyR/IchuMFSWerplFFVpf5f6Ij6vjU0=; b=n7szU3LS+bhgNJgWgskrhYxfjug4wTGvWS6pWZWrj10H12XKcFhFmU3Et+ChAhmd4Y W8xgQTCdf2q1RxOuNf4MMgTerSGTQSNR3SQdp7pv5p0YkyGMHPMU/onPJA6Xj2M+lKBf hncDXR83ASEMnJLnRB3woWx/ccnfMIbKBhAfh6kPvaZboAKcSrXiqrgWiSn0G0/8JWMm FmrCa1+A7ugbOWIS/bDnv44cOvOb69JAAlCEx7ePexjO62C5OSARwOjBl5tAQnhQacUi XMq1spAZqezMq04lxhv95kg2bfIliKGqXS2DfVKcZx+aJj481FHv03OLh2vEbq/CcFIr tulA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783391109; x=1783995909; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=IWwXV2NoQ084hyR/IchuMFSWerplFFVpf5f6Ij6vjU0=; b=VK9Nta5mS8j/7ROf6Htx5Zsa5BiLcFaJ2XmXV9RNC4gDZjWu1AOC0wpgEjV9mnJ2PY kFW3JWDJnrugXIOhyzh3Q2MuIRPMcfBkhI44+ym9bVycQBJRQ0z4i4cBiYQwB8ZbpJEn rwcMtFLuwK0MFHrPcQTDXolEnY9BOYRkv7l574QJ0FVL6Onvk6wD8FfsF7IkzLHcYYM7 w67g9mr2PECGiGv4iSjDONyWIj0PXI+aJaPpw3dW3knCpb4cSeVIT3z3HAatHEnBPSQE 1Ql0QWgAfstLYO1FCqLGPiptGIEQj5IXf+0ixQOlv48T6BpJc2mDLbKIvEpRFYZZSoPY nsKg== X-Forwarded-Encrypted: i=1; AHgh+RoN9ng5JKWHtV29IqZzKyuw3b4SRMma26NEH5mNGB298FtR1DAfItr7BLYDb9ZYOYDeGsxlsTeIdFQNvqo=@vger.kernel.org X-Gm-Message-State: AOJu0YwlMBJUtOQ4c4JJJCfamMHRCIVehKmdmlweaxd7cmbjyGXsjbuP CQe9nMbCtMwbw0NO7ojlOrwchm12Xwfx5Ae1nmT6hg/8qIlqwqrtGBVM X-Gm-Gg: AfdE7clroK+tiBipcpFiooPPiZADzDmpNR+cWj5DkTM6DArbyhE+GyjowmlzmGiULu/ wuS+gs1bGINWLcab+sslXoWz1gVzCzGcO4FpJbjC2DwvU92w7rWdsN6UM5o2v5W8C53QFAenxv+ 9Gnkiteu2PONSkkLdLj3c8zig8bTFYGQmSu5PfjJgZQNo5kAm+hm0zR3tM28MhjdsLP//EuHpa3 q/Vm/97AiN9b8/gpifyAusr6T//CDyBPt0AXKQyyk5tL5gRY+zValfpNtnzGpvC6gpeIuUzmQOt VxBssL0/elzO99Ht2anCiy6QQGMJRehNEaTakCTqztEhxnr1DMUiu9D/viMstLHTV1bxF3bplHh UrkSpV11P0JVJ/8Vcml+Y76VfM4TyzyQIbP9/Gz3wPetMJF98z4AUX5dj20rdcuWrvxYsQwA5uS NytSnmtRpnmFzsbkmugVf27oYVZbWrYeWZufBP+ENMYmQYSHpeAn76uQ== X-Received: by 2002:a17:90b:2dcd:b0:37f:c683:e643 with SMTP id 98e67ed59e1d1-3875920ccabmr3345962a91.24.1783391108945; Mon, 06 Jul 2026 19:25:08 -0700 (PDT) Received: from google.com ([2a00:79e0:2ebe:8:d89b:1fdd:a8f2:dbeb]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31174a56848sm2378094eec.16.2026.07.06.19.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 19:25:08 -0700 (PDT) Date: Mon, 6 Jul 2026 19:25:04 -0700 From: Dmitry Torokhov To: Arnd Bergmann Cc: linux-gpio@vger.kernel.org, Arnd Bergmann , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Linus Walleij , Bartosz Golaszewski , Lee Jones , Pavel Machek , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH v5 0/6] gpiolib: fence off legacy interfaces Message-ID: References: <20260629130329.1291953-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260629130329.1291953-1-arnd@kernel.org> On Mon, Jun 29, 2026 at 03:03:23PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > This is the remainder of the series previously posted as v2 > in [1]. I've changed the version to v5 for all patches to > not confuse b4 too much, but the patches are mostly unchanged. > > The patch "Input: soc_button_array - select CONFIG_GPIOLIB_LEGACY" > was not part of the series last time, but the build bots reported > this as a regression since I had dropped that since v1. > > I hope that all that remains now can just get merged through the > gpio tree. The gpio-keys patch needs a bit coordination with > another patch addressing the same issue that is already in > flight, so I expect that I'll rebase my series once more when > that is in a stable branch, but the state I have here should > just work as-is on top of v7.2-rc1. > > Arnd > > [1] https://lore.kernel.org/all/20260520183815.2510387-1-arnd@kernel.org/ > > Arnd Bergmann (6): > [v5] sh: select legacy gpiolib interface > [v5] x86/olpc: select GPIOLIB_LEGACY > [v5] Input: soc_button_array - select CONFIG_GPIOLIB_LEGACY > [v5] Input: gpio-keys: make legacy gpiolib optional > [v5] leds: gpio: make legacy gpiolib interface optional > [v5] gpiolib: turn off legacy interface by default > > arch/sh/Kconfig | 1 + > arch/sh/boards/Kconfig | 8 ++++ > arch/sh/boards/mach-highlander/Kconfig | 1 + > arch/sh/boards/mach-rsk/Kconfig | 3 ++ > arch/x86/Kconfig | 1 + > arch/x86/platform/olpc/olpc-xo1-sci.c | 2 +- > drivers/gpio/Kconfig | 9 +++- > drivers/input/keyboard/gpio_keys.c | 9 ++-- > drivers/input/keyboard/gpio_keys_polled.c | 4 +- > drivers/input/misc/Kconfig | 3 ++ > drivers/input/misc/soc_button_array.c | 2 +- Acked-by: Dmitry Torokhov # for input Could this be done as an immutable branch? Thanks. -- Dmitry