From patchwork Mon Aug 4 02:58:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 34752 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 89E532396D for ; Mon, 4 Aug 2014 03:03:04 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf12245383igb.11 for ; Sun, 03 Aug 2014 20:03:04 -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=M/UQsnUXe6iqY6Ua1O/VpFu8NwWv6yTm7Eub4piQoQY=; b=OCDlg7hPRocy1759zWE/Ev+LPw0l9Zz+4R6uNWl05+Pp6Aphz5BQa3arxDOx9Rmabo 7Sy7cgcId/wzPPSE3m3K7MRvX+TLjgzoa5ntZkWz96kAO4z8j/cVwYAeEMgu9kWNTvA6 4LrefSPrAld1ozZHrIO1wxh1IHDnfe49rS5JsCr0q6Jzaa606Mi8wGkUHFtj82hMoavR FVWGt3JvToe13xGRjURsvKP3MgozF2aS1I1wa0aXJ8HnUB6Oml3HMTKHz4vnzk7BOrJJ tx1rCb5/A4PvWQY+0RocOsYRahvmQ/tYUfDEixXh3VH7iIlziTslFgGXmsI2IVHpt29I uLQw== X-Gm-Message-State: ALoCoQn9x0nryFuOHYvI5GEYBbUIHNyzc6o55s/T4wDOKQoKlgMrFph/S+0rG3y44ujKAFcFExAE X-Received: by 10.182.102.34 with SMTP id fl2mr8262226obb.16.1407121384025; Sun, 03 Aug 2014 20:03:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.233 with SMTP id j96ls2019693qgd.80.gmail; Sun, 03 Aug 2014 20:03:03 -0700 (PDT) X-Received: by 10.220.190.134 with SMTP id di6mr20601371vcb.43.1407121383919; Sun, 03 Aug 2014 20:03:03 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id d3si11273742vck.42.2014.08.03.20.03.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Aug 2014 20:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so9981734vcb.22 for ; Sun, 03 Aug 2014 20:03:03 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr20808452vck.29.1407121383825; Sun, 03 Aug 2014 20:03:03 -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.221.37.5 with SMTP id tc5csp267777vcb; Sun, 3 Aug 2014 20:03:03 -0700 (PDT) X-Received: by 10.66.154.200 with SMTP id vq8mr21297711pab.69.1407121382065; Sun, 03 Aug 2014 20:03:02 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id uk2si16132410pbc.200.2014.08.03.20.03.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Aug 2014 20:03:02 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) 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 1XE8Wr-0008Cc-3m; Mon, 04 Aug 2014 03:01:41 +0000 Received: from mail-pd0-f176.google.com ([209.85.192.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XE8WS-0007bt-RY for linux-arm-kernel@lists.infradead.org; Mon, 04 Aug 2014 03:01:17 +0000 Received: by mail-pd0-f176.google.com with SMTP id y10so8810376pdj.35 for ; Sun, 03 Aug 2014 20:00:56 -0700 (PDT) X-Received: by 10.70.133.33 with SMTP id oz1mr21109106pdb.72.1407121255923; Sun, 03 Aug 2014 20:00:55 -0700 (PDT) Received: from localhost.localdomain ([98.126.25.141]) by mx.google.com with ESMTPSA id jb5sm15729523pbd.73.2014.08.03.20.00.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Aug 2014 20:00:55 -0700 (PDT) From: Haojian Zhuang To: arnd@arndb.de, olof@lixom.net, marc.zyngier@arm.com, jason@lakedaemon.net, linux-arm-kernel@lists.infradead.org, nicolas.pitre@linaro.org, khilman@linaro.org, xuwei5@hisilicon.com, arm@kernel.org Subject: [PATCH v16 7/9] ARM: debug: add HiP04 debug uart Date: Mon, 4 Aug 2014 10:58:06 +0800 Message-Id: <1407121088-4151-8-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407121088-4151-1-git-send-email-haojian.zhuang@linaro.org> References: <1407121088-4151-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140803_200116_918779_BA6BD305 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.176 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.176 listed in wl.mailspike.net] Cc: Haojian Zhuang 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+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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) 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 d061de0..c6499cc 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -231,6 +231,14 @@ choice Say Y here if you want kernel low-level debugging support on Hix5hd2 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 @@ -1095,6 +1103,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 || \ @@ -1136,6 +1145,7 @@ config DEBUG_UART_VIRT default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) 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 0xfa71e000 if DEBUG_QCOM_UARTDM