From patchwork Thu Oct 22 21:01:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 55457 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 87B4620581 for ; Thu, 22 Oct 2015 21:02:02 +0000 (UTC) Received: by wicfg8 with SMTP id fg8sf1920129wic.0 for ; Thu, 22 Oct 2015 14:02:01 -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=nOwNT8t9X+ATAFVqLOCSuAFZ2wk1sYE99QjUNkT9rwc=; b=hAIybc7PQBfgSC7dATQYFDGAkIaOrjvMtqRbudwkqz+k4qOgcV1vIvFYSUpcSt1LL/ VQP3Rv3LaT7ttqjbXLjSkQGqb85ZsQahwjd/YkoZsgQpiUIvR+E5CZUsGzPSUJWCPeyS mn+YDEeuqGvI9SzbM1mYd3P5b+ud1VyY4waIBjp4j34SvMxx5AUj65gYfst0bvoz5fuj vr2EHt5owRo7ue4WXOQhwyAsOWGj7TsLVkzWWdq2hSevCF0ww87nHOlQmcE90HroxQZ/ vLrMQVnd4DT5VJIZhvLke+nyIBp/0wqJLLS3jIavMWczivhJ3Mz2eDAwuACZuwxhJTX3 Phgg== X-Gm-Message-State: ALoCoQmg64zA2dj7qxoOKpj93vTi0qwpAtklP2QevN6/xY8xow6hV/Urqj6WHTjN9tI39OgIQNgL X-Received: by 10.28.132.75 with SMTP id g72mr5223wmd.2.1445547721871; Thu, 22 Oct 2015 14:02:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.21.152 with SMTP id 24ls328128lfv.97.gmail; Thu, 22 Oct 2015 14:02:01 -0700 (PDT) X-Received: by 10.25.170.11 with SMTP id t11mr6364075lfe.20.1445547721604; Thu, 22 Oct 2015 14:02:01 -0700 (PDT) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id k80si10749902lfg.19.2015.10.22.14.02.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 14:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lffv3 with SMTP id v3so62543525lff.0 for ; Thu, 22 Oct 2015 14:02:01 -0700 (PDT) X-Received: by 10.112.129.202 with SMTP id ny10mr9279656lbb.112.1445547721427; Thu, 22 Oct 2015 14:02:01 -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 w3csp828353lbq; Thu, 22 Oct 2015 14:02:00 -0700 (PDT) X-Received: by 10.50.64.147 with SMTP id o19mr563786igs.52.1445547720334; Thu, 22 Oct 2015 14:02:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b19si561208igr.56.2015.10.22.14.02.00; Thu, 22 Oct 2015 14:02:00 -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 S932595AbbJVVB7 (ORCPT + 3 others); Thu, 22 Oct 2015 17:01:59 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:58355 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932202AbbJVVB6 (ORCPT ); Thu, 22 Oct 2015 17:01:58 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9ML1so8018837; Thu, 22 Oct 2015 16:01:54 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9ML1srL032025; Thu, 22 Oct 2015 16:01:54 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 22 Oct 2015 16:01:54 -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 t9ML1sEO022037; Thu, 22 Oct 2015 16:01:54 -0500 Received: from praneeth by droidlinux with local (Exim 4.76) (envelope-from ) id 1ZpMzh-0000BA-Td; Thu, 22 Oct 2015 16:01:53 -0500 From: Praneeth Bajjuri To: , Tony Lindgren , , Lokesh Vutla CC: "J.D. Schroeder" Subject: [PATCH] ARM: DRA7: hwmod: Enable DEBUG_LL for UART4 Date: Thu, 22 Oct 2015 16:01:10 -0500 Message-ID: <1445547670-655-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.48 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: , 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,