From patchwork Fri Sep 19 03:04:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Joe.C" X-Patchwork-Id: 37633 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D88FA2054D for ; Fri, 19 Sep 2014 03:06:55 +0000 (UTC) Received: by mail-we0-f198.google.com with SMTP id p10sf1151228wes.5 for ; Thu, 18 Sep 2014 20:06:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=vH8pitnFHQ/WltxxH0V4eq3/khyMAtVNq/jGGq1IPOY=; b=kN5RISS4xB/2Zw9iBfl5gSdYErGtgmlSX0b3N9EA73h8uGOkxgGWFyciYq30Yk4b4K Kca+u/kWm6Qy2xupeDWgrkiJkSFutOUy3qVKujQZtluQany219LQKIB5V63Ja5S8Ypbn SD6NJjjsR4LcdQkSLhJmkSAP1TapAWMqrz9kzOc71CPIslY21rEg25FHzHbfjLiHZlgo tB/tXIZbRdr6BkrFRMUZJIeDfIZbkl8rrumAGXpUp6YWQGY7yeTvTw7Vb7149vxi08UQ 3G6G/UH2HH2NyU+HOWymcd7JTvTJyq5xfBzCadO1DYWyJ1jXrq+0VhciFWldjvVeYrZ9 ZzUw== X-Gm-Message-State: ALoCoQm6Cp/AvGuzDsB8WkHCt+/oTRzFieo9XMRaPkP5ma7LTWz6WFWIi4faIXYAL2tjbKfOlM9l X-Received: by 10.180.198.172 with SMTP id jd12mr370841wic.6.1411096015100; Thu, 18 Sep 2014 20:06:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.7 with SMTP id f7ls279171laa.64.gmail; Thu, 18 Sep 2014 20:06:55 -0700 (PDT) X-Received: by 10.152.3.130 with SMTP id c2mr3712523lac.72.1411096014980; Thu, 18 Sep 2014 20:06:54 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx.google.com with ESMTPS id ee2si607796lbb.106.2014.09.18.20.06.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Sep 2014 20:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id b17so2332651lan.4 for ; Thu, 18 Sep 2014 20:06:54 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr3458403lat.67.1411096014654; Thu, 18 Sep 2014 20:06:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp864682lbb; Thu, 18 Sep 2014 20:06:53 -0700 (PDT) X-Received: by 10.66.141.197 with SMTP id rq5mr11319447pab.124.1411096013071; Thu, 18 Sep 2014 20:06:53 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id jf8si782005pbd.50.2014.09.18.20.06.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Sep 2014 20:06:53 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUoW3-0001yl-LR; Fri, 19 Sep 2014 03:05:47 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUoVT-0000P1-KW for linux-arm-kernel@lists.infradead.org; Fri, 19 Sep 2014 03:05:12 +0000 X-Listener-Flag: 11101 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1865473963; Fri, 19 Sep 2014 11:04:56 +0800 Received: from mtksdtcf02.mediatek.inc (10.21.12.142) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Fri, 19 Sep 2014 11:04:38 +0800 From: Joe.C To: Rob Herring , Matthias Brugger , Subject: [PATCH v3 7/7] arm: mediatek: Add earlyprintk support for mt8127 & mt8135 Date: Fri, 19 Sep 2014 11:04:19 +0800 Message-ID: <1411095859-18737-8-git-send-email-srv_yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1411095859-18737-1-git-send-email-srv_yingjoe.chen@mediatek.com> References: <1411095859-18737-1-git-send-email-srv_yingjoe.chen@mediatek.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140918_200511_878449_237A2524 X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (1.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Cc: Mark Rutland , Anders Berg , Russell King , srv_heupstream@mediatek.com, yingjoe.chen@gmail.com, Ian Campbell , hc.yen@mediatek.com, Linus Walleij , yh.chen@mediatek.com, linux-kernel@vger.kernel.org, Arnd Bergmann , devicetree@vger.kernel.org, Pawel Moll , nathan.chung@mediatek.com, Kumar Gala , yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Joe.C" Enable low-level debug for Mediatek mt8127 & mt8135 SoC. Signed-off-by: Joe.C --- arch/arm/Kconfig.debug | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index cfdd1c0..ecc9984 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -842,6 +842,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 @@ -1083,7 +1099,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 @@ -1146,7 +1164,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