From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D6B6407CF0; Mon, 29 Jun 2026 13:03:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782738226; cv=none; b=fojrWM70eEMp+1CEUGUfJh3i19coqrjgZRzYEAU74WMvqpJpkgkXhGweweoD5naa+aghVENNOerwnIChKX5vcHKzg5M1oUme/m5IYKxJYWc/dWV0ECjHyVIrWzVT/H4HmGk5y1oKwcL4DMh9QmhIHHmlr10ETScxk1kwxAHtBQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782738226; c=relaxed/simple; bh=ZXxYYKWc/jGxfk2Nytyp7ioT+GGF5iEplxY6FAnMyNM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ruGrJ7etg49CfDcV4qKIZwumoyKDlAboeVdXi/dkaN5ccMooda7gdOMLujna5wsh4EFjTAjDllrUwucMyBuUyv0t8YPJBNMRo8I3NMCAlv8zKEfjPJhfTQjAwCJLhbuHSnltJ2LFsG7CVlvXjQXytFjXh+ZlNlySXjs58FgQLO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hC4kKBSl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hC4kKBSl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0D3E1F00A3D; Mon, 29 Jun 2026 13:03:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782738225; bh=1jg1rQAK89ERmpcHGqenOSdalDO5zb8XIpGNN1kpzuo=; h=From:To:Cc:Subject:Date; b=hC4kKBSlI1YC3aYkWyb12M65wJhVTyQjHINpXLna7nBIHIzQXslOpalidGl0nU9F9 sKZBdHiIsT04xXPsPor0JvuYwebZMvQQT8VQQpLHBv6/Bh8LNMsCwvDvrF8KfyvWKr v8Dc/ynpn7KS92OwuJZo8X6AnaCBV3GQW6XcoKwLhCBoEwdYy9ndAO0sLc5dh1rmsB L3K2uf+lsmGnNS79iddvPtEWAvNxrHN+KsZMLDkmK9MU0hHquZ4qICWKj3EwMf6mky SPgKLz+YGudrwoWXgOq0xzM/sZG6/TjjozaWd69NFMZCJE3eX9Rr/7FhRiwUp3KQJS oilFtAu8wI0YQ== From: Arnd Bergmann To: linux-gpio@vger.kernel.org Cc: Arnd Bergmann , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Linus Walleij , Bartosz Golaszewski , Dmitry Torokhov , 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: [PATCH v5 0/6] gpiolib: fence off legacy interfaces Date: Mon, 29 Jun 2026 15:03:23 +0200 Message-Id: <20260629130329.1291953-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 +- drivers/leds/leds-gpio.c | 53 +++++++++++++++-------- drivers/mfd/rohm-bd71828.c | 1 - drivers/mfd/rohm-bd718x7.c | 1 - include/linux/gpio_keys.h | 2 + include/linux/leds.h | 2 + sound/pci/Kconfig | 1 + sound/pci/cs5535audio/cs5535audio_olpc.c | 2 +- 18 files changed, 76 insertions(+), 29 deletions(-) -- 2.39.5 Cc: John Paul Adrian Glaubitz Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: "H. Peter Anvin" Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: Dmitry Torokhov Cc: Lee Jones Cc: Pavel Machek Cc: linux-sh@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-leds@vger.kernel.org