From: Matthias Brugger <matthias.bgg@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux@arm.linux.org.uk, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
galak@codeaurora.org, olof@lixom.net, arnd@arndb.de,
jason@lakedaemon.net, thomas.petazzoni@free-electrons.com,
swarren@nvidia.com, sebastian.hesselbarth@gmail.com,
stefan@agner.ch, maxime.ripard@free-electrons.com,
matthias.bgg@gmail.com, anders.berg@lsi.com,
linus.walleij@linaro.org, lee.jones@linaro.org, heiko@sntech.de,
srv_yingjoe.chen@mediatek.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 4/7] arm: mediatek: Add earlyprintk support for mt6589
Date: Tue, 9 Sep 2014 18:51:01 +0200 [thread overview]
Message-ID: <1410281464-9587-5-git-send-email-matthias.bgg@gmail.com> (raw)
In-Reply-To: <1410281464-9587-1-git-send-email-matthias.bgg@gmail.com>
Enable low-level debug for Mediatek mt6589 SoC on UART0.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/Kconfig.debug | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index b11ad54..cfdd1c0 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -834,6 +834,14 @@ choice
Say Y here if you want kernel low-level debugging support
on Ux500 based platforms.
+ config DEBUG_MT6589_UART0
+ bool "Mediatek mt6589 UART0"
+ depends on ARCH_MEDIATEK
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ for Mediatek mt6589 based platforms on UART0.
+
config DEBUG_VEXPRESS_UART0_DETECT
bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
depends on ARCH_VEXPRESS && CPU_CP15_MMU
@@ -1075,6 +1083,7 @@ config DEBUG_UART_PHYS
default 0x10126000 if DEBUG_RK3X_UART1
default 0x101f1000 if ARCH_VERSATILE
default 0x101fb000 if DEBUG_NOMADIK_UART
+ default 0x11006000 if DEBUG_MT6589_UART0
default 0x16000000 if ARCH_INTEGRATOR
default 0x18000300 if DEBUG_BCM_5301X
default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
@@ -1137,6 +1146,7 @@ config DEBUG_UART_VIRT
default 0xf01fb000 if DEBUG_NOMADIK_UART
default 0xf0201000 if DEBUG_BCM2835
default 0xf1000300 if DEBUG_BCM_5301X
+ default 0xf1006000 if DEBUG_MT6589_UART0
default 0xf11f1000 if ARCH_VERSATILE
default 0xf1600000 if ARCH_INTEGRATOR
default 0xf1c28000 if DEBUG_SUNXI_UART0
--
1.9.1
next prev parent reply other threads:[~2014-09-09 16:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-09 16:50 ` [PATCH v3 1/7] arm: dts: Build dtb for Mediatek board Matthias Brugger
2014-09-09 16:50 ` [PATCH v3 2/7] arm: multi_v7_defconfig: Enable Mediatek platform Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 3/7] arm: dts: mt6589: Fix typo in GIC unit address Matthias Brugger
2014-09-09 16:51 ` Matthias Brugger [this message]
2014-09-09 16:51 ` [PATCH v3 5/7] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 6/7] arm: dts: mediatek: Add compatible property for aquaris5 Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 7/7] arm: dts: mt6589: Change compatible string for GIC Matthias Brugger
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=1410281464-9587-5-git-send-email-matthias.bgg@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=anders.berg@lsi.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jason@lakedaemon.net \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--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=maxime.ripard@free-electrons.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=srv_yingjoe.chen@mediatek.com \
--cc=stefan@agner.ch \
--cc=swarren@nvidia.com \
--cc=thomas.petazzoni@free-electrons.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).