[PATCH v3 0/2] rohm-bdi718x7/71828: Use software nodes for gpio-keys

From: Dmitry Torokhov

Date: Tue Mar 24 2026 - 20:56:36 EST


Now that gpio-keys can use platform resources to identify interrupts
assigned to buttons we can convert ROHM power buttons to use software
nodes and device properties for configuration, removing the need to use
platform data.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
---
Changes in v3:
- Stopped mixing code and variable declarations, use more temps
- Moved assignment to irq_domain closer to where is is being used
- Added missing SOB
- Link to v2: https://patch.msgid.link/20260322-rohm-software-nodes-v2-0-3c7d21336d37@xxxxxxxxx

v2:
- dropped patch to gpio-keys as it is in the mainline now
- reworked the both drivers to dynamically allocate per-device software
nodes

v1:
https://lore.kernel.org/r/20250817224731.1911207-1-dmitry.torokhov@xxxxxxxxx/

---
Dmitry Torokhov (2):
mfd: rohm-bd71828: Use software nodes for gpio-keys
mfd: rohm-bd718x7: Use software nodes for gpio-keys

drivers/mfd/rohm-bd71828.c | 120 +++++++++++++++++++++++++++++++++------------
drivers/mfd/rohm-bd718x7.c | 118 +++++++++++++++++++++++++++++++-------------
2 files changed, 173 insertions(+), 65 deletions(-)
---
base-commit: 7109a2155340cc7b21f27e832ece6df03592f2e8
change-id: 20260313-rohm-software-nodes-0b4a3d36128c

Thanks.

--
Dmitry