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 470653B4EAA; Fri, 10 Jul 2026 21:19:03 +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=1783718344; cv=none; b=HA8OXozMaB/Eot9kpM89LGpdaOOk17MBuHRnJf4PDg1hQUM0RehcoabEg/ufG7vnbyHvWq9/2hFRWDccHrS+/eiRrh+TISX/hYJBUJCLWsD+CDnwparg9x1CwfHnmIFFCv4Dppb1GKlWVA24UamYEPnEg1CIkiKGz/C8luXXbjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783718344; c=relaxed/simple; bh=7VgHi4Y9L2SOPytkfgYbGVWI7YTf+ZUJgXGUavjwtxk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hFw0RAde1IZGna2fathb2ALUKDW/NZVSvI/ux0BNFD4stMxlBowtHj1MYviCjMGpTAV7RC9vrpcYs32FNRBCCdLvMHz6Wl8K2AkPtEcX08BpR/0Vp2geEjn4wHRDe6iZqbBspN9fJ7tFVTNzoqDBODwqw6d0XMYKJIiFYp+N7/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dOCG7RLq; 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="dOCG7RLq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 164C71F000E9; Fri, 10 Jul 2026 21:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783718342; bh=c3VGwn/zHIAeMdqewunrMP3NaW3k6iPGymktB8Q2e1Y=; h=From:To:Cc:Subject:Date; b=dOCG7RLqdxBDJpFQ5a0dgJIwtuYc54B0Gu1NnN1lbQZP0vMIE5HMBBOFOjWervabb jOESP3GnDbyFO6ZJvvQqBnW4dC+tXiOyh+0L1ZRonKmNqa0/wj/SazpsjPf9PtBLEt vk9U914wL0pILPT5laaWTxLrEm/9pF3sbOw8oLfes6SjnmI19m+jYA3Qu2uBzCvN5g OYyAPHiC6HuCcduXwTc7F0cTgabE2Eu81aWToW7uhZpAxcT0VMzor6x8kOeKxeMTj/ V4GMwaFX0cwOLzbzCGwJD/+jsWsaVRALaz9xs7Zxqf0PmGr3ewN0O2FryIfH9dZStv EITiBv6miuwGQ== From: Arnd Bergmann To: linux-gpio@vger.kernel.org, Linus Walleij , Bartosz Golaszewski Cc: Arnd Bergmann , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , 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 v6 0/6] gpiolib: fence off legacy interfaces Date: Fri, 10 Jul 2026 23:18:48 +0200 Message-Id: <20260710211854.1371746-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@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 in [1] and [2]. I only made one trivial chance suggested by Andy Shevchenko and reordered the series to have the input patches first. Dmitry Torokhov asked about having an immutable branch, so I would suggest sharing the two input patches between the mfd and gpio trees, and everything else go through the gpio tree only. Arnd [1] https://lore.kernel.org/all/20260520183815.2510387-1-arnd@kernel.org/ [2] https://lore.kernel.org/all/20260629130329.1291953-1-arnd@kernel.org/ Arnd Bergmann (6): [v6] Input: soc_button_array - select CONFIG_GPIOLIB_LEGACY [v6] Input: gpio-keys: make legacy gpiolib optional [v6] leds: gpio: make legacy gpiolib interface optional [v6] sh: select legacy gpiolib interface [v6] x86/olpc: select GPIOLIB_LEGACY [v6] 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 | 1 - drivers/leds/leds-gpio.c | 52 +++++++++++++++-------- 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, 75 insertions(+), 28 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