Re: [PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

From: Andy Shevchenko
Date: Sun Jun 11 2017 - 09:50:23 EST


On Sun, Jun 11, 2017 at 9:09 AM, Rajmohan Mani <rajmohan.mani@xxxxxxxxx> wrote:
> This patch adds support for TPS68470 GPIOs.
> There are 7 GPIOs and a few sensor related GPIOs.
> These GPIOs can be requested and configured as
> appropriate.

Main points (some I already told in an answer to Sakari's mail):
1. Consider 2 GPIO chips over 1.
2. Fix FIXME(s).
3. If there is hardware bug we should work around it must be clarified.
4. You missed Linus' comments here (switch to the data pointer inside
GPIO chip and remove platform driver data stuff from the driver).

--
With Best Regards,
Andy Shevchenko