From: Yingjoe Chen <yingjoe.chen@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>, arm@kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Russell King <linux@arm.linux.org.uk>,
srv_heupstream@mediatek.com, Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
hc.yen@mediatek.com, yh.chen@mediatek.com,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
nathan.chung@mediatek.com, Sascha Hauer <kernel@pengutronix.de>,
Kumar Gala <galak@codeaurora.org>,
Olof Johansson <olof@lixom.net>,
"Joe.C" <yingjoe.chen@mediatek.com>,
eddie.huang@mediatek.com, yingjoe.chen@gmail.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 7/8] ARM: mediatek: Add earlyprintk support for mt8127 & mt8135
Date: Tue, 4 Nov 2014 15:30:54 +0800 [thread overview]
Message-ID: <1415086255-5555-8-git-send-email-yingjoe.chen@mediatek.com> (raw)
In-Reply-To: <1415086255-5555-1-git-send-email-yingjoe.chen@mediatek.com>
From: "Joe.C" <yingjoe.chen@mediatek.com>
Enable low-level debug for Mediatek mt8127 & mt8135 SoC.
Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
---
arch/arm/Kconfig.debug | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 03dc4c1..7d78ed7 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -866,6 +866,22 @@ choice
Say Y here if you want kernel low-level debugging support
for Mediatek mt6589 based platforms on UART0.
+ config DEBUG_MT8127_UART0
+ bool "Mediatek mt8127 UART0"
+ depends on ARCH_MEDIATEK
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ for Mediatek mt8127 based platforms on UART0.
+
+ config DEBUG_MT8135_UART3
+ bool "Mediatek mt8135 UART3"
+ depends on ARCH_MEDIATEK
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ for Mediatek mt8135 based platforms on UART3.
+
config DEBUG_VEXPRESS_UART0_DETECT
bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
depends on ARCH_VEXPRESS && CPU_CP15_MMU
@@ -1113,7 +1129,9 @@ config DEBUG_UART_PHYS
default 0x10126000 if DEBUG_RK3X_UART1
default 0x101f1000 if ARCH_VERSATILE
default 0x101fb000 if DEBUG_NOMADIK_UART
+ default 0x11002000 if DEBUG_MT8127_UART0
default 0x11006000 if DEBUG_MT6589_UART0
+ default 0x11009000 if DEBUG_MT8135_UART3
default 0x16000000 if ARCH_INTEGRATOR
default 0x18000300 if DEBUG_BCM_5301X
default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
@@ -1181,7 +1199,9 @@ config DEBUG_UART_VIRT
default 0xf01fb000 if DEBUG_NOMADIK_UART
default 0xf0201000 if DEBUG_BCM2835
default 0xf1000300 if DEBUG_BCM_5301X
+ default 0xf1002000 if DEBUG_MT8127_UART0
default 0xf1006000 if DEBUG_MT6589_UART0
+ default 0xf1009000 if DEBUG_MT8135_UART3
default 0xf11f1000 if ARCH_VERSATILE
default 0xf1600000 if ARCH_INTEGRATOR
default 0xf1c28000 if DEBUG_SUNXI_UART0
--
1.8.1.1.dirty
next prev parent reply other threads:[~2014-11-04 7:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 7:30 [PATCH v5 0/8] arm: Add basic support for MediaTek MT8127 & MT8135 SoCs Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 1/8] ARM: mediatek: Add basic support for mt8127 Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 2/8] ARM: mediatek: add dts for 8127 Moose board Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 3/8] ARM: mediatek: Add basic support for mt8135 Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 4/8] ARM: mediatek: add dts for MT8135 evaluation board Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 5/8] dt-bindings: add more chips in documentation for Mediatek SoC Yingjoe Chen
2014-11-04 7:30 ` [PATCH v5 6/8] ARM: dts: Build dtb for mt8127 & mt8135 Yingjoe Chen
2014-11-04 7:30 ` Yingjoe Chen [this message]
2014-11-04 7:30 ` [PATCH v5 8/8] ARM: mediatek: Fix description for mediatek SoCs Yingjoe Chen
2014-11-11 7:53 ` [PATCH v5' 1/8] ARM: mediatek: Add basic support for mt8127 Yingjoe Chen
2014-11-11 7:53 ` [PATCH v5' 2/8] ARM: mediatek: add dts for 8127 Moose board Yingjoe Chen
2014-11-11 7:53 ` [PATCH v5' 3/8] ARM: mediatek: Add basic support for mt8135 Yingjoe Chen
2014-11-11 7:53 ` [PATCH v5' 4/8] ARM: mediatek: add dts for MT8135 evaluation board Yingjoe Chen
[not found] ` <1415692428-18416-1-git-send-email-yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2014-11-11 7:58 ` [PATCH v5' 1/8] ARM: mediatek: Add basic support for mt8127 Yingjoe Chen
2014-11-12 17:08 ` Matthias Brugger
2014-11-13 10:17 ` Yingjoe Chen
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=1415086255-5555-8-git-send-email-yingjoe.chen@mediatek.com \
--to=yingjoe.chen@mediatek.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=eddie.huang@mediatek.com \
--cc=galak@codeaurora.org \
--cc=hc.yen@mediatek.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=nathan.chung@mediatek.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=srv_heupstream@mediatek.com \
--cc=yh.chen@mediatek.com \
--cc=yingjoe.chen@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).