From patchwork Thu Jul 31 16:42:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 4657731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CD97E9F377 for ; Thu, 31 Jul 2014 16:45:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F2759200E9 for ; Thu, 31 Jul 2014 16:45:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D1BB20149 for ; Thu, 31 Jul 2014 16:45:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCtSC-0008WR-IN; Thu, 31 Jul 2014 16:43:44 +0000 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCtRb-00086f-Or for linux-arm-kernel@lists.infradead.org; Thu, 31 Jul 2014 16:43:08 +0000 Received: by mail-wi0-f181.google.com with SMTP id bs8so4487671wib.14 for ; Thu, 31 Jul 2014 09:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q+o4mOvp3/O+PkNl6K6IgyoVOnSWM5mnADVUCpw4Cn4=; b=DElZuM8Y3LIFaPSxzpB5PAxlVxfIviOWgZm6J6T09DX5A36NOhM5NEg7Jg+iZUBcwm MPLkMP+ROh+6bvUA5N53dSA4tiFBXxoaxEU9H4ihHNy/lG/lfww0afKytKjgytpFOvTr c8azJame+Pi9qkF6Dm0SFzkQqbePjgEf4lqAwpDpq+4flVwrq7k6tK65W0o5iZTSe5u7 i0oTdHBlSzHl6NJhGitSBRKyxq/6Zm/6auCMqoUgdRRQqcL+u4PbMs1RZeqM9ydP0szr 1yBLeonSxPOCHIErQX4nYVfewZ8oMayonnY8M/YKDH7OxfVPtvqHejHuVDs2/0ONzStG VfpQ== X-Received: by 10.180.37.70 with SMTP id w6mr18329748wij.49.1406824964714; Thu, 31 Jul 2014 09:42:44 -0700 (PDT) Received: from localhost.localdomain (146.Red-83-38-149.dynamicIP.rima-tde.net. [83.38.149.146]) by mx.google.com with ESMTPSA id t6sm22132732wib.4.2014.07.31.09.42.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jul 2014 09:42:43 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Subject: [PATCH 4/7] arm: mediatek: Add earlyprintk support for mt6589 Date: Thu, 31 Jul 2014 18:42:20 +0200 Message-Id: <1406824943-24052-5-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1406824943-24052-1-git-send-email-matthias.bgg@gmail.com> References: <1406824943-24052-1-git-send-email-matthias.bgg@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140731_094307_959476_AC3B1FC5 X-CRM114-Status: GOOD ( 11.03 ) X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, thomas.petazzoni@free-electrons.com, linux@arm.linux.org.uk, arnd@arndb.de, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linus.walleij@linaro.org, heiko@sntech.de, stefan@agner.ch, matthias.bgg@gmail.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, galak@codeaurora.org, olof@lixom.net, swarren@nvidia.com, maxime.ripard@free-electrons.com, sebastian.hesselbarth@gmail.com, anders.berg@lsi.com, jason@lakedaemon.net X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable low-level debug for Mediatek mt6589 SoC on UART0. Signed-off-by: Matthias Brugger --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 8f90595..8ee127e 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -818,6 +818,14 @@ choice Say Y here if you want kernel low-level debugging support on Ux500 based platforms. + config DEBUG_MT6589_UART0 + bool "Mediatek mt6589 UART0" + depends on ARCH_MEDIATEK + select DEBUG_UART_8250 + help + Say Y here if you want kernel low-level debugging support + for Mediatek mt6589 based platforms on UART0. + config DEBUG_VEXPRESS_UART0_DETECT bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" depends on ARCH_VEXPRESS && CPU_CP15_MMU @@ -1053,6 +1061,7 @@ config DEBUG_UART_PHYS default 0x10126000 if DEBUG_RK3X_UART1 default 0x101f1000 if ARCH_VERSATILE default 0x101fb000 if DEBUG_NOMADIK_UART + default 0x11006000 if DEBUG_MT6589_UART0 default 0x16000000 if ARCH_INTEGRATOR default 0x18000300 if DEBUG_BCM_5301X default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 @@ -1114,6 +1123,7 @@ config DEBUG_UART_VIRT default 0xf01fb000 if DEBUG_NOMADIK_UART default 0xf0201000 if DEBUG_BCM2835 default 0xf1000300 if DEBUG_BCM_5301X + default 0xf1006000 if DEBUG_MT6589_UART0 default 0xf11f1000 if ARCH_VERSATILE default 0xf1600000 if ARCH_INTEGRATOR default 0xf1c28000 if DEBUG_SUNXI_UART0