From patchwork Mon Oct 7 12:26:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 175337 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4207254ill; Mon, 7 Oct 2019 05:26:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPA6E80BsNtTLbewpucqzqeI8Wo1vsNiZyfC4yux1BkJSnEhRBrxNFWRjJP1sJ8/soIniE X-Received: by 2002:a17:906:cec3:: with SMTP id si3mr23573432ejb.145.1570451178290; Mon, 07 Oct 2019 05:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570451178; cv=none; d=google.com; s=arc-20160816; b=P/gQSE6ZEiVoVPb/Wkj30UiUH+sjeYK49BYVu4NUt7msIARW3++JFSqTt8PwRPlmGT KtupTHd4/SGAexOEg8uq3aMt+VV2gx48gvnQV+eXwAG7eMp3NZingTJIgBk7LIb0HgmB pKWTdD43glpr30r1VSQ4Vqs0OHcYe/uQZOHqQKtk/b0Qz2vFHpuCU9OhlvX+SpGIjvnu sOHiyekpM8UARwlkf0xmSypSa2CN5oHRYF9GHQ0klLrmKzj3nwSnOK4EKdRhVqsmX15J xwQiZfnLcFmET0Z6jrZ+xva1Iob8UWD6f5TwCLfxExM2Jpfp6P8GzPwLA/ymgGKf7da+ 06mw== 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=/qDgsQyfQBJBA2CeABJl0nuZIggHcHivQ6XH24f9Dok=; b=d8NLd9KnVAnq8Y5LscWDTMHI5qm+oN8dsNCw79LUdxsCfFlJNHnnaRi7edXto9WUp8 ixbMfNXl2GhkM7m7hwcGU1/+mcYDCuRG41zhHpHCkb+pO2YIGa/e36NucLUxhyUpX/oH zd3gYDIIhYRCIa7YdRr/cjTKYiJSAnIexzyrvSwZXIZgwZBEKQKBOk732dXInpMhCse1 X8APV72i9a3pZOngCmbdldLOW8jjDKr4scWqlqDt0XndKnHCHE63DlFImnjqPZ+Y8ryw j3LW8FqNUa/W5ek1wIMYCzf4sNccfFM399xHqA7EN6P3OgcrazWoI3bvL0BBMCcZr09Y vl+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mRmZdtMg; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si6666604eju.265.2019.10.07.05.26.18; Mon, 07 Oct 2019 05:26:18 -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=mRmZdtMg; 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 S1727920AbfJGM0R (ORCPT + 5 others); Mon, 7 Oct 2019 08:26:17 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35608 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727467AbfJGM0R (ORCPT ); Mon, 7 Oct 2019 08:26:17 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x97CQFVT025369; Mon, 7 Oct 2019 07:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570451175; bh=/qDgsQyfQBJBA2CeABJl0nuZIggHcHivQ6XH24f9Dok=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mRmZdtMg6oYnt4fuFC8enKXFKZP/o1dNAzJdsfEqwuMp9wCq++Btq3kX8HT8M5uH9 /cJE6SYmDbDunckdCVct46qdZP21Wh7oiDhZT239BK2Z5cHrh1OABJnHhRJ1PldcOg b8BPs8xUbrBY8W24TsB6d6rgDe4PlH4lp3H/cJnU= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x97CQF2h107218; Mon, 7 Oct 2019 07:26:15 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 7 Oct 2019 07:26:11 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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; Mon, 7 Oct 2019 07:26:11 -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 x97CQ8Nb085058; Mon, 7 Oct 2019 07:26:11 -0500 From: Tero Kristo To: , , CC: , Subject: [PATCH 2/2] clk: ti: am43xx: drop idlest polling from gfx clock Date: Mon, 7 Oct 2019 15:26:04 +0300 Message-ID: <20191007122604.18508-3-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191007122604.18508-1-t-kristo@ti.com> References: <20191007122604.18508-1-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Due to the way ti sysc and hardreset line control is now implemented, it is not possible to poll the clock status for gfx clock independent of hardreset line control. Thus, add a flag to prevent handling this status bit from clock driver. Correct sequencing of events is guaranteed by ti-sysc bus driver. Signed-off-by: Tero Kristo --- drivers/clk/ti/clk-43xx.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 diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c index 7ec8fe6aa7c1..af3e7805769e 100644 --- a/drivers/clk/ti/clk-43xx.c +++ b/drivers/clk/ti/clk-43xx.c @@ -73,7 +73,7 @@ static const struct omap_clkctrl_reg_data am4_mpu_clkctrl_regs[] __initconst = { }; static const struct omap_clkctrl_reg_data am4_gfx_l3_clkctrl_regs[] __initconst = { - { AM4_GFX_L3_GFX_CLKCTRL, NULL, CLKF_SW_SUP, "gfx_fck_div_ck" }, + { AM4_GFX_L3_GFX_CLKCTRL, NULL, CLKF_SW_SUP | CLKF_NO_IDLEST, "gfx_fck_div_ck" }, { 0 }, };