Re: [PATCH 1/2] regulator: add support for Intel Cherry Whiskey Cove regulator

From: Andrey Zhizhikin
Date: Fri Oct 25 2019 - 04:58:21 EST


On Fri, Oct 25, 2019 at 10:01 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> On Thu, Oct 24, 2019 at 02:29:38PM +0000, Andrey Zhizhikin wrote:
> > Add regulator driver for Intel Cherry Trail Whiskey Cove PMIC, which
> > supplies various voltage rails.
> >
> > This initial version supports only vsdio, which is required to source
> > vqmmc for sd card interface.
>
> This patch has some style issues. I will wait for Adrian and Hans to comment on
> the approach as a whole and then we will see how to improve the rest.

Agreed, styling issues are coming from definition of CHT_WC_REGULATOR
elements in regulators_info array, and they are mainly related to 80
characters per line. I decided to leave it like this since it is more
readable. But if the 80 characters rule is to be enforced here - I can
go with something like this for every element:
CHT_WC_REGULATOR(V3P3A, 3000, 3350, 0x00, 0x07,\
50, 0x01, 0x01, 0x0, true, NULL),

Let's wait for other people's comments here and I can then come up
with v2 of this patch.

>
> --
> With Best Regards,
> Andy Shevchenko
>
>

--
Regards,
Andrey.