All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Tim Harvey <tharvey@gateworks.com>
Cc: u-boot <u-boot@lists.denx.de>, Fabio Estevam <festevam@denx.de>,
	Peng Fan <peng.fan@nxp.com>, Stefano Babic <sbabic@denx.de>
Subject: Re: [PATCH v2 2/2] pmic: pca9450: Add regulator driver
Date: Fri, 20 May 2022 05:12:50 +0200	[thread overview]
Message-ID: <5ff83b62-7732-2102-11bc-c43640f96d3f@denx.de> (raw)
In-Reply-To: <CAJ+vNU3pn7m+suaJGbtvh0d3qc0XVMAxGv3ftuRo96Tj4fAVYA@mail.gmail.com>

On 5/20/22 00:24, Tim Harvey wrote:

[...]

>> diff --git a/include/power/pca9450.h b/include/power/pca9450.h
>> index 27703bb1f91..b714fc3477d 100644
>> --- a/include/power/pca9450.h
>> +++ b/include/power/pca9450.h
>> @@ -56,4 +56,15 @@ enum {
>>
>>   int power_pca9450_init(unsigned char bus, unsigned char addr);
>>
>> +enum {
>> +       NXP_CHIP_TYPE_PCA9450A = 0,
>> +       NXP_CHIP_TYPE_PCA9450BC,
>> +       NXP_CHIP_TYPE_AMOUNT
>> +};
>> +
>> +#define DVS_BUCK_RUN_MASK              0x7f
> 
> Marek,
> 
> Looks like DVS_BUCK_RUN_MASK is a bad choice of names and should be
> something like PCA9450_DVS_BUCK_RUN_MASK.
> 
> It's defined differently in include/power/bd71837.h (where it should
> also likely be changed to something that doesn't collide)
> $ git grep DVS_BUCK_RUN_MASK include/
> include/power/bd71837.h:#define DVS_BUCK_RUN_MASK               0x3f
> include/power/pca9450.h:#define DVS_BUCK_RUN_MASK               0x7f
> 
> Granted, board/gateworks/venice/spl.c is the only file I see that
> includes both of those.
> 
> Is this merged yet?

No, I am eagerly waiting for this to be merged.

I sent V3, that should address the ventana .

  reply	other threads:[~2022-05-20  3:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24 21:40 [PATCH v2 1/2] pmic: pca9450: Add upstream regulators subnode match Marek Vasut
2022-04-24 21:40 ` [PATCH v2 2/2] pmic: pca9450: Add regulator driver Marek Vasut
2022-05-19 22:24   ` Tim Harvey
2022-05-20  3:12     ` Marek Vasut [this message]
2022-05-20  7:00     ` Stefano Babic
2022-05-20  7:19       ` Marek Vasut
2022-05-20  7:26         ` Stefano Babic
2022-05-09 12:40 ` [PATCH v2 1/2] pmic: pca9450: Add upstream regulators subnode match Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ff83b62-7732-2102-11bc-c43640f96d3f@denx.de \
    --to=marex@denx.de \
    --cc=festevam@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.