On Wed, Feb 11, 2026 at 10:50 AM Geert Uytterhoeven
[off-list ref] wrote:
quoted
quoted
static const struct of_device_id gpio_aggregator_dt_ids[] = {
+ {
+ .compatible = "gpio-aggregator",
+ },
{
.compatible = "gpio-delay",
.data = (void *)FWD_FEATURE_DELAY,
--
2.43.0
Regardless of the DT bindings - this change is perfectly fine. We do
that for other "virtual" devices like gpio-sim, gpio-virtuser, etc. I
would just ask you to document it under
Documentation/admin-guide/gpio/gpio-aggregator.rst.
This is not a pure virtual device, but for use with actual hardware.
Nacked-by: Geert Uytterhoeven [off-list ref]
Well, it is a virtual device in that there's no actual "aggregator"
device on the board. It virtually aggregates GPIOs into a separate
chip for user's convenience. While there's no such device as a
gpio-aggregator - and so we must not put it into bindings nor into
mainline devicetree sources - having a compatible matching in the
driver is perfectly fine IMO. Just like gpio-sim.
Bartosz