Re: [PATCH V3 3/4] gpio: eic-sprd: Modify the calculation method of eic number

From: Andy Shevchenko
Date: Thu Jan 04 2024 - 08:01:48 EST


On Thu, Jan 4, 2024 at 4:43 AM Wenhua Lin <Wenhua.Lin@xxxxxxxxxx> wrote:
>
> When the soc changes, the corresponding gpio-eic-sprd.c

SoC

> code needs to be modified, and the corresponding
> Document must also be modified, which is quite troublesome.
> To avoid modifying the driver file, the number of eics
> is automatically calculated by matching dts nodes.

--
With Best Regards,
Andy Shevchenko