From patchwork Tue Apr 8 08:00:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 28033 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9828E20553 for ; Tue, 8 Apr 2014 18:07:11 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id if11sf3671513vcb.4 for ; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=/vcsb3sphnSi+tes0ZUJo1bfqNZbyaQin/CSsER2I1o=; b=DtsLcVWsffzi/Yy5O0gn+nfPeGgV38V1w8KibNzykRR4DT1ac6Rzzlbw20dZrLoQbt bx6PlWPANScHZqsHTe0C0RDAlAklm3a0ith5PIN/4/xuYmnXNcbMQp8irjWMt1LlTaa3 MU9sYUjv51fe0fkYiz9O0mcH6gqx3SPDBbiTotmsxwZ5dUCebKt1K5p6dnEbEdEDAFDU FJ9QJeODVynW42LdpQmpHr0+rmeX04u0o7mJNBK0POnwi3EojGjSfxoFtWVMX9IjjkcQ LjfyANtCGzmkpTkOjXh5OozYeXnmZZAFp+E8V+86wx4Gl/P2uU3Jl2oG03T3SeMU51No QhBw== X-Gm-Message-State: ALoCoQl2FahUAlQHkCUSwCJKyCDoWYXNKBAzJ6jSIiRTAYCpb3WZQibshiqq2DUUFu+BNhI/B/Sw X-Received: by 10.236.141.11 with SMTP id f11mr2419787yhj.54.1396980431345; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.66 with SMTP id h60ls305902qge.54.gmail; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) X-Received: by 10.52.164.237 with SMTP id yt13mr3716214vdb.18.1396980431216; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id gs7si541295vdc.92.2014.04.08.11.07.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 11:07:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so1127725vcb.32 for ; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) X-Received: by 10.52.69.146 with SMTP id e18mr3635028vdu.15.1396980431086; Tue, 08 Apr 2014 11:07:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp267006vcv; Tue, 8 Apr 2014 11:07:10 -0700 (PDT) X-Received: by 10.180.8.40 with SMTP id o8mr33215218wia.25.1396980430128; Tue, 08 Apr 2014 11:07:10 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id j20si1337995wiw.85.2014.04.08.11.07.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Apr 2014 11:07:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXxi-00080d-5b; Tue, 08 Apr 2014 15:29:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXwx-0005jN-TT; Tue, 08 Apr 2014 15:28:35 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXk1-0003gg-8s for linux-arm-kernel@merlin.infradead.org; Tue, 08 Apr 2014 15:15:13 +0000 Received: from mail-pb0-f44.google.com ([209.85.160.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXQyP-0000sY-ER for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2014 08:01:39 +0000 Received: by mail-pb0-f44.google.com with SMTP id rp16so689387pbb.3 for ; Tue, 08 Apr 2014 01:01:10 -0700 (PDT) X-Received: by 10.68.104.196 with SMTP id gg4mr2753361pbb.158.1396944070692; Tue, 08 Apr 2014 01:01:10 -0700 (PDT) Received: from localhost.localdomain ([162.243.130.63]) by mx.google.com with ESMTPSA id it4sm2764630pbd.48.2014.04.08.01.01.05 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 01:01:09 -0700 (PDT) From: Haojian Zhuang To: linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, linux@arm.linux.org.uk, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com Subject: [PATCH v2 01/12] ARM: debug: add HiP04 debug uart Date: Tue, 8 Apr 2014 16:00:41 +0800 Message-Id: <1396944052-9887-2-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> References: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140408_010137_528475_2625CA00 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: Haojian Zhuang 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add the support of Hisilicon HiP04 debug uart. Signed-off-by: Haojian Zhuang --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 7289853..fa1ebd5 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -223,6 +223,14 @@ choice Say Y here if you want kernel low-level debugging support on HI3716 UART. + config DEBUG_HIP04_UART + bool "Hisilicon HiP04 Debug UART" + depends on ARCH_HIP04 + select DEBUG_UART_8250 + help + Say Y here if you want kernel low-level debugging support + on HIP04 UART. + config DEBUG_HIGHBANK_UART bool "Kernel low-level debugging messages via Highbank UART" depends on ARCH_HIGHBANK @@ -1053,6 +1061,7 @@ config DEBUG_UART_PHYS default 0xd4017000 if DEBUG_MMP_UART2 default 0xd4018000 if DEBUG_MMP_UART3 default 0xe0000000 if ARCH_SPEAR13XX + default 0xe4007000 if DEBUG_HIP04_UART default 0xf0000be0 if ARCH_EBSA110 default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE default 0xf1012000 if ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \ @@ -1085,6 +1094,7 @@ config DEBUG_UART_VIRT default 0xf4090000 if ARCH_LPC32XX default 0xf4200000 if ARCH_GEMINI default 0xf7fc9000 if DEBUG_BERLIN_UART + default 0xf8007000 if DEBUG_HIP04_UART default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 default 0xfb009000 if DEBUG_REALVIEW_STD_PORT