From patchwork Sat Oct 5 15:43:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Daudt X-Patchwork-Id: 2991491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A3EDA9F169 for ; Sat, 5 Oct 2013 15:52:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 027AF20109 for ; Sat, 5 Oct 2013 15:52:01 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3E89B20260 for ; Sat, 5 Oct 2013 15:51:58 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VSU8z-0002Io-9r; Sat, 05 Oct 2013 15:51:49 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VSU8w-00035V-O5; Sat, 05 Oct 2013 15:51:46 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VSU8t-000356-OK for linux-arm-kernel@lists.infradead.org; Sat, 05 Oct 2013 15:51:44 +0000 Received: by mail-pd0-f171.google.com with SMTP id g10so5297437pdj.2 for ; Sat, 05 Oct 2013 08:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nZVGIde3IDOPRP7DxJz5wWn75G/CCtFkuOHt24ZXn4c=; b=lvO096m6t7gAGAWz5AycdFFK1SnuK6K3gUlI0Nt0+4ig5qUyKdpEaEd+osYoQMJIeR laW9/fy87hk2cJXdLzF9v8NJxBxsurdVxYSTjOs/hBdNjADfqcsAftVPfGQN4EZXcxCj 9cdg30EJBrrL3nBk8iVYK/bvLWllD4VhnsSeQ1WhqvvLGn6No5fTZEqj1mq/nYoYc+rW 44a3efREy2GXKinh2MdWMIaXRkeHmOTjVzbs0OPyNEjE6q73nV6I9rELKJnx3V7V5PNg YCFVWruizLv58BEPm7y4xOaJS7WbyraXGqecU3u9XRdhaNQ83Q/BEppP9SHcFIOyqvT2 FL6A== X-Gm-Message-State: ALoCoQn0HVXuw0zV9rI9zYa1Chq8JWNcT6/URYmqGE5uywpmeiO9DXTxQDAtqAx195m2umDbBeLK X-Received: by 10.68.117.49 with SMTP id kb17mr12631279pbb.112.1380987818693; Sat, 05 Oct 2013 08:43:38 -0700 (PDT) Received: from mackenzie.key.chillispot.info ([96.49.128.158]) by mx.google.com with ESMTPSA id yh1sm21872729pbc.21.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Oct 2013 08:43:37 -0700 (PDT) From: Christian Daudt To: Russell King Subject: [PATCH v3] ARM: bcm: Add DEBUG_LL console support Date: Sat, 5 Oct 2013 08:43:29 -0700 Message-Id: <1380987809-4886-1-git-send-email-bcm@fixthebug.org> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131005_115143_890875_707A53F5 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Stephen Warren , Christian Daudt , linux-kernel@vger.kernel.org, Olof Johansson , Chris Ball , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds low level debug uart support to Broadcom mobile based SOCs. Signed-off-by: Christian Daudt Changes from V2: - Changed to follow hex ordering on entries - Dropped defconfig changes Changes from V1: - Switched to use the common 8250 debug introduced in 3.12-rc1 Tested-by: Markus Mayer Acked-by: Olof Johansson Tested-by: Matt Porter diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 9762c84..0391691 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -94,6 +94,17 @@ choice depends on ARCH_BCM2835 select DEBUG_UART_PL01X + config DEBUG_BCM_KONA_UART + bool "Kernel low-level debugging messages via BCM KONA UART" + depends on ARCH_BCM + select DEBUG_UART_8250 + help + Say Y here if you want kernel low-level debugging support + on Broadcom SoC platforms. + This low level debug works for Broadcom + mobile SoCs in the Kona family of chips (e.g. bcm28155, + bcm11351, etc...) + config DEBUG_CLPS711X_UART1 bool "Kernel low-level debugging messages via UART1" depends on ARCH_CLPS711X @@ -951,6 +962,7 @@ config DEBUG_UART_PHYS default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 default 0x20201000 if DEBUG_BCM2835 + default 0x3e000000 if DEBUG_BCM_KONA_UART default 0x40090000 if ARCH_LPC32XX default 0x40100000 if DEBUG_PXA_UART1 default 0x42000000 if ARCH_GEMINI @@ -1010,6 +1022,7 @@ config DEBUG_UART_VIRT default 0xfe018000 if DEBUG_MMP_UART3 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART default 0xfe230000 if DEBUG_PICOXCELL_UART + default 0xfe300000 if DEBUG_BCM_KONA_UART default 0xfe800000 if ARCH_IOP32X default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HI3716_UART default 0xfeb24000 if DEBUG_RK3X_UART0 @@ -1052,7 +1065,8 @@ config DEBUG_UART_8250_WORD default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART || \ ARCH_KEYSTONE || \ DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ - DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_DAVINCI_TNETV107X_UART1 + DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_DAVINCI_TNETV107X_UART1 || \ + DEBUG_BCM_KONA_UART config DEBUG_UART_8250_FLOW_CONTROL bool "Enable flow control for 8250 UART"