linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: arm: Add basic support for MediaTek MT8127 & MT8135 SoCs
Date: Mon, 8 Sep 2014 09:28:24 +0200	[thread overview]
Message-ID: <20140908072824.GB15722@pengutronix.de> (raw)
In-Reply-To: <1409874660-8710-1-git-send-email-srv_yingjoe.chen@mediatek.com>

On Fri, Sep 05, 2014 at 07:50:55AM +0800, Joe.C wrote:
> This series add basic device tree support MT8127 & MT8135.
> This series is based on v3.17-rc3.
> 
> We are planning to upstream drivers for MT8127 & MT8135 SoCs.
> MT8135 is a tablet soc featuring 2 CA7 + 2 CA15. MT8127 is a
> tablet soc with 4 CA7. They share many similar IP components
> with MT65xx series.
> 
> Please note this one is not base on intpol [1] patches I sent
> last month. Base on the discussion on intpol, I think it might
> take some more time. I'd like to have this merge first so we
> can work on other stuff simultaneously.
> 
> Joe.C
> 
> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-August/279052.html
> 
> Joe.C (5):
>   arm: MTK: Add basic support for mt8127
>   arm: mediatek: add dts for 8127 Moose board
>   arm: MTK: Add basic support for mt8135
>   arm: mediatek: add dts for MT8135 evaluation board.
>   dt-bindings: add more chips in documentation for Mediatek SoC

We could add the following patch to this series so we actually see
something on the console during development of the other drivers.
I only know the UART base addresses of the mt8135, so I don't know
if MEDIATEK_ is an appropriate prefix. Maybe it should be changed to
MT8135_.

Sascha

----------------------------8<-------------------------------

>From 16709f768d955b561972f809f2a6260435cabbe4 Mon Sep 17 00:00:00 2001
From: Sascha Hauer <s.hauer@pengutronix.de>
Date: Mon, 8 Sep 2014 09:17:02 +0200
Subject: [PATCH] ARM: Mediatek: Add lowlevel debug uart support

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/Kconfig.debug | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index b11ad54..0d33c74 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -348,6 +348,22 @@ choice
 		  Say Y here if you want the debug print routines to direct
 		  their output to UART1 serial port on KEYSTONE2 devices.
 
+	config DEBUG_MEDIATEK_UART0
+		bool "Mediatek SoC Debug UART0"
+		depends on ARCH_MEDIATEK
+		select DEBUG_UART_8250
+		help
+		  Say Y here if you want kernel low-level debugging support
+		  on Mediatek SoC based platforms.
+
+	config DEBUG_MEDIATEK_UART3
+		bool "Mediatek SoC Debug UART3"
+		depends on ARCH_MEDIATEK
+		select DEBUG_UART_8250
+		help
+		  Say Y here if you want kernel low-level debugging support
+		  on Mediatek SoC based platforms.
+
 	config DEBUG_MMP_UART2
 		bool "Kernel low-level debugging message via MMP UART2"
 		depends on ARCH_MMP
@@ -1108,6 +1124,8 @@ config DEBUG_UART_PHYS
 	default 0xd0012000 if DEBUG_MVEBU_UART
 	default 0xd4017000 if DEBUG_MMP_UART2
 	default 0xd4018000 if DEBUG_MMP_UART3
+	default 0x11006000 if DEBUG_MEDIATEK_UART0
+	default 0x11009000 if DEBUG_MEDIATEK_UART3
 	default 0xe0000000 if ARCH_SPEAR13XX
 	default 0xf0000be0 if ARCH_EBSA110
 	default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE
@@ -1164,6 +1182,8 @@ config DEBUG_UART_VIRT
 	default 0xfe012000 if ARCH_ORION5X
 	default 0xfe017000 if DEBUG_MMP_UART2
 	default 0xfe018000 if DEBUG_MMP_UART3
+	default 0xfe806000 if DEBUG_MEDIATEK_UART0
+	default 0xfe809000 if DEBUG_MEDIATEK_UART3
 	default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
 	default 0xfe230000 if DEBUG_PICOXCELL_UART
 	default 0xfe300000 if DEBUG_BCM_KONA_UART
-- 
1.8.3.2


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  parent reply	other threads:[~2014-09-08  7:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 23:50 arm: Add basic support for MediaTek MT8127 & MT8135 SoCs Joe.C
2014-09-04 23:50 ` [PATCH 1/5] arm: MTK: Add basic support for mt8127 Joe.C
2014-09-04 23:50 ` [PATCH 2/5] arm: mediatek: add dts for 8127 Moose board Joe.C
2014-09-08  7:23   ` Sascha Hauer
2014-09-04 23:50 ` [PATCH 3/5] arm: MTK: Add basic support for mt8135 Joe.C
2014-09-08  9:12   ` Sascha Hauer
2014-09-04 23:50 ` [PATCH 4/5] arm: mediatek: add dts for MT8135 evaluation board Joe.C
2014-09-04 23:51 ` [PATCH 5/5] dt-bindings: add more chips in documentation for Mediatek SoC Joe.C
2014-09-05 19:36 ` arm: Add basic support for MediaTek MT8127 & MT8135 SoCs Arnd Bergmann
2014-09-06  7:27   ` Matthias Brugger
2014-09-06 14:09     ` Arnd Bergmann
2014-09-08  7:28 ` Sascha Hauer [this message]
2014-09-08  9:26   ` 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=20140908072824.GB15722@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --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 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).