From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (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 93BA21ABED9 for ; Tue, 7 Jul 2026 02:25:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783391110; cv=none; b=D5QbyGHuNbIw5nTAi6iMmLWpvAfnh76iSn4FQL6h0x1ZWQW5Rvi+Wqzaf+7Lg2B3ogJu1TK64VYfkFa57I3cZHXbfHL5v9Wb6f87nVAjyTQb/VUOW6f+RmFwwG4BHFFVXMEnag/AeUsiGLLcL+G+wZONYo7CT+So4qtmrJ6XTfw= 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.47 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-f47.google.com with SMTP id 98e67ed59e1d1-381018b9375so3750539a91.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=ei/qVLs0e9nc6AVRHKeSywN3DUniv1jiIBYPY9ePyyN5LpMsuAPFW3VgiB2FlXklax J1OfRPtb29LMjb1fFxv4aKmAuQkT2Q+eCM5ZT1S9DuqsFYizMgTd+EfpN6xz+BLtPCke oLSthA4K71p3yzeREY1Vu338d8T81bU1jyu5urwLceRLaAl8KbDCmxuPpMt0nJb3rAEs pxRFnbNRxD+x24trwpIglJw22SW4Q7gd8iKAuA06VyGquS1Su+vcsHoI8WE261xd9ti6 PaazMajt9DjghIM2GSuLJ1BFJJihFQWu/8hIFdgOMjLpz8blH4P5z6YdBLSoAg4j0whM cjiA== X-Forwarded-Encrypted: i=1; AHgh+RoiZR33SeOmWpRVgD8OwTJWTF6TRHQ4M4Jtk8A+vc6yxrB3J0xy57W4NZpuGU4DpR/Slv/U1S9NaQ==@vger.kernel.org X-Gm-Message-State: AOJu0YzTZSkN4ve8Xqg2+AyOB+reZwjV5CEDmIK36kw9Zbj0gNq370Zn UGXu9+QfcaDzgArfuXaSkTo6IVbrX3E8xHwNW+EUAY1MXr58xJPA7Va4BMEznQ== X-Gm-Gg: AfdE7cl6oYdZDErP2etzJ97K3cRSDiMbeAhFlas8F3gyUZVyfHaEemfi5dxchY60u5B cqtL3VZlwT5nAXQxE6mE+ztyTeWdnVRJ3aTL+0YObaS6uGiRWroSlJfAmGd/6gXAjUbLzh/vs6C XbSRML/BSNQBt8q2T/pvV8Kk/w+l0k0u5FiMnM2HIN2NERd+63PL57YfTGWXLS+kWeYYHU7L3xo ijFudeNcKuMC32G7/w9/EHrgRZCdglWEPzRV3faiRItKPldyv+bm5PInDIPhWQtj7BgSU7CUkbO 15pPqKrlvcPaVY/DdxEBAuULj4ZuNJ53h2zU31V+BESoZncKxs3/TRM8tqzw5rYMblXwS3WkLRW BiCemfhGr0ayf8X6oh38Pfx/oTMVLMItYRreR0bmeBPkMiZH1w/YdDSUl7HY00Mas9xIJGfomRe atf/k5+q3o8TYmzl22D9pEFH0KpjVC0IjNCSm2g2/NuzS8Q96n8u/hvw== 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-sh@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