Re: [PATCH v4 2/2] mfd: rohm-bd718x7: Use software nodes for gpio-keys
From: Matti Vaittinen
Date: Wed Apr 29 2026 - 02:10:25 EST
Thanks!
On 28/04/2026 07:13, Dmitry Torokhov wrote:
Refactor the rohm-bd7182x7 MFD driver to use software nodes for
instantiating the gpio-keys child device, replacing the old
platform_data mechanism.
The power key's properties are now defined using software nodes and
property entries. The IRQ is passed as a resource attached to the
platform device.
This will allow dropping support for using platform data for configuring
gpio-keys in the future.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
If swnode naming is ok [see my mail(s) for 1/2]:
Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~