public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Baolin Wang <baolin.wang@linaro.org>
Cc: arnd@arndb.de, broonie@kernel.org, orsonzhai@gmail.com,
	zhang.lyra@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH] mfd: sc27xx: Use SoC compatible string for PMIC devices
Date: Tue, 2 Apr 2019 05:58:29 +0100	[thread overview]
Message-ID: <20190402045829.GQ4187@dell> (raw)
In-Reply-To: <af33f66a602462f14431e99433324b8523f74f78.1552879519.git.baolin.wang@linaro.org>

On Mon, 18 Mar 2019, Baolin Wang wrote:

> We should use SoC compatible string in stead of wildcard string for
> PMIC child devices.
> 
> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
> ---
> Hi Lee,
> 
> Could you merge this patch into v5.1-rc if no objection from you?
> Since our DTS patches had been merged into v5.1, our PMIC can not
> work without this patch. Thanks.

Oh dear, what a pickle.  Really you should have pushed these change
though one tree, in either a single patch or at the very least a
single patch-set.  I will see what I can do, so that this doesn't
break for an entire kernel version (but I make no promises).

> ---
>  drivers/mfd/sprd-sc27xx-spi.c |   42 ++++++++++++++++++++---------------------
>  1 file changed, 21 insertions(+), 21 deletions(-)
> 
> diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
> index 69df277..43ac716 100644
> --- a/drivers/mfd/sprd-sc27xx-spi.c
> +++ b/drivers/mfd/sprd-sc27xx-spi.c
> @@ -53,67 +53,67 @@ struct sprd_pmic_data {
>  static const struct mfd_cell sprd_pmic_devs[] = {
>  	{
>  		.name = "sc27xx-wdt",
> -		.of_compatible = "sprd,sc27xx-wdt",
> +		.of_compatible = "sprd,sc2731-wdt",
>  	}, {
>  		.name = "sc27xx-rtc",
> -		.of_compatible = "sprd,sc27xx-rtc",
> +		.of_compatible = "sprd,sc2731-rtc",
>  	}, {
>  		.name = "sc27xx-charger",
> -		.of_compatible = "sprd,sc27xx-charger",
> +		.of_compatible = "sprd,sc2731-charger",
>  	}, {
>  		.name = "sc27xx-chg-timer",
> -		.of_compatible = "sprd,sc27xx-chg-timer",
> +		.of_compatible = "sprd,sc2731-chg-timer",
>  	}, {
>  		.name = "sc27xx-fast-chg",
> -		.of_compatible = "sprd,sc27xx-fast-chg",
> +		.of_compatible = "sprd,sc2731-fast-chg",
>  	}, {
>  		.name = "sc27xx-chg-wdt",
> -		.of_compatible = "sprd,sc27xx-chg-wdt",
> +		.of_compatible = "sprd,sc2731-chg-wdt",
>  	}, {
>  		.name = "sc27xx-typec",
> -		.of_compatible = "sprd,sc27xx-typec",
> +		.of_compatible = "sprd,sc2731-typec",
>  	}, {
>  		.name = "sc27xx-flash",
> -		.of_compatible = "sprd,sc27xx-flash",
> +		.of_compatible = "sprd,sc2731-flash",
>  	}, {
>  		.name = "sc27xx-eic",
> -		.of_compatible = "sprd,sc27xx-eic",
> +		.of_compatible = "sprd,sc2731-eic",
>  	}, {
>  		.name = "sc27xx-efuse",
> -		.of_compatible = "sprd,sc27xx-efuse",
> +		.of_compatible = "sprd,sc2731-efuse",
>  	}, {
>  		.name = "sc27xx-thermal",
> -		.of_compatible = "sprd,sc27xx-thermal",
> +		.of_compatible = "sprd,sc2731-thermal",
>  	}, {
>  		.name = "sc27xx-adc",
> -		.of_compatible = "sprd,sc27xx-adc",
> +		.of_compatible = "sprd,sc2731-adc",
>  	}, {
>  		.name = "sc27xx-audio-codec",
> -		.of_compatible = "sprd,sc27xx-audio-codec",
> +		.of_compatible = "sprd,sc2731-audio-codec",
>  	}, {
>  		.name = "sc27xx-regulator",
> -		.of_compatible = "sprd,sc27xx-regulator",
> +		.of_compatible = "sprd,sc2731-regulator",
>  	}, {
>  		.name = "sc27xx-vibrator",
> -		.of_compatible = "sprd,sc27xx-vibrator",
> +		.of_compatible = "sprd,sc2731-vibrator",
>  	}, {
>  		.name = "sc27xx-keypad-led",
> -		.of_compatible = "sprd,sc27xx-keypad-led",
> +		.of_compatible = "sprd,sc2731-keypad-led",
>  	}, {
>  		.name = "sc27xx-bltc",
> -		.of_compatible = "sprd,sc27xx-bltc",
> +		.of_compatible = "sprd,sc2731-bltc",
>  	}, {
>  		.name = "sc27xx-fgu",
> -		.of_compatible = "sprd,sc27xx-fgu",
> +		.of_compatible = "sprd,sc2731-fgu",
>  	}, {
>  		.name = "sc27xx-7sreset",
> -		.of_compatible = "sprd,sc27xx-7sreset",
> +		.of_compatible = "sprd,sc2731-7sreset",
>  	}, {
>  		.name = "sc27xx-poweroff",
> -		.of_compatible = "sprd,sc27xx-poweroff",
> +		.of_compatible = "sprd,sc2731-poweroff",
>  	}, {
>  		.name = "sc27xx-syscon",
> -		.of_compatible = "sprd,sc27xx-syscon",
> +		.of_compatible = "sprd,sc2731-syscon",
>  	},
>  };
>  

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2019-04-02  4:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-18  3:26 [RESEND PATCH] mfd: sc27xx: Use SoC compatible string for PMIC devices Baolin Wang
2019-04-02  4:58 ` Lee Jones [this message]
2019-04-02  7:19   ` Baolin Wang

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=20190402045829.GQ4187@dell \
    --to=lee.jones@linaro.org \
    --cc=arnd@arndb.de \
    --cc=baolin.wang@linaro.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=orsonzhai@gmail.com \
    --cc=zhang.lyra@gmail.com \
    /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