Message ID | 20190912132613.28093-11-t-kristo@ti.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp2127795ilq; Thu, 12 Sep 2019 06:26:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNFrximpPNp1ZlscN5yMHrslZfvZEvQkMqSWlVoLIpLtQUXunJPoIMIGht4mrNB9Z+r39z X-Received: by 2002:a17:906:7c55:: with SMTP id g21mr33822539ejp.177.1568294801260; Thu, 12 Sep 2019 06:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568294801; cv=none; d=google.com; s=arc-20160816; b=s0ipRTYxKgdXXnzka4Uk4yFr5ZTA3zmtqPUPLBpuXjkOA23V7/dIyGp+Tp8DB/V65M 5zXCIp5U/aLCRBFi4czWBBhQBQnT8o7ZJZAK4B0zSDQHvszhsl00g82aD5BzM7i5oK9+ qzrxw4zQGqx6pGsc/bIIgxhrriXIJwivXsTo5PQ+C1QQKD5KADsM+edGdWWKWoUyRc52 zxADSfL3shEtIyIDTWEsbkz8+jOBWLiMs0v4xFPj4vA9X/aLDZjZcndSvKLg7DoIYD9T +s5WX86Dv+aIo3jCqvMHXTntZDeQ7QmUKyiAzaHqqF53J1E8sdCsBeTKdOV3wrzp5Lyd Sq0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=K2Q92adlyOlFE+55nlrsCH8twyZ1qvVGlSQOn8cJ0jo=; b=LpDFtm3TAVIDC1sEXeWAGvqBZAwVHdUXl5Jk7+XCMuFR4Kmuu8ce7Xt2f23SBREoNm oP/E0GKnhD+w3tw+rRmj5U1+hOgmdLiSjM6nrfZY8F/Z04DaZHvK6jrbnoEvesubumsd ejo0FzBA0nRlYivcneYaa7Csohqk1xDc5SMPXDvXt+c7cM2CWHMfT8aNWbY0aN1dQmOe RDvLt+Iz4Una0+OyReHDVYKTjXEbpnJjP3i1YizloeHd+hVn9kI7Clea0WQnGwQ0zuNY 6iW2MeW42q+lWmn3LLG3iW3W4tS2TQZX2uKWgvXt9Vau8VejhfWeyXTip7KN29Q+5fHm m/+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R5Sx57oF; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <linux-omap-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si12814304ejz.384.2019.09.12.06.26.41; Thu, 12 Sep 2019 06:26:41 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R5Sx57oF; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732115AbfILN0k (ORCPT <rfc822;kelley.spoon@linaro.org> + 5 others); Thu, 12 Sep 2019 09:26:40 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:41666 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732098AbfILN0k (ORCPT <rfc822; linux-omap@vger.kernel.org>); Thu, 12 Sep 2019 09:26:40 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8CDQbaQ049583; Thu, 12 Sep 2019 08:26:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568294797; bh=K2Q92adlyOlFE+55nlrsCH8twyZ1qvVGlSQOn8cJ0jo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=R5Sx57oFPzATZ7B13TRpt+LVvRAA0YJuP5aYxx+jWwNQS8vfMX2aRi0AnKQvVctj6 rd3Gyqgm0kY4w4SV8D22PnJimdgujRGc8b6mV/24mjp7YJFQ9zha7YqPb9IcnowqyP SLlcNO9g8efjY/UQmGU1UXuIXex4Rfpf5mIkFftk= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8CDQbGA071418; Thu, 12 Sep 2019 08:26:37 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 12 Sep 2019 08:26:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 12 Sep 2019 08:26:37 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8CDQFvZ130575; Thu, 12 Sep 2019 08:26:35 -0500 From: Tero Kristo <t-kristo@ti.com> To: <linux-omap@vger.kernel.org>, <linux-clk@vger.kernel.org>, <sboyd@kernel.org>, <mturquette@baylibre.com> CC: <tony@atomide.com>, <s-anna@ti.com> Subject: [PATCHv3 10/10] clk: ti: am33xx: drop idlest polling from pruss clkctrl clock Date: Thu, 12 Sep 2019 16:26:13 +0300 Message-ID: <20190912132613.28093-11-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190912132613.28093-1-t-kristo@ti.com> References: <20190912132613.28093-1-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.org |
Series |
clk: ti: remoteproc / iommu support patches
|
expand
|
diff --git a/drivers/clk/ti/clk-33xx.c b/drivers/clk/ti/clk-33xx.c index a360d3109555..935efb66b389 100644 --- a/drivers/clk/ti/clk-33xx.c +++ b/drivers/clk/ti/clk-33xx.c @@ -107,7 +107,7 @@ static const struct omap_clkctrl_reg_data am3_l4hs_clkctrl_regs[] __initconst = }; static const struct omap_clkctrl_reg_data am3_pruss_ocp_clkctrl_regs[] __initconst = { - { AM3_PRUSS_OCP_PRUSS_CLKCTRL, NULL, CLKF_SW_SUP, "pruss_ocp_gclk" }, + { AM3_PRUSS_OCP_PRUSS_CLKCTRL, NULL, CLKF_SW_SUP | CLKF_NO_IDLEST, "pruss_ocp_gclk" }, { 0 }, };
The PRUSS module on AM33xx SoCs has a hardreset line and is controlled by a PRCM reset line. Any clkctrl enable/disable operations cannot be checked for module enabled/disabled status independent of the reset operation, and this causes some unwanted timeouts in the kernel and unbalanced states for the PRUSS clocks. These details should be handled by the driver integration code itself. Add the CLKF_NO_IDLEST flag to the PRUSS clkctrl clock so that these module status checks are skipped. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- drivers/clk/ti/clk-33xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki