Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751023Ab3HSIrN (ORCPT ); Mon, 19 Aug 2013 04:47:13 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:52902 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770Ab3HSIrM (ORCPT ); Mon, 19 Aug 2013 04:47:12 -0400 From: Arnd Bergmann To: Sebastian Hesselbarth Subject: Re: [RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files Date: Mon, 19 Aug 2013 10:46:13 +0200 User-Agent: KMail/1.12.2 (Linux/3.8.0-22-generic; KDE/4.3.2; x86_64; ; ) Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Russell King , Jason Cooper , Andrew Lunn , Gregory Clement , Thomas Petazzoni , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1376682098-10580-1-git-send-email-sebastian.hesselbarth@gmail.com> <201308172128.35245.arnd@arndb.de> <521154A9.3000505@gmail.com> In-Reply-To: <521154A9.3000505@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201308191046.13504.arnd@arndb.de> X-Provags-ID: V02:K0:J/5AFx85C3obYhAfF64Y9HctRENVfUQC3c31bgVe58R RH+qRNbELXkdPLh2neDG3T4H2fSxRyJQPEINYcOHtMZ7OGEeCV 6nswDNMjRyCZ78EfFE3ALcyBUsmyLshN0ufwSqur0uwmsZ4rIy CdrvfbupG4EMDZSp30ZTlVzwCcitVPMvl5cdrTdk/pOc/Yo4vW V/3yFmoxC2C1+gDhOJ6DkOqKdkBFPClP8MGh2Lmlt7Gk7VS4uc BopyCUnzP9jZF3j7lnD0kQzK1dbrx8qlEKxt0kG7dxr9BSU8kX QddQzvfalhzssOS/4OaTnE12XkTkI6p1BrACQ+Eta2XN93E52b y616/XYPegl99Pf1qcoE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5291 Lines: 103 On Monday 19 August 2013, Sebastian Hesselbarth wrote: > On 08/17/2013 09:28 PM, Arnd Bergmann wrote: > > On Friday 16 August 2013, Sebastian Hesselbarth wrote: > > This seems like a strange combination. I would have expected either PJ4+Aurora+apbtimer > > or A9+pl310+localtimer, based on what I found in the chromecast kernel source. > > Do you have more information here about what is used on the two variants? > > I have no clue, what combination it really is. Unfortunately, > Marvell didn't release any open datasheets, of course. > > I can only look at GPL'd Asus Cube kernel, I used for getting an idea > of what was required for initial support and reg offsets, irqs and > friends. They bring up twd as localtimer. Also, grep'ing the Cube > kernel sources in mach-mv88de3100 gives hits for CONFIG_PJ4 (note the > missing B), l2x0, smp_twd, apb_timer. > > No hits for pl310, A9. I found this snippet in Kconfig for the Chromecast: config ARCH_MV88DE3100_BG2 bool "BG2 family" help Support for Marvell BG2 processors, based on the Marvell PJ4B CPU and the Marvell TAUROS3 L2 cache controller, or the ARM CortexA9 CPU and the ARM PL310 L2 cache controller config ARCH_MV88DE3100_BG3 bool "BG3 family" help Support for Marvell BG3 processors, based on the ARM CortexA9MP CPU and the ARM PL310 L2 cache controller A9 will always work when CPU_V7 is set, it doesn't have a Kconfig option. When CPU_PJ4 is set, it will work on both. Regarding the other options, this is what I found from the defconfigs in chromecast: $ git grep LOCAL_TIMER arch/arm/configs/*mv88* arch/arm/configs/mv88de3100_ax_android_defconfig:CONFIG_LOCAL_TIMERS=y arch/arm/configs/mv88de3100_ax_defconfig.bg2:CONFIG_LOCAL_TIMERS=y arch/arm/configs/mv88de3100_ax_emmc_android_defconfig:CONFIG_LOCAL_TIMERS=y arch/arm/configs/mv88de3100_ax_linux_defconfig:CONFIG_LOCAL_TIMERS=y $ git grep CONFIG_SMP= arch/arm/configs/*mv88* arch/arm/configs/mv88de3100_ax_android_defconfig:CONFIG_SMP=y arch/arm/configs/mv88de3100_ax_defconfig.bg2:CONFIG_SMP=y arch/arm/configs/mv88de3100_ax_emmc_android_defconfig:CONFIG_SMP=y arch/arm/configs/mv88de3100_ax_linux_defconfig:CONFIG_SMP=y $ git grep CPU_PJ4 arch/arm/configs/*mv88* arch/arm/configs/eureka_mv88de31xx_defconfig:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_android_defconfig:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_bg2a0_rdkdmp_dongle_defconfig:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_defconfig.bg2:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dmp:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dmp_nol2:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dngle_256:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dngle_nol2:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_emmc_android_defconfig:CONFIG_CPU_PJ4=y arch/arm/configs/mv88de3100_ax_linux_defconfig:CONFIG_CPU_PJ4=y $ git grep CACHE_TAUROS3= arch/arm/configs/*mv88* arch/arm/configs/eureka_mv88de31xx_defconfig:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_android_defconfig:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_bg2a0_rdkdmp_dongle_defconfig:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_defconfig.bg2:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dmp:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dngle_256:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_emmc_android_defconfig:CONFIG_CACHE_TAUROS3=y arch/arm/configs/mv88de3100_ax_linux_defconfig:CONFIG_CACHE_TAUROS3=y $ git grep CACHE_PL310 arch/arm/configs/*mv88* arch/arm/configs/eureka_mv88de30xx_defconfig:CONFIG_CACHE_PL310=y $ git grep L2X arch/arm/configs/*mv88* arch/arm/configs/eureka_mv88de30xx_defconfig:CONFIG_CACHE_L2X0=y $ git grep MV88DE3100_BG....= arch/arm/configs/*mv88* arch/arm/configs/eureka_mv88de30xx_defconfig:CONFIG_MV88DE3100_BG2_CD=y arch/arm/configs/eureka_mv88de31xx_defconfig:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_android_defconfig:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_bg2a0_rdkdmp_dongle_defconfig:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_defconfig.bg2:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dmp:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dmp_nol2:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dngle_256:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_defconfig.bg2cd_dngle_nol2:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_emmc_android_defconfig:CONFIG_MV88DE3100_BG2_A0=y arch/arm/configs/mv88de3100_ax_linux_defconfig:CONFIG_MV88DE3100_BG2_A0=y Evidently, the only defconfig that is for Cortex-A9 is eureka_mv88de30xx_defconfig, which is used on the Chromecast and has version MV88DE3100_BG2_CD (presumably renamed to product number de3005). LOCAL_TIMER is used exactly on those that have SMP support here, which makes sense. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/