From patchwork Thu Jan 24 11:10:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroshi Doyu X-Patchwork-Id: 215318 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 59D942C0040 for ; Thu, 24 Jan 2013 22:14:50 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TyKiK-0006NA-03; Thu, 24 Jan 2013 11:11:24 +0000 Received: from hqemgate04.nvidia.com ([216.228.121.35]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TyKi7-0006Ma-WC for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2013 11:11:13 +0000 Received: from hqnvupgp05.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id ; Thu, 24 Jan 2013 03:10:40 -0800 Received: from hqemhub01.nvidia.com ([172.17.108.22]) by hqnvupgp05.nvidia.com (PGP Universal service); Thu, 24 Jan 2013 03:10:53 -0800 X-PGP-Universal: processed; by hqnvupgp05.nvidia.com on Thu, 24 Jan 2013 03:10:53 -0800 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by hqemhub01.nvidia.com (172.20.150.30) with Microsoft SMTP Server id 8.3.297.1; Thu, 24 Jan 2013 03:10:53 -0800 Received: from daphne.nvidia.com (Not Verified[172.16.212.96]) by hqnvemgw02.nvidia.com with MailMarshal (v6,7,2,8378) id ; Thu, 24 Jan 2013 03:10:53 -0800 Received: from oreo.Nvidia.com (dhcp-10-21-25-186.nvidia.com [10.21.25.186]) by daphne.nvidia.com (8.13.8+Sun/8.8.8) with ESMTP id r0OBAjPo028032; Thu, 24 Jan 2013 03:10:45 -0800 (PST) From: Hiroshi Doyu To: Subject: [v4 0/6] ARM: Initial support for Tegra114 SoC Date: Thu, 24 Jan 2013 13:10:20 +0200 Message-ID: <1359025829-22306-1-git-send-email-hdoyu@nvidia.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130124_061112_217663_FBFCD8B7 X-CRM114-Status: GOOD ( 14.08 ) X-Spam-Score: -4.6 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [216.228.121.35 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Andrew Lunn , Kukjin Kim , Russell King , Jason Cooper , Stephen Warren , linux-kernel@vger.kernel.org, Olof Johansson , Shawn Guo , linux-arm-kernel@lists.infradead.org, Hiroshi Doyu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi, This patchset adds initial support for NVIDIA's new Tegra114 SoC (T114) based on the ARM Cortex-A15 MP. This has the minimal support to allow the kernel to boot up into shell console. This can be used as a basis for adding other device drivers for this SoC. Currently there are 2 evaluation boards available, "Dalmore" and "Pluto". For those who want to try: $ make ARCH=arm tegra_defconfig $ scripts/config -e ARCH_TEGRA_114_SOC -d SMP -d DRM -d SUSPEND \ -d PM_RUNTIME -d CPU_FREQ -d CPU_IDLE -d HOTPLUG_CPU $ make ARCH=arm menuconfig # if needed to configure more $ make ARCH=arm all -j9 You may also want to enable CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT if the bootloader doesn't support DT yet. Verified that this single image booted up with "Dalmore(T114)", "Pluto(T114)" and "Cardhu(T30)". For "Cardhu(T30)" with this single image, SPI driver doesn't seem to afford the above configuration , it hangs at boot-up. With SPI disabled, it's ok. The following changes since commit ac8963ed5d41573c724ce6c1e17f5182d476f2e6: ARM: tegra: Add CPU nodes to Tegra30 device tree (2013-01-23 10:16:18 -0700) are available in the git repository at: git://nv-tegra.nvidia.com/user/hdoyu/linux.git tegra114-base for you to fetch changes up to ce08503daaffdffd00e8ebdea8c425d68f287efb: ARM: tegra: Add initial support for Tegra114 SoC. (2013-01-24 10:10:12 +0200) ---------------------------------------------------------------- v4: Rebased onto Stephen's for-3.9/soc(inc. CCF) Removed SCU related pathces. v3: Rebased onto next-20130115. Dropped TSC/arch timer patch. Use /cpus entry in DT to detect cpu core #. v2: Rebased against the latest Stephen Warren's linux-next_common Add /cpus entry in DT Add comment to initialize TSC only in secure mode. Hiroshi Doyu (6): ARM: tegra: Use DT /cpu node to detect number of CPU core ARM: tegra: fuse: Add chip ID Tegra114 0x35 ARM: dt: tegra114: Add new SoC base, Tegra114 SoC ARM: dt: tegra114: Add new board, Dalmore ARM: dt: tegra114: Add new board, Pluto ARM: tegra: Add initial support for Tegra114 SoC. arch/arm/boot/dts/Makefile | 4 +- arch/arm/boot/dts/tegra114-dalmore.dts | 21 ++++++ arch/arm/boot/dts/tegra114-pluto.dts | 21 ++++++ arch/arm/boot/dts/tegra114.dtsi | 114 +++++++++++++++++++++++++++++++ arch/arm/mach-tegra/Kconfig | 10 +++ arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/board-dt-tegra114.c | 48 +++++++++++++ arch/arm/mach-tegra/common.c | 1 + arch/arm/mach-tegra/fuse.h | 1 + arch/arm/mach-tegra/platsmp.c | 15 ---- 10 files changed, 220 insertions(+), 16 deletions(-) create mode 100644 arch/arm/boot/dts/tegra114-dalmore.dts create mode 100644 arch/arm/boot/dts/tegra114-pluto.dts create mode 100644 arch/arm/boot/dts/tegra114.dtsi create mode 100644 arch/arm/mach-tegra/board-dt-tegra114.c