From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Clark Subject: [PATCH 1/3] mach-msm: add aqp8064 debug uart Date: Mon, 16 Dec 2013 12:00:52 -0500 Message-ID: <1387213254-23020-2-git-send-email-robdclark@gmail.com> References: <1387213254-23020-1-git-send-email-robdclark@gmail.com> Return-path: Received: from mail-qc0-f176.google.com ([209.85.216.176]:43819 "EHLO mail-qc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754469Ab3LPRBE (ORCPT ); Mon, 16 Dec 2013 12:01:04 -0500 Received: by mail-qc0-f176.google.com with SMTP id i8so3864815qcq.7 for ; Mon, 16 Dec 2013 09:01:04 -0800 (PST) In-Reply-To: <1387213254-23020-1-git-send-email-robdclark@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: linux-arm-msm@vger.kernel.org Cc: Rob Clark Signed-off-by: Rob Clark --- 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