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 C13033BB9F4; Wed, 1 Jul 2026 10:11:53 +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=1782900714; cv=none; b=aNHktMOpSi1+1XcqVMrs1Gg4EERPsa6+Uhn+C1Z3ZC6R6jysaDzuvwDllDbXDIcW0cxd4gwvhEaHd39P63JJmsNSCSd1ikXNA3ORvojt4Vg6crsJiWY/GeICCeaLPA96GtORMhOUkB0GdWpIJmZJ/rf3clAxNJJlC1ex6mZCzeM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782900714; c=relaxed/simple; bh=sFgbP+8cNs1jFmYsv4mgYmT414JAgsOLk6tvEQ8o6c8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=P4bjZPdnQIMe0yNiLhHeeVR2GAMWQ7UNXuuB3F7IS1FRyv/38xMRjunfBrRQiqHPivn2KimYqBAfRl7qdk3kY+W258Yk01p8hL4uTnixlTyVBlIR3jEoJs9ZfP+iULN3/le/bIwBRZqxF2Bu79yQ8PKvcfxi8fYapgBWJOtLYXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 954181F000E9; Wed, 1 Jul 2026 10:11:51 +0000 (UTC) From: Geert Uytterhoeven To: Thomas Bogendoerfer , Linus Walleij , Bartosz Golaszewski , Arnd Bergmann Cc: linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup Date: Wed, 1 Jul 2026 12:11:35 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi all, This patch series gets rid of legacy GPIO interface usage on the MIPS RBTX4927 development board, preceded and followed by some cleanups. No blinky LEDs were harmed during the production of this series. Changes compared to v1[1]: - Add Reviewed-by, - Return early on platform_device_add() failure. Thanks for your comments! [1] "[PATCH 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup" https://lore.kernel.org/cover.1782389357.git.geert@linux-m68k.org Geert Uytterhoeven (9): MIPS: TXX9: Remove tx4938_spi_init() and txx9_spi_init() MIPS: TXX9: Remove txx9_7segled_*() forward declarations MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR MIPS: TXX9: rbtx4927: Use GPIO lookup table for TXx9 LEDs MIPS: TXX9: Reduce TXX9_IOCLED_MAXLEDS to 3 MIPS: TXX9: Use GPIO lookup table for iocled LEDs MIPS: TXX9: Drop GPIOLIB_LEGACY select MIPS: TXX9: Convert gpio_txx9 to dynamic GPIO base allocation MIPS: TXX9: Clean up txx9_iocled_init() arch/mips/include/asm/txx9/generic.h | 9 +----- arch/mips/include/asm/txx9/tx4938.h | 1 - arch/mips/include/asm/txx9pio.h | 3 +- arch/mips/kernel/gpio_txx9.c | 5 ++- arch/mips/txx9/Kconfig | 1 - arch/mips/txx9/generic/setup.c | 45 ++++++++++----------------- arch/mips/txx9/generic/setup_tx4938.c | 6 ---- arch/mips/txx9/rbtx4927/setup.c | 41 ++++++++++++++++++------ 8 files changed, 53 insertions(+), 58 deletions(-) -- 2.43.0 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds