From: Rob Clark <robdclark@gmail.com>
To: linux-arm-msm@vger.kernel.org
Cc: Rob Clark <robdclark@gmail.com>
Subject: [PATCH 1/3] mach-msm: add aqp8064 debug uart
Date: Mon, 16 Dec 2013 12:00:52 -0500 [thread overview]
Message-ID: <1387213254-23020-2-git-send-email-robdclark@gmail.com> (raw)
In-Reply-To: <1387213254-23020-1-git-send-email-robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
arch/arm/Kconfig.debug | 9 +++++++++
arch/arm/include/debug/msm.S | 5 +++++
2 files changed, 14 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 5765abf..de9207d 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -357,6 +357,15 @@ choice
Say Y here if you want the debug print routines to direct
their output to the serial port on MSM 8960 devices.
+ config DEBUG_APQ8064_UART
+ bool "Kernel low-level debugging messages via APQ 8064 UART"
+ depends on ARCH_MSM8960
+ select MSM_HAS_DEBUG_UART_HS
+ select DEBUG_MSM_UART
+ help
+ Say Y here if you want the debug print routines to direct
+ their output to the serial port on APQ 8064 devices.
+
config DEBUG_MSM8974_UART
bool "Kernel low-level debugging messages via MSM 8974 UART"
depends on ARCH_MSM8974
diff --git a/arch/arm/include/debug/msm.S b/arch/arm/include/debug/msm.S
index 9d653d4..08dc880 100644
--- a/arch/arm/include/debug/msm.S
+++ b/arch/arm/include/debug/msm.S
@@ -46,6 +46,11 @@
#define MSM_DEBUG_UART_PHYS 0x16440000
#endif
+#ifdef CONFIG_DEBUG_APQ8064_UART
+#define MSM_DEBUG_UART_BASE 0xFA740000
+#define MSM_DEBUG_UART_PHYS 0x16640000
+#endif
+
#ifdef CONFIG_DEBUG_MSM8974_UART
#define MSM_DEBUG_UART_BASE 0xFA71E000
#define MSM_DEBUG_UART_PHYS 0xF991E000
--
1.8.4.2
next prev parent reply other threads:[~2013-12-16 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-16 17:00 [PATCH 0/3] Basic support for inforce IFC6410 board Rob Clark
2013-12-16 17:00 ` Rob Clark [this message]
2013-12-16 17:26 ` [PATCH 1/3] mach-msm: add aqp8064 debug uart Christopher Covington
2013-12-16 17:39 ` Rob Clark
2013-12-16 17:00 ` [PATCH 2/3] mach-msm: enable sparsemem for 8960 Rob Clark
2013-12-16 19:32 ` Rob Clark
2013-12-16 17:00 ` [RFC 3/3] RFC: mach-msm: add DT for ifc6410 (apq8064) Rob Clark
2013-12-16 19:57 ` Stephen Boyd
2013-12-16 20:03 ` Olof Johansson
2013-12-16 20:10 ` Rob Clark
2013-12-16 20:14 ` Olof Johansson
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=1387213254-23020-2-git-send-email-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=linux-arm-msm@vger.kernel.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.