All of lore.kernel.org
 help / color / mirror / Atom feed
From: haojian.zhuang@linaro.org (Haojian Zhuang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 1/8] ARM: debug: add HiP04 debug uart
Date: Tue,  1 Apr 2014 16:03:43 +0800	[thread overview]
Message-ID: <1396339430-21084-2-git-send-email-haojian.zhuang@linaro.org> (raw)
In-Reply-To: <1396339430-21084-1-git-send-email-haojian.zhuang@linaro.org>

Add the support of Hisilicon HiP04 debug uart.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
---
 arch/arm/Kconfig.debug | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 9326c4c..a1d3c44 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 HiP01 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
-- 
1.8.3.2

  reply	other threads:[~2014-04-01  8:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01  8:03 [PATCH v1 0/8] support Hisilicon HiP04 Haojian Zhuang
2014-04-01  8:03 ` Haojian Zhuang [this message]
2014-04-01  8:03 ` [PATCH v1 2/8] ARM: hisi: add ARCH_HISI Haojian Zhuang
2014-04-01  8:03 ` [PATCH v1 3/8] irq: gic: use mask field in GICC_IAR Haojian Zhuang
2014-04-01  8:03 ` [PATCH v1 4/8] irq: gic: extends the cpu interface to 16 Haojian Zhuang
2014-04-01  8:03 ` [PATCH v1 5/8] ARM: mcpm: change max clusters to 4 Haojian Zhuang
2014-04-01  8:03 ` [PATCH v1 6/8] ARM: hisi: add hip04 SoC support Haojian Zhuang
2014-04-04 14:57   ` Kevin Hilman
2014-04-04 15:43     ` Arnd Bergmann
2014-04-06  2:01       ` Olof Johansson
2014-04-06 18:27         ` Arnd Bergmann
2014-04-01  8:03 ` [PATCH v1 7/8] ARM: dts: add hip04-d01 dts file Haojian Zhuang
2014-04-01  8:03 ` [PATCH v1 8/8] ARM: config: append hip04_defconfig Haojian Zhuang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396339430-21084-2-git-send-email-haojian.zhuang@linaro.org \
    --to=haojian.zhuang@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.