From patchwork Fri Nov 13 16:29:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 7612781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CBBEEBF90C for ; Fri, 13 Nov 2015 16:32:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDAC8207C3 for ; Fri, 13 Nov 2015 16:32:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14ECC20747 for ; Fri, 13 Nov 2015 16:32:26 +0000 (UTC) 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 1ZxHFH-00020y-GU; Fri, 13 Nov 2015 16:30:39 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZxHF5-0001NH-CE for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2015 16:30:29 +0000 Received: by wmww144 with SMTP id w144so35709302wmw.1 for ; Fri, 13 Nov 2015 08:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre_com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:organization:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=PttpTc2b8T55XKBtSAyyWYvsZzSWciYGWPh43Atv7JI=; b=c4g/M1pHGjIHFxSqfZIMfh+pvLQgAvnowGJZDXUiD6vD9cLxZrXr8qpKf3p/RxBhut sUyOla8NSWDmmIKfAXqtTrZMxXLab5jLIiwR2jvwvYs/HULJhSHuw4qDECoPhV5WWXHG 8zFpMU5RH8nM9v+xIV5pbnfzpGe0ULCZ4IoCoQbW+FX9uU5m0av9H0z3W2Hr7L/FZtEQ aZr7aCX2uhXxIafDKdYz8VADgvo648TpZePVK0yLG4j4cdyeLI3J7qdQjxOSS6FdrYkf a0jeGargKFpG4ZjOHFKTjA1fqbO2zPz3vppY2yUQlMBcusYzi/NtBYm20+36zuBfDe7F ICjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:cc:organization:message-id:date :user-agent:mime-version:content-type:content-transfer-encoding; bh=PttpTc2b8T55XKBtSAyyWYvsZzSWciYGWPh43Atv7JI=; b=XPGp6ne2b+2mreibOpsJkyDyHej+CM33A+dfosf/WqRaBbZ2GNvhvra1CRU9Ykz/zL niy3ajkZK4fioiqq2gBZVBor5NLGbvsyiV5XFdQL58ImId4St7yjunKX15NyFW1zCYa5 SPUK1zKEZA769QBRb6OBF/epieH3d7HPwUGx23naw8dlClm2A1fiNf3GRsk911Ag42dL s58zQzn+M3lt+XC0BvRw/5b1nkO5UQZ79VSXHHTT4YJHO3PCwCPyFlK7sa7IznbnOXbi x47kI3IyfXZ+IrdIyCTewqXt2Qmtrw0nGzoaemY5fRo8U40sKqMTjMnbhPACfpb+AL3n AyDw== X-Gm-Message-State: ALoCoQkjGzjyupByBZV7ic5P+lojmA0uxJiiFhFcKtAuiVYFZl3qunDFo7aHAm+pipLYXddFvfb8 X-Received: by 10.194.8.227 with SMTP id u3mr23549113wja.38.1447432204994; Fri, 13 Nov 2015 08:30:04 -0800 (PST) Received: from [192.168.1.21] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id h198sm4676821wmd.9.2015.11.13.08.30.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Nov 2015 08:30:04 -0800 (PST) From: Neil Armstrong Subject: [PATCH v2 1/4] arm: omap2+: add missing HWMOD_NO_IDLEST in 81xx hwmod data To: Tony Lindgren , Paul Walmsley Organization: Baylibre Message-ID: <56461001.3050707@baylibre.com> Date: Fri, 13 Nov 2015 17:29:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151113_083027_911788_BC4687F2 X-CRM114-Status: GOOD ( 13.48 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fisaksen@baylibre.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Brian Hutchinson 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.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Add missing HWMOD_NO_IDLEST hwmod flag for entries not having omap4 clkctrl values. The emac0 hwmod flag fixes the davinci_emac driver probe since the return of pm_resume() call is now checked. This solves the following boot errors : [ 0.121429] omap_hwmod: l4_ls: _wait_target_ready failed: -16 [ 0.121441] omap_hwmod: l4_ls: cannot be enabled for reset (3) [ 0.124342] omap_hwmod: l4_hs: _wait_target_ready failed: -16 [ 0.124352] omap_hwmod: l4_hs: cannot be enabled for reset (3) [ 1.967228] omap_hwmod: emac0: _wait_target_ready failed: -16 Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c index b1288f5..6256052 100644 --- a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c @@ -144,6 +144,7 @@ static struct omap_hwmod dm81xx_l4_ls_hwmod = { .name = "l4_ls", .clkdm_name = "alwon_l3s_clkdm", .class = &l4_hwmod_class, + .flags = HWMOD_NO_IDLEST, }; /* @@ -155,6 +156,7 @@ static struct omap_hwmod dm81xx_l4_hs_hwmod = { .name = "l4_hs", .clkdm_name = "alwon_l3_med_clkdm", .class = &l4_hwmod_class, + .flags = HWMOD_NO_IDLEST, }; /* L3 slow -> L4 ls peripheral interface running at 125MHz */ @@ -850,6 +852,7 @@ static struct omap_hwmod dm816x_emac0_hwmod = { .name = "emac0", .clkdm_name = "alwon_ethernet_clkdm", .class = &dm816x_emac_hwmod_class, + .flags = HWMOD_NO_IDLEST, }; static struct omap_hwmod_ocp_if dm81xx_l4_hs__emac0 = {