linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: shmobile: salvage lost CONFIG_REGULATOR
Date: Fri, 23 Jan 2015 09:34:41 +0000	[thread overview]
Message-ID: <CAMuHMdWPWJE_Vcy1Lp4XW7TTY_qO7uis9jGQYQyABiGGbWyuKg@mail.gmail.com> (raw)
In-Reply-To: <87fvb2exr7.wl%kuninori.morimoto.gx@renesas.com>

Hi Morimoto-san,

On Fri, Jan 23, 2015 at 8:55 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> eb4513482d1c4882e3633528ccc48d77581b7bb1
> (ARM: shmobile: Enable kzm9g board in multiplatform defconfig)
> dropped CONFIG_REGULATOR from shmobile_defconfig.
> So, we lost CONFIG_REGULATOR_GPIO or others REGULATORs
> Let's salvage these

On which version did you see this problem?
I still have CONFIG_REGULATOR_GPIO=y in the generated .config.

My first guess was that there's a select in -next (and thus in renesas-drivers,
where I generated the patch), that's not yet in renesas-devel (selects are evil,
and cause havoc when combined with savedefconfig).

However, I can't reproduce it on
renesas-devel-20150119-v3.19-rc5 (which still has kzm9g multiplatform),
renesas-drivers-2015-01-19-v3.19-rc5 (which still has kzm9g multiplatform),
renesas-devel-20150123-v3.19-rc5 (which lost kzm9g multiplatform)

Note that you remove:
  - CONFIG_ARCH_SH73A0 and CONFIG_SIMPLE_PM_BUS
    (which indicates your local repo no longer has kzm9g multiplatform)
  - CONFIG_RCAR_DMAC (which is in -next and renesas-drivers,
    but not in renesas-devel).

> This patch is using "make savedefconfig"

Hence that removes everything which is not (yet) in your tree, while I think
we do want to enable features that will only appear in -next, as Simon has
to send pull requests for the defconfigs before the features arrive in Linus'
tree.

> Reported-by: Magnus Damm <damm+renesas@opensource.se>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> Geert, Magnus
>
> Can you check this patch ?
>
>  arch/arm/configs/shmobile_defconfig |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
> index 6512c41..46c6623 100644
> --- a/arch/arm/configs/shmobile_defconfig
> +++ b/arch/arm/configs/shmobile_defconfig
> @@ -18,7 +18,6 @@ CONFIG_ARCH_R8A7779=y
>  CONFIG_ARCH_R8A7790=y
>  CONFIG_ARCH_R8A7791=y
>  CONFIG_ARCH_R8A7794=y
> -CONFIG_ARCH_SH73A0=y
>  CONFIG_MACH_MARZEN=y
>  CONFIG_CPU_BPREDICT_DISABLE=y
>  CONFIG_PL310_ERRATA_588369=y
> @@ -55,7 +54,6 @@ CONFIG_IP_PNP_DHCP=y
>  CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
>  CONFIG_DEVTMPFS=y
>  CONFIG_DEVTMPFS_MOUNT=y
> -CONFIG_SIMPLE_PM_BUS=y
>  CONFIG_MTD=y
>  CONFIG_MTD_BLOCK=y
>  CONFIG_MTD_M25P80=y
> @@ -118,6 +116,7 @@ CONFIG_WATCHDOG=y
>  CONFIG_DA9063_WATCHDOG=y
>  CONFIG_MFD_AS3711=y
>  CONFIG_MFD_DA9063=y
> +CONFIG_REGULATOR=y
>  CONFIG_REGULATOR_AS3711=y
>  CONFIG_REGULATOR_DA9210=y
>  CONFIG_REGULATOR_GPIO=y
> @@ -170,7 +169,6 @@ CONFIG_RTC_DRV_RS5C372=y
>  CONFIG_RTC_DRV_S35390A=y
>  CONFIG_DMADEVICES=y
>  CONFIG_SH_DMAE=y
> -CONFIG_RCAR_DMAC=y
>  # CONFIG_IOMMU_SUPPORT is not set
>  CONFIG_IIO=y
>  CONFIG_AK8975=y

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2015-01-23  9:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23  7:55 [PATCH] ARM: shmobile: salvage lost CONFIG_REGULATOR Kuninori Morimoto
2015-01-23  9:34 ` Geert Uytterhoeven [this message]
2015-01-26  1:19 ` Kuninori Morimoto
2015-01-26  1:24 ` Simon Horman
2015-01-26  2:26 ` Simon Horman
2015-01-26  2:28 ` Kuninori Morimoto
2015-01-26  3:57 ` Simon Horman

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=CAMuHMdWPWJE_Vcy1Lp4XW7TTY_qO7uis9jGQYQyABiGGbWyuKg@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=linux-sh@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).