From patchwork Fri Oct 23 00:24:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 55460 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lf0-f70.google.com (mail-lf0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 3A41820581 for ; Fri, 23 Oct 2015 00:24:36 +0000 (UTC) Received: by lfaz124 with SMTP id z124sf40670130lfa.0 for ; Thu, 22 Oct 2015 17:24:35 -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:cc:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=tQkaJHWciiT94YWYkPZUlO8Dy1hRhVQLDGWntqrvwkM=; b=I57Cid0IqW7Cf+cK1HROs2NAxpwACqWmWL525USC1fOLqsMliibvHg22oLWo2t5aYm yfGjwZ4yzcC5UFDT6m17eQBmew8yXZxjytmzUdjdoUQP9Ee8ZZNpuTJ53tQG9qDuHSPz 77T7adZqnHmnvyzbPXEIk+q5ixcgJD23f6bIQnXaaA+uRElTMTs9Os+zOFYyqxwMGa/y 55veK6PyWMV2yElPWO8Cxp67kvOdBJgtqKbF26cvCYcmeMd+rjM5/sUAZ+mBsfBlnUZF cRr1AeFQMzqfF8G5vHfswOmRI/RzAD/213BalJ4eP/FXf3LC1eXVs5lLxFwP+eCUdFT+ tvdw== X-Gm-Message-State: ALoCoQnEQFBWZB5Yz8gzJ6N2PzOh9533pTY5OhZ5VQ7G1YcBwFVMM0CI1V69ZKyCCZtQfKy6wOy6 X-Received: by 10.194.189.81 with SMTP id gg17mr226491wjc.5.1445559875137; Thu, 22 Oct 2015 17:24:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.88.67 with SMTP id m64ls362719lfb.103.gmail; Thu, 22 Oct 2015 17:24:34 -0700 (PDT) X-Received: by 10.112.158.1 with SMTP id wq1mr9708368lbb.67.1445559874938; Thu, 22 Oct 2015 17:24:34 -0700 (PDT) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id c70si11134277lfe.21.2015.10.22.17.24.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 17:24:34 -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 lfaz124 with SMTP id z124so66584485lfa.1 for ; Thu, 22 Oct 2015 17:24:34 -0700 (PDT) X-Received: by 10.112.198.69 with SMTP id ja5mr8682352lbc.106.1445559874614; Thu, 22 Oct 2015 17:24:34 -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.59.35 with SMTP id w3csp897195lbq; Thu, 22 Oct 2015 17:24:33 -0700 (PDT) X-Received: by 10.107.170.220 with SMTP id g89mr18180257ioj.178.1445559873329; Thu, 22 Oct 2015 17:24:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g81si13444227ioj.81.2015.10.22.17.24.33; Thu, 22 Oct 2015 17:24:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbbJWAYc (ORCPT + 3 others); Thu, 22 Oct 2015 20:24:32 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:58253 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757217AbbJWAYc (ORCPT ); Thu, 22 Oct 2015 20:24:32 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9N0OR4c009570; Thu, 22 Oct 2015 19:24:27 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9N0OQ15022996; Thu, 22 Oct 2015 19:24:26 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Thu, 22 Oct 2015 19:24:27 -0500 Received: from droidlinux (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9N0OQuW011967; Thu, 22 Oct 2015 19:24:26 -0500 Received: from praneeth by droidlinux with local (Exim 4.76) (envelope-from ) id 1ZpQ9i-0000WJ-JH; Thu, 22 Oct 2015 19:24:26 -0500 From: Praneeth Bajjuri To: , Nishanth Menon , Lokesh Vutla , , Tony Lindgren , Paul Walmsley CC: "J.D. Schroeder" Subject: [PATCH V2] ARM: DRA7: hwmod: Enable DEBUG_LL for UART4 Date: Thu, 22 Oct 2015 19:24:16 -0500 Message-ID: <1445559856-1965-1-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: praneeth@ti.com 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.mailfrom=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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: "J.D. Schroeder" UART4 low level debug support. This helps in debugging with UART4 serial console output on DRA7 based platforms. Extending the following fix for UART4. commit 1c7e36bfc3e2 ("ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3") For using DEBUG_LL, enable CONFIG_DEBUG_OMAP4UART4 in menuconfig. On DRA7, UART4 hwmod doesn't have this flag enabled, failure observed when UART4 is used for low level debugging. Hence, Enable DEBUG_OMAP4UART4_FLAGS for UART4 hwmod. Signed-off-by: J.D. Schroeder Signed-off-by: Praneeth Bajjuri --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index 562247b..a242572 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -2065,7 +2065,7 @@ static struct omap_hwmod dra7xx_uart4_hwmod = { .class = &dra7xx_uart_hwmod_class, .clkdm_name = "l4per_clkdm", .main_clk = "uart4_gfclk_mux", - .flags = HWMOD_SWSUP_SIDLE_ACT, + .flags = HWMOD_SWSUP_SIDLE_ACT | DEBUG_OMAP4UART4_FLAGS, .prcm = { .omap4 = { .clkctrl_offs = DRA7XX_CM_L4PER_UART4_CLKCTRL_OFFSET,