public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
Cc: Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Quentin Schulz
	<quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [PATCH v2 4/9] mfd: axp20x: use correct platform device id for many PEK
Date: Mon, 7 Aug 2017 16:43:59 +0100	[thread overview]
Message-ID: <20170807154359.434kux3urxhrt7ew@dell> (raw)
In-Reply-To: <20170726082832.16789-5-wens-jdAy2FN1RRM@public.gmane.org>

On Wed, 26 Jul 2017, Chen-Yu Tsai wrote:

> From: Quentin Schulz <quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> 
> According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
> AXP809 and AXP813 PEK have different values for startup time bits from
> the AXP20X, let's use the platform device id with the correct values.
> 
> Signed-off-by: Quentin Schulz <quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Acked-for-MFD-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
> ---
>  drivers/mfd/axp20x.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
> index ec4271ca065c..336de66ca408 100644
> --- a/drivers/mfd/axp20x.c
> +++ b/drivers/mfd/axp20x.c
> @@ -677,7 +677,7 @@ static struct mfd_cell axp20x_cells[] = {
>  
>  static struct mfd_cell axp221_cells[] = {
>  	{
> -		.name		= "axp20x-pek",
> +		.name		= "axp221-pek",
>  		.num_resources	= ARRAY_SIZE(axp22x_pek_resources),
>  		.resources	= axp22x_pek_resources,
>  	}, {
> @@ -702,7 +702,7 @@ static struct mfd_cell axp221_cells[] = {
>  
>  static struct mfd_cell axp223_cells[] = {
>  	{
> -		.name			= "axp20x-pek",
> +		.name			= "axp221-pek",
>  		.num_resources		= ARRAY_SIZE(axp22x_pek_resources),
>  		.resources		= axp22x_pek_resources,
>  	}, {
> @@ -835,7 +835,7 @@ static struct mfd_cell axp288_cells[] = {
>  		.resources = axp288_fuel_gauge_resources,
>  	},
>  	{
> -		.name = "axp20x-pek",
> +		.name = "axp221-pek",
>  		.num_resources = ARRAY_SIZE(axp288_power_button_resources),
>  		.resources = axp288_power_button_resources,
>  	},
> @@ -846,7 +846,7 @@ static struct mfd_cell axp288_cells[] = {
>  
>  static struct mfd_cell axp803_cells[] = {
>  	{
> -		.name			= "axp20x-pek",
> +		.name			= "axp221-pek",
>  		.num_resources		= ARRAY_SIZE(axp803_pek_resources),
>  		.resources		= axp803_pek_resources,
>  	},
> @@ -862,7 +862,7 @@ static struct mfd_cell axp806_cells[] = {
>  
>  static struct mfd_cell axp809_cells[] = {
>  	{
> -		.name			= "axp20x-pek",
> +		.name			= "axp221-pek",
>  		.num_resources		= ARRAY_SIZE(axp809_pek_resources),
>  		.resources		= axp809_pek_resources,
>  	}, {
> @@ -873,7 +873,7 @@ static struct mfd_cell axp809_cells[] = {
>  
>  static struct mfd_cell axp813_cells[] = {
>  	{
> -		.name			= "axp20x-pek",
> +		.name			= "axp221-pek",
>  		.num_resources		= ARRAY_SIZE(axp803_pek_resources),
>  		.resources		= axp803_pek_resources,
>  	}

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

-- 
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

  parent reply	other threads:[~2017-08-07 15:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  8:28 [PATCH v2 0/9] mfd: axp20x: Add basic support for AXP813 Chen-Yu Tsai
     [not found] ` <20170726082832.16789-1-wens-jdAy2FN1RRM@public.gmane.org>
2017-07-26  8:28   ` [PATCH v2 1/9] dt-bindings: mfd: axp20x: Add AXP806 to supported list of chips Chen-Yu Tsai
2017-08-07 15:43     ` Lee Jones
2017-07-26  8:28   ` [PATCH v2 2/9] dt-bindings: mfd: axp20x: Introduce bindings for AXP813 Chen-Yu Tsai
     [not found]     ` <20170726082832.16789-3-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43       ` Lee Jones
2017-07-26  8:28   ` [PATCH v2 3/9] mfd: axp20x: Add support for AXP813 PMIC Chen-Yu Tsai
     [not found]     ` <20170726082832.16789-4-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43       ` Lee Jones
2017-07-26  8:28   ` [PATCH v2 4/9] mfd: axp20x: use correct platform device id for many PEK Chen-Yu Tsai
     [not found]     ` <20170726082832.16789-5-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43       ` Lee Jones [this message]
2017-07-26  8:28   ` [PATCH v2 5/9] ARM: sun8i: a83t: Add device node and pinmux setting for RSB controller Chen-Yu Tsai
2017-07-26  8:28   ` [PATCH v2 6/9] ARM: sun8i: a83t: cubietruck-plus: Enable PMIC part of AXP818 PMIC Chen-Yu Tsai
2017-07-26  8:28   ` [PATCH v2 7/9] ARM: sun8i: a83t: cubietruck-plus: Enable AC100 combo chip in " Chen-Yu Tsai
2017-07-26  8:28   ` [PATCH v2 8/9] ARM: sun8i: a83t: h8homlet-v2: Enable PMIC part of " Chen-Yu Tsai
2017-07-26  8:28   ` [PATCH v2 9/9] ARM: sun8i: a83t: h8homlet-v2: Enable AC100 combo chip in " Chen-Yu Tsai
2017-07-26  8:32 ` [PATCH v2 0/9] mfd: axp20x: Add basic support for AXP813 Maxime Ripard
2017-08-08  4:05   ` Chen-Yu Tsai

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=20170807154359.434kux3urxhrt7ew@dell \
    --to=lee.jones-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
    --cc=quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
    --cc=wens-jdAy2FN1RRM@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox