From patchwork Fri Apr 18 06:05:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 28615 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 009D12013D for ; Fri, 18 Apr 2014 06:12:11 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id pa12sf5127465veb.8 for ; Thu, 17 Apr 2014 23:12: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=z11+lX8Hx8UWbf21deL914VHBWkoWB9GI3ORlHXsNDk=; b=V0uXFxr8QWr4SC6vb5LHaSo1Ld4iyel7fvLst/O7GNcM+GYQcPwV4DklRXqOPIwdBe Y4kXggSXXrXVZwgNIkrU31AB9FRlq/fAur9bftlz1QMux0UNysCV7q8+/Bpmf6VZ4+pi Hn+/TWj9dyw0Rc5bA9umkg5R/pLo3JvoSFM/rkByBCpjUqTuDK0p7u/lnxk1D8Mh2h9r quF8OpXkBhJb8t27BIA92SYNOk0YINrUwtwHZ6msblQ0LIW1poR0R9b9RpyGq2cFzjya bfEnW3MTIkj0937twVGuCmLPijJph5b0D7nReEma4edBd7eQtA0gfemGW+0fjT5jdCmd dW/g== X-Gm-Message-State: ALoCoQmTyln5v3BJq5U+A1gD01RzEAkRYSyPsul+z7w/2mQdtVNLIfMLQribrg7GOBHG8JKRVPvh X-Received: by 10.58.105.105 with SMTP id gl9mr9081384veb.17.1397801531770; Thu, 17 Apr 2014 23:12:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.11 with SMTP id t11ls1361568qga.96.gmail; Thu, 17 Apr 2014 23:12:11 -0700 (PDT) X-Received: by 10.52.191.100 with SMTP id gx4mr10499407vdc.4.1397801531671; Thu, 17 Apr 2014 23:12:11 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id kj3si4210606vdb.60.2014.04.17.23.12.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 23:12:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id db12so2108772veb.38 for ; Thu, 17 Apr 2014 23:12:11 -0700 (PDT) X-Received: by 10.220.12.66 with SMTP id w2mr11421360vcw.15.1397801531593; Thu, 17 Apr 2014 23:12: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.221.72 with SMTP id ib8csp89387vcb; Thu, 17 Apr 2014 23:12:11 -0700 (PDT) X-Received: by 10.224.21.197 with SMTP id k5mr18039487qab.3.1397801530957; Thu, 17 Apr 2014 23:12:10 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id p8si626350qag.99.2014.04.17.23.12.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2014 23:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; 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 1Wb20Y-0001ts-W3; Fri, 18 Apr 2014 06:10:42 +0000 Received: from mail-pb0-f48.google.com ([209.85.160.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wb20W-0000i4-Oe for linux-arm-kernel@lists.infradead.org; Fri, 18 Apr 2014 06:10:41 +0000 Received: by mail-pb0-f48.google.com with SMTP id md12so1159230pbc.21 for ; Thu, 17 Apr 2014 23:10:19 -0700 (PDT) X-Received: by 10.68.178.131 with SMTP id cy3mr20297438pbc.146.1397801419708; Thu, 17 Apr 2014 23:10:19 -0700 (PDT) Received: from localhost.localdomain ([140.206.182.114]) by mx.google.com with ESMTPSA id tk5sm57498473pbc.63.2014.04.17.23.06.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 23:10:18 -0700 (PDT) From: Haojian Zhuang To: tglx@linutronix.de, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com, marc.zyngier@arm.com, christoffer.dall@linaro.org, Dave.Martin@arm.com, nicolas.pitre@linaro.org Subject: [PATCH v3 01/13] ARM: debug: add HiP04 debug uart Date: Fri, 18 Apr 2014 14:05:44 +0800 Message-Id: <1397801156-25682-2-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1397801156-25682-1-git-send-email-haojian.zhuang@linaro.org> References: <1397801156-25682-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140417_231040_821109_332250C6 X-CRM114-Status: GOOD ( 10.55 ) 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.48 listed in list.dnswl.org] 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.128.179 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 4a2fc0b..5a311af 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 @@ -1044,6 +1052,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 || \ @@ -1076,6 +1085,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