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@gmail.com>
---
Changes in v4:
- avoid using compound literals in assignments
- Link to v3: https://patch.msgid.link/20260324-rohm-software-nodes-v3-0-edde5a0324d5@gmail.com
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@gmail.com
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@gmail.com/
---
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 | 122 +++++++++++++++++++++++++++++++++------------
drivers/mfd/rohm-bd718x7.c | 120 ++++++++++++++++++++++++++++++++------------
2 files changed, 177 insertions(+), 65 deletions(-)
---
base-commit: 39704f00f747aba3144289870b5fd8ac230a9aaf
change-id: 20260313-rohm-software-nodes-0b4a3d36128c
Thanks.
--
Dmitry