RE: [PATCH v5 2/2] gpio: mlxbf3: Support add_pin_ranges()

From: Asmaa Mnebhi
Date: Mon Aug 21 2023 - 08:55:36 EST


> > +MODULE_SOFTDEP("pre: pinctrl-mlxbf3");
> > MODULE_DESCRIPTION("NVIDIA BlueField-3 GPIO Driver");
> > MODULE_AUTHOR("Asmaa Mnebhi <asmaa@xxxxxxxxxx>");
> > MODULE_LICENSE("Dual BSD/GPL");
> > --
> > 2.30.1
> >
>
> It's not clear to me whether this depends on patch 1? If only at run-time then I
> guess Linus and I can take the two patches through ours respective trees?

Indeed from a build point of view, there is no dependency so you could take the 2 patches through your respective tree. However, at run-time, the gpio-mlxbf3.c driver fails to load without the pinctrl-mlxbf3.c driver. Should I add a "depends on" in the Kconfig? Then you will have to include both patches in your tree.

Thanks.
Asmaa