mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] MIPS: BCM47XX: convert buttons to software nodes
@ 2026-07-05  5:25 Dmitry Torokhov
  2026-07-05  5:25 ` [PATCH 1/3] bcma: gpio: Add and register software node for GPIO controller Dmitry Torokhov
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2026-07-05  5:25 UTC (permalink / raw)
  To: Rafał Miłecki, Michael Buesch, Hauke Mehrtens,
	Thomas Bogendoerfer
  Cc: Bartosz Golaszewski, Arnd Bergmann, linux-wireless, linux-kernel,
	linux-mips

This series converts the legacy gpio-keys platform device on BCM47XX
boards to use software nodes and static properties.

To do this properly without relying on legacy name-based matching
(which is being removed from gpiolib), we introduce and register
software nodes for the underlying GPIO controllers (BCMA and SSB)
and reference them in the button properties.

The first two patches add the software nodes to bcma-gpio and
ssb-gpio respectively. The third patch performs the conversion
for the BCM47XX buttons.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Dmitry Torokhov (3):
      bcma: gpio: Add and register software node for GPIO controller
      ssb: gpio: Add and register software node for GPIO controller
      MIPS: BCM47XX: Convert buttons to software nodes

 arch/mips/bcm47xx/buttons.c | 434 +++++++++++++++++++++++++-------------------
 drivers/bcma/driver_gpio.c  |  17 +-
 drivers/ssb/driver_gpio.c   |  27 ++-
 include/linux/bcma/bcma.h   |   3 +
 include/linux/ssb/ssb.h     |   3 +
 5 files changed, 293 insertions(+), 191 deletions(-)
---
base-commit: 2b763db0c2763d6bf73d7d3e69665222d1f377cf
change-id: 20260627-b4-bcm47xx-swnode-99836e552166

Thanks.

-- 
Dmitry


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-07-07  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-05  5:25 [PATCH 0/3] MIPS: BCM47XX: convert buttons to software nodes Dmitry Torokhov
2026-07-05  5:25 ` [PATCH 1/3] bcma: gpio: Add and register software node for GPIO controller Dmitry Torokhov
2026-07-06  9:56   ` Bartosz Golaszewski
2026-07-05  5:25 ` [PATCH 2/3] ssb: " Dmitry Torokhov
2026-07-05  5:25 ` [PATCH 3/3] MIPS: BCM47XX: Convert buttons to software nodes Dmitry Torokhov
2026-07-06  9:57   ` Bartosz Golaszewski
2026-07-07  8:19 ` [PATCH 0/3] MIPS: BCM47XX: convert " Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®