From patchwork Sun Dec 8 14:14:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 3306741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 674BDC0D4A for ; Sun, 8 Dec 2013 14:15:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBDB220295 for ; Sun, 8 Dec 2013 14:15:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 04ADC2008F for ; Sun, 8 Dec 2013 14:15:47 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vpf8U-0001i9-LK; Sun, 08 Dec 2013 14:15:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vpf8M-0002yp-VX; Sun, 08 Dec 2013 14:14:58 +0000 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vpf83-0002uJ-KJ for linux-arm-kernel@lists.infradead.org; Sun, 08 Dec 2013 14:14:40 +0000 Received: by mail-ea0-f175.google.com with SMTP id z10so1091802ead.34 for ; Sun, 08 Dec 2013 06:14:18 -0800 (PST) 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=9XHkzaKH9TzVZ8CFj1QdAzJ6CE3msg3wuvwGlM7kYUA=; b=EAK+jp+/TEdV7xAScoV5CUD8RbPSOyidPhnamWTgMSI8I3fXNqe7LGPPmy2Pip4Hdg G6aB3k/EtPOw0mJzmAoSYbpR8LKeULeqUsiPD/ZCehsf6QGDnXteboH9GfaXtEYMfXBx Gx8IZTHmSjEGFb1Ieo2f7j/iXCK6T93njiZNJ7or7bnWUCBtCqtG+aBx+7GVvREFPo6q yJJmHVn0KCjoqXlvxDZMmc00fWcKpR8Tq+vNXD8CSKKCpeVvKnW2JRZiiZpVc2rlXutZ Bhxymf0G24Wcn4sRDqztcrt07Lzgy2WIicH/XHQbNg0ew/SOl3k8avkdXso+xEATi0t0 Qcbw== X-Received: by 10.14.199.1 with SMTP id w1mr9362088een.29.1386512058327; Sun, 08 Dec 2013 06:14:18 -0800 (PST) Received: from topkick.lan (dslc-082-083-251-183.pools.arcor-ip.net. [82.83.251.183]) by mx.google.com with ESMTPSA id v1sm17683635eef.9.2013.12.08.06.14.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Dec 2013 06:14:17 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH v4 6/9] ARM: add Marvell Berlin UART0 lowlevel debug Date: Sun, 8 Dec 2013 15:14:03 +0100 Message-Id: <1386512047-874-7-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1386512047-874-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1383661723-17956-1-git-send-email-sebastian.hesselbarth@gmail.com> <1386512047-874-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131208_091439_783149_63A4F9DD X-CRM114-Status: GOOD ( 11.07 ) X-Spam-Score: -2.0 (--) Cc: Kevin Hilman , Russell King , Arnd Bergmann , linux-kernel@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-4.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 This adds UART0 as found on Marvell 88DE3xxx SoCs, e.g. Armada 1500 to the list of possible lowlevel debug options. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Jason Cooper Reviewed-by: Thomas Petazzoni Reviewed-by: Arnd Bergmann --- Changelog: v2->v4: - none v1->v2: - replace 88DE3xxx numbering with SoC variant name (Requested by Jisheng Zhang) RFCv1->RFCv2: - have separate DEBUG option due to separate mach- directory Cc: Russell King Cc: Olof Johansson Cc: Arnd Bergmann Cc: Kevin Hilman Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 5765abf..2571558 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -94,6 +94,14 @@ choice depends on ARCH_BCM2835 select DEBUG_UART_PL01X + config DEBUG_BERLIN_UART + bool "Marvell Berlin SoC Debug UART" + depends on ARCH_BERLIN + select DEBUG_UART_8250 + help + Say Y here if you want kernel low-level debugging support + on Marvell Berlin SoC based platforms. + config DEBUG_CLPS711X_UART1 bool "Kernel low-level debugging messages via UART1" depends on ARCH_CLPS711X @@ -1011,6 +1019,7 @@ config DEBUG_UART_PHYS default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE default 0xf1012000 if ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \ ARCH_ORION5X + default 0xf7fc9000 if DEBUG_BERLIN_UART default 0xf8b00000 if DEBUG_HI3716_UART default 0xfcb00000 if DEBUG_HI3620_UART default 0xfe800000 if ARCH_IOP32X @@ -1036,6 +1045,7 @@ config DEBUG_UART_VIRT default 0xf2100000 if DEBUG_PXA_UART1 default 0xf4090000 if ARCH_LPC32XX default 0xf4200000 if ARCH_GEMINI + default 0xf7fc9000 if DEBUG_BERLIN_UART default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 default 0xfb009000 if DEBUG_REALVIEW_STD_PORT