From patchwork Fri Nov 16 19:43:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 199978 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 22D872C009A for ; Mon, 19 Nov 2012 21:42:45 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TaOkw-0000Tq-Gr; Mon, 19 Nov 2012 10:39:11 +0000 Received: from avon.wwwdotorg.org ([2001:470:1f0f:bd7::2]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TZRpi-0001tQ-FL for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2012 19:44:12 +0000 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id D70B56253; Fri, 16 Nov 2012 12:45:29 -0700 (MST) Received: from swarren-lx1.nvidia.com (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id E1EA9E47A4; Fri, 16 Nov 2012 12:44:08 -0700 (MST) From: Stephen Warren To: arm@kernel.org Subject: [GIT PULL 5/6] ARM: tegra: single-zImage preparation work Date: Fri, 16 Nov 2012 12:43:57 -0700 Message-Id: <1353095038-20031-5-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1353095038-20031-1-git-send-email-swarren@wwwdotorg.org> References: <1353095038-20031-1-git-send-email-swarren@wwwdotorg.org> X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.96.5 at avon.wwwdotorg.org X-Virus-Status: Clean X-Bad-Reply: References and In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121116_144410_801785_2E4AA854 X-CRM114-Status: GOOD ( 11.83 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -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] X-Mailman-Approved-At: Mon, 19 Nov 2012 05:36:51 -0500 Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Warren 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: , MIME-Version: 1.0 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 Various cleanups and enhancements are made to core Tegra code towards the aim of including Tegra in a multi-platform ARM kernel: RTC, timer, and TWD are configured via device tree. SPARSE_IRQ is enabled. Tegra's debug_ll options are simplified, and the macros brought into line with other multi-platform implementations, and moved to the new common location. Two headers still need to be eliminated in order to include Tegra in a multi-platform kernel/ . A new common API needs to be invented to replace parts of clk.h. powergate.h might be replaced by regulators; this needs more investigation. This pull request is based on tegra-for-3.8-dt, followed by a merge of arm-soc's devel/debug_ll_init branch. ---------------------------------------------------------------- The following changes since commit 9a2ab3f1fa01a146a395197153af0ae586e6a682: Merge remote-tracking branch 'korg_arm-soc/devel/debug_ll_init' into for-3.8/single-zimage are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git tegra-for-3.8-single-zimage for you to fetch changes up to 460678035247a9f72a4401dfeb6513ee495bf975: ARM: tegra: move debug-macro.S to include/debug ---------------------------------------------------------------- Stephen Warren (11): ARM: tegra: define DT bindings for and instantiate timer ARM: tegra: define DT bindings for and instantiate RTC ARM: tegra: add TWD to device tree ARM: timer: fix checkpatch warnings ARM: tegra: enhance timer.c to get IRQ info from device tree ARM: tegra: enhance timer.c to get IO address from device tree ARM: tegra: select SPARSE_IRQ ARM: tegra: simplify DEBUG_LL UART selection options ARM: tegra: decouple uncompress.h and debug-macro.S ARM: tegra: don't include iomap.h from debug-macro.S ARM: tegra: move debug-macro.S to include/debug .../bindings/rtc/nvidia,tegra20-rtc.txt | 19 ++ .../bindings/timer/nvidia,tegra20-timer.txt | 21 ++ .../bindings/timer/nvidia,tegra30-timer.txt | 23 ++ arch/arm/Kconfig | 1 + arch/arm/Kconfig.debug | 38 +++ arch/arm/boot/dts/tegra20.dtsi | 21 ++ arch/arm/boot/dts/tegra30.dtsi | 23 ++ arch/arm/include/debug/tegra.S | 223 ++++++++++++++++++ arch/arm/mach-tegra/Kconfig | 51 ---- arch/arm/mach-tegra/common.c | 9 +- arch/arm/mach-tegra/include/mach/debug-macro.S | 100 -------- arch/arm/mach-tegra/include/mach/irqs.h | 182 -------------- arch/arm/mach-tegra/include/mach/uncompress.h | 65 +---- arch/arm/mach-tegra/io.c | 1 + arch/arm/mach-tegra/iomap.h | 14 -- arch/arm/mach-tegra/irammap.h | 9 - arch/arm/mach-tegra/pcie.c | 3 + arch/arm/mach-tegra/timer.c | 78 ++++-- 18 files changed, 435 insertions(+), 446 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt create mode 100644 arch/arm/include/debug/tegra.S delete mode 100644 arch/arm/mach-tegra/include/mach/debug-macro.S delete mode 100644 arch/arm/mach-tegra/include/mach/irqs.h