Re: [PATCH v2 2/5] gpio: elkhartlake: depend on MFD_INTEL_EHL_PSE_GPIO

From: Andy Shevchenko
Date: Mon Mar 03 2025 - 06:45:09 EST


On Mon, Mar 03, 2025 at 01:38:15PM +0200, Raag Jadav wrote:
> On Mon, Mar 03, 2025 at 10:21:13AM +0200, Andy Shevchenko wrote:
> > On Mon, Mar 03, 2025 at 10:17:42AM +0530, Raag Jadav wrote:

...

> > > config GPIO_ELKHARTLAKE
> > > tristate "Intel Elkhart Lake PSE GPIO support"
> > > - depends on X86 || COMPILE_TEST
> > > + depends on (X86 && MFD_INTEL_EHL_PSE_GPIO) || COMPILE_TEST
> > > select GPIO_TANGIER
> >
> > Looking on how GPIO PMIC drivers are written, I would redo this as
> >
> > depends on (X86 || COMPILE_TEST) && MFD_INTEL_EHL_PSE_GPIO
>
> True, but perhaps allow independent COMPILE_TEST where possible?

It will be tested in all-or-none way. Or you think it has to be tested
individually? If so, why is it needed?

--
With Best Regards,
Andy Shevchenko