All of lore.kernel.org
 help / color / mirror / Atom feed
From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/5] Versatile Express DT support
Date: Wed, 30 Nov 2011 12:08:18 +0000	[thread overview]
Message-ID: <20111130120818.GB2045@localhost.localdomain> (raw)
In-Reply-To: <1322651640.3164.135.camel@hornet.cambridge.arm.com>

On Wed, Nov 30, 2011 at 11:14:00AM +0000, Pawel Moll wrote:
> On Wed, 2011-11-30 at 10:48 +0000, Dave Martin wrote:
> > Attached.  It's just vexpress_defconfig, plus ARCH_VEXPRESS_V2P_CA5S_CA9=y
> 
> Could you try that?
> 
> 8<----------------------------------------------
> diff --git a/arch/arm/mach-vexpress/Kconfig
> b/arch/arm/mach-vexpress/Kconfig
> index 9eb8161..ded66d0 100644
> --- a/arch/arm/mach-vexpress/Kconfig
> +++ b/arch/arm/mach-vexpress/Kconfig
> @@ -11,7 +11,7 @@ config ARCH_VEXPRESS_CA9X4
>  
>  config ARCH_VEXPRESS_DT
>         bool
> -       select OF
> +       select USE_OF
>         help
>           VE platform *requiring* Flattened Device Tree to boot.
> 8<----------------------------------------------
> 
> The OF is an effect of the USE_OF, not the other way round, sorry about
> the mistake.
> 
> Of course I could go the "classic way" and make the
> ARCH_VEXPRESS_V2P_CA5S_CA9 dependant on the OF, but this means that the
> DT-powered tile would be invisible till one enables USE_OF. Any
> opinions?

Your suggestion fixes it -- I suggest we keep the config this way round;
this means that OF gets turned on when enabling a coretile which requires
it, and those coretiles are offered as choices even before OF is turned
on.  That feels like a sensible behaviour for the config.


While we're about this, building of the applicable dtbs is not currently
enabled.

Can we add this, so that "make dtbs" works?

diff --git a/arch/arm/mach-vexpress/Makefile.boot b/arch/arm/mach-vexpress/Makefile.boot
index 05b77a5..b89ffde 100644
--- a/arch/arm/mach-vexpress/Makefile.boot
+++ b/arch/arm/mach-vexpress/Makefile.boot
@@ -7,3 +7,7 @@ else
 params_phys-y	:= 0x60000100
 initrd_phys-y	:= 0x60800000
 endif
+
+dtb-$(CONFIG_ARCH_VEXPRESS_V2P_CA5S_CA9) += \
+					vexpress-v2p-ca5s.dtb \
+					vexpress-v2p-ca9.dtb

Cheers
---Dave

WARNING: multiple messages have this Message-ID (diff)
From: Dave Martin <dave.martin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH v3 0/5] Versatile Express DT support
Date: Wed, 30 Nov 2011 12:08:18 +0000	[thread overview]
Message-ID: <20111130120818.GB2045@localhost.localdomain> (raw)
In-Reply-To: <1322651640.3164.135.camel-okZbbLrgpR/YkXV2EHHjLW3o5bpOHsLO@public.gmane.org>

On Wed, Nov 30, 2011 at 11:14:00AM +0000, Pawel Moll wrote:
> On Wed, 2011-11-30 at 10:48 +0000, Dave Martin wrote:
> > Attached.  It's just vexpress_defconfig, plus ARCH_VEXPRESS_V2P_CA5S_CA9=y
> 
> Could you try that?
> 
> 8<----------------------------------------------
> diff --git a/arch/arm/mach-vexpress/Kconfig
> b/arch/arm/mach-vexpress/Kconfig
> index 9eb8161..ded66d0 100644
> --- a/arch/arm/mach-vexpress/Kconfig
> +++ b/arch/arm/mach-vexpress/Kconfig
> @@ -11,7 +11,7 @@ config ARCH_VEXPRESS_CA9X4
>  
>  config ARCH_VEXPRESS_DT
>         bool
> -       select OF
> +       select USE_OF
>         help
>           VE platform *requiring* Flattened Device Tree to boot.
> 8<----------------------------------------------
> 
> The OF is an effect of the USE_OF, not the other way round, sorry about
> the mistake.
> 
> Of course I could go the "classic way" and make the
> ARCH_VEXPRESS_V2P_CA5S_CA9 dependant on the OF, but this means that the
> DT-powered tile would be invisible till one enables USE_OF. Any
> opinions?

Your suggestion fixes it -- I suggest we keep the config this way round;
this means that OF gets turned on when enabling a coretile which requires
it, and those coretiles are offered as choices even before OF is turned
on.  That feels like a sensible behaviour for the config.


While we're about this, building of the applicable dtbs is not currently
enabled.

Can we add this, so that "make dtbs" works?

diff --git a/arch/arm/mach-vexpress/Makefile.boot b/arch/arm/mach-vexpress/Makefile.boot
index 05b77a5..b89ffde 100644
--- a/arch/arm/mach-vexpress/Makefile.boot
+++ b/arch/arm/mach-vexpress/Makefile.boot
@@ -7,3 +7,7 @@ else
 params_phys-y	:= 0x60000100
 initrd_phys-y	:= 0x60800000
 endif
+
+dtb-$(CONFIG_ARCH_VEXPRESS_V2P_CA5S_CA9) += \
+					vexpress-v2p-ca5s.dtb \
+					vexpress-v2p-ca9.dtb

Cheers
---Dave

  reply	other threads:[~2011-11-30 12:08 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 15:11 [PATCH v3 0/5] Versatile Express DT support Pawel Moll
2011-11-29 15:11 ` Pawel Moll
2011-11-29 15:11 ` [PATCH v3 1/5] ARM: versatile: Add missing ENDPROC to headsmp.S Pawel Moll
2011-11-29 15:11   ` Pawel Moll
2011-11-29 15:11 ` [PATCH v3 2/5] ARM: vexpress: Get rid of MMIO_P2V Pawel Moll
2011-11-29 15:11   ` Pawel Moll
2011-11-29 21:15   ` Arnd Bergmann
2011-11-29 21:15     ` Arnd Bergmann
2011-11-30 11:34     ` Pawel Moll
2011-11-30 11:34       ` Pawel Moll
2011-11-30 13:48       ` Arnd Bergmann
2011-11-30 13:48         ` Arnd Bergmann
2011-11-30 13:52         ` Pawel Moll
2011-11-30 13:52           ` Pawel Moll
2011-11-29 15:11 ` [PATCH v3 3/5] ARM: vexpress: Add DT support in v2m Pawel Moll
2011-11-29 15:11   ` Pawel Moll
2011-11-29 21:19   ` Arnd Bergmann
2011-11-29 21:19     ` Arnd Bergmann
2011-11-30 11:46     ` Pawel Moll
2011-11-30 11:46       ` Pawel Moll
2011-11-30 13:34       ` Arnd Bergmann
2011-11-30 13:34         ` Arnd Bergmann
2011-11-30 13:38         ` Pawel Moll
2011-11-30 13:38           ` Pawel Moll
2011-11-30 15:10           ` Arnd Bergmann
2011-11-30 15:10             ` Arnd Bergmann
2011-11-30 15:58   ` Dave Martin
2011-11-30 15:58     ` Dave Martin
2011-11-30 18:46     ` Pawel Moll
2011-11-30 18:46       ` Pawel Moll
2011-12-01 10:57       ` Dave Martin
2011-12-01 10:57         ` Dave Martin
2011-12-05 16:25   ` Dave Martin
2011-12-05 16:25     ` Dave Martin
2011-12-05 16:30     ` Pawel Moll
2011-12-05 16:30       ` Pawel Moll
2011-11-29 15:11 ` [PATCH v3 4/5] ARM: vexpress: Initial RS1 memory map support Pawel Moll
2011-11-29 15:11   ` Pawel Moll
2011-11-30 15:37   ` Dave Martin
2011-11-30 15:37     ` Dave Martin
2011-11-30 17:15     ` Pawel Moll
2011-11-30 17:15       ` Pawel Moll
2011-11-30 17:54       ` Dave Martin
2011-11-30 17:54         ` Dave Martin
2011-11-30 18:31         ` Pawel Moll
2011-11-30 18:31           ` Pawel Moll
2011-11-30 20:43         ` Nicolas Pitre
2011-11-30 20:43           ` Nicolas Pitre
2011-11-30 20:48           ` Mark Brown
2011-11-30 20:48             ` Mark Brown
2011-11-30 21:21             ` Stephen Warren
2011-11-30 21:21               ` Stephen Warren
2011-11-30 21:38             ` Nicolas Pitre
2011-11-30 21:38               ` Nicolas Pitre
2011-11-30 21:50               ` Russell King - ARM Linux
2011-11-30 21:50                 ` Russell King - ARM Linux
2011-12-01  3:36                 ` Nicolas Pitre
2011-12-01  3:36                   ` Nicolas Pitre
2011-12-01 11:10               ` Mark Brown
2011-12-01 11:10                 ` Mark Brown
2011-12-01 12:14                 ` Dave Martin
2011-12-01 12:14                   ` Dave Martin
2011-12-01 16:19                   ` Stephen Warren
2011-12-01 16:19                     ` Stephen Warren
2011-12-02 17:41                     ` Stephen Warren
2011-12-02 17:41                       ` Stephen Warren
2011-12-02 19:06                       ` Marek Vasut
2011-12-02 19:06                         ` Marek Vasut
2011-12-02 19:28                       ` Dave Martin
2011-12-02 19:28                         ` Dave Martin
2011-12-02 22:52                       ` Nicolas Pitre
2011-12-02 22:52                         ` Nicolas Pitre
2011-12-02 23:03                         ` Marek Vasut
2011-12-02 23:03                           ` Marek Vasut
2011-12-01 18:37                 ` Russell King - ARM Linux
2011-12-01 18:37                   ` Russell King - ARM Linux
2011-11-29 15:11 ` [PATCH v3 5/5] ARM: vexpress: DT-based support for CoreTiles Express A5x2 and A9x4 Pawel Moll
2011-11-29 15:11   ` Pawel Moll
2011-11-29 16:40   ` Dave Martin
2011-11-29 16:40     ` Dave Martin
2011-11-30 18:39     ` Pawel Moll
2011-11-30 18:39       ` Pawel Moll
2011-12-01 12:21       ` Dave Martin
2011-12-01 12:21         ` Dave Martin
2011-12-05 17:24         ` Pawel Moll
2011-12-05 17:24           ` Pawel Moll
2011-12-05 17:37           ` Dave Martin
2011-12-05 17:37             ` Dave Martin
2011-12-05 17:47             ` Pawel Moll
2011-12-05 17:47               ` Pawel Moll
2011-12-05 18:06               ` Dave Martin
2011-12-05 18:06                 ` Dave Martin
2011-11-29 17:00 ` [PATCH v3 0/5] Versatile Express DT support Dave Martin
2011-11-29 17:00   ` Dave Martin
2011-11-29 17:16   ` Pawel Moll
2011-11-29 17:16     ` Pawel Moll
2011-11-30 10:48     ` Dave Martin
2011-11-30 10:48       ` Dave Martin
2011-11-30 11:14       ` Pawel Moll
2011-11-30 11:14         ` Pawel Moll
2011-11-30 12:08         ` Dave Martin [this message]
2011-11-30 12:08           ` Dave Martin
2011-11-30 12:15           ` Pawel Moll
2011-11-30 12:15             ` Pawel Moll
2011-11-29 21:24 ` Arnd Bergmann
2011-11-29 21:24   ` Arnd Bergmann

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=20111130120818.GB2045@localhost.localdomain \
    --to=dave.martin@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 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.