From patchwork Wed Aug 7 13:04:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 170753 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp7119142ile; Wed, 7 Aug 2019 06:05:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxq36D7+AVu0FC3/KPrCMihX5Sev+tyXFwXUwp1WI4hK2kuy01QTgPTMFsKBYXqC5oEACYP X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr8271658plo.320.1565183107221; Wed, 07 Aug 2019 06:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565183107; cv=none; d=google.com; s=arc-20160816; b=mZzYh1axmXmAhJT2kn2lu6lP9MaNrMjcc5FW8zXKVGdZJ4+q99mca9z68G04f1VVg3 H7p+zyIbK+RR3Pm+fv1W5NrZ3Wp9Gp5qwc06GaCcYosDn0LOHO3LGjfoIZESobTkpTD4 tWbG5K4sLmNFWPYSOPqFNFB+MH3EdufR9eK4zyd2C6Yh06FaXPhQqejj5bRxmPeUIdLF K1hDV09I3RIsVenRdzrY8CqLTfiQjzjsfG25gRQoRgKGQzCky36zdPsUozRhrewpub7N 8+EtOsTbiA7K/puG0dD3NI0XmkxX6LCHWYWx6JOR+4kCGdnQUthFIpEzOmKmWf2hC/Um OfuA== 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=5ZJWE2YShcEteM2b5hAEhwzpnJw3NLmASsHKII8cvV4=; b=aOoeRv7e4YqpJtunbQRS8ZBggt6mqP4zV1J7YWM43jSOabsuX/XugpUuUnnpkRxDCZ 7JWUSH+nc/nxen8/TsWJCYnkkfDqlaTYHZ3VWQ07Qpwcq18TxrrXJfZ8uOHyPFRwEcAe oAGW41wzq+vW+oCfJBXYIJGcEfm7SwP7bLzHOgGJEZUv5HSmtARgnXfjPgBbhOewBOKa Pu/mGCYQEni4yjCyj+yFmw7UiKrmupHT83dbHfNxp1+JcJko7DlNFQKuJw8POn1MuUgS WxbAt3jC3ZWX1GSVHeagJcDEcr+h5/Y972fzx2aSmMEPHHRsf6L7yXTbq2uT0ZJsqeg6 /BnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FiyP2UbM; 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 e3si3836821pfi.148.2019.08.07.06.05.07; Wed, 07 Aug 2019 06:05:07 -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=FiyP2UbM; 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 S2388007AbfHGNFG (ORCPT + 5 others); Wed, 7 Aug 2019 09:05:06 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43580 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387476AbfHGNFG (ORCPT ); Wed, 7 Aug 2019 09:05:06 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x77D534m018259; Wed, 7 Aug 2019 08:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565183103; bh=5ZJWE2YShcEteM2b5hAEhwzpnJw3NLmASsHKII8cvV4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FiyP2UbME094Iy1/m9tNXIjVlMpuyshYCaRsc/pSo9HKnT+CQTHZPSscwnyn/UDtW ZMdlRUTGBuIlXcQ7xEgODGrWw30UieaQYpqe9JFeO0qOMgoRBWqXXayLHlRBkwE493 mNFpK+E9EkEobMTQlF3W7NiJVpiStFV/wtoQ6qm8= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x77D53AF039631 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Aug 2019 08:05:03 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 7 Aug 2019 08:05:02 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.36) 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; Wed, 7 Aug 2019 08:05:02 -0500 Received: from gomoku.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x77D4i1d081508; Wed, 7 Aug 2019 08:05:00 -0500 From: Tero Kristo To: , , CC: , , Subject: [PATCH 1/3] clk: ti: clkctrl: add support for polling clock status for enable only Date: Wed, 7 Aug 2019 16:04:37 +0300 Message-ID: <1565183079-27798-2-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565183079-27798-1-git-send-email-t-kristo@ti.com> References: <1565183079-27798-1-git-send-email-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 The activity status for certain clocks is possible to be polled only during enable phase; the disable phase depends on additional reset logic. If the disable phase is polled with these clocks, it will result in a timeout. To fix this, add logic for polling the clock activity only during enable, and add a new flag for this purpose. Signed-off-by: Tero Kristo --- drivers/clk/ti/clkctrl.c | 5 ++++- drivers/clk/ti/clock.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c index 975995e..f5517a8 100644 --- a/drivers/clk/ti/clkctrl.c +++ b/drivers/clk/ti/clkctrl.c @@ -25,6 +25,7 @@ #include "clock.h" #define NO_IDLEST 0x1 +#define NO_IDLE_POLL 0x2 #define OMAP4_MODULEMODE_MASK 0x3 @@ -187,7 +188,7 @@ static void _omap4_clkctrl_clk_disable(struct clk_hw *hw) ti_clk_ll_ops->clk_writel(val, &clk->enable_reg); - if (clk->flags & NO_IDLEST) + if (clk->flags & (NO_IDLEST | NO_IDLE_POLL)) goto exit; /* Wait until module is disabled */ @@ -597,6 +598,8 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node) hw->enable_bit = MODULEMODE_HWCTRL; if (reg_data->flags & CLKF_NO_IDLEST) hw->flags |= NO_IDLEST; + if (reg_data->flags & CLKF_NO_IDLE_POLL) + hw->flags |= NO_IDLE_POLL; if (reg_data->clkdm_name) hw->clkdm_name = reg_data->clkdm_name; diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index e4b8392..6410ff6 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -82,6 +82,7 @@ enum { #define CLKF_SW_SUP BIT(5) #define CLKF_HW_SUP BIT(6) #define CLKF_NO_IDLEST BIT(7) +#define CLKF_NO_IDLE_POLL BIT(8) #define CLKF_SOC_MASK GENMASK(11, 8) From patchwork Wed Aug 7 13:04:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 170754 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp7119230ile; Wed, 7 Aug 2019 06:05:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzip5pFOWjpwtGEClmrSv1YT+ogkyr62KIFOFKkg6nspXkudC8jXl7yX2q7GI4++dycnJmF X-Received: by 2002:aa7:92d2:: with SMTP id k18mr9193401pfa.153.1565183110266; Wed, 07 Aug 2019 06:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565183110; cv=none; d=google.com; s=arc-20160816; b=qXVnoJ4tB6Qwvs3abIaiEtb9fGdfQ5BrdDtrLovpno4JSbRfXxgK+NF1UOKP+NUzpz T+jvJxJSRKGAY9SiawaBSDQFncTDdQErHkeatEki7VVu4XopxdPdKLzBVd368euN60he QgedKjbHX1uADULCTEEYjqrz0mfX/wwfYJvNktBiPUe+j2Msb3hE3nFEZQapxe9iGABw UuCe2qr2TNtC5+mR9RoNeDTOk/Zqv0Esf8g+KYcPVgaLtm70KwhfdtH6ppW1uWkvUZkH Wb0PhcDRAe0UjjuV4ryuismLhIm/2j5dGRoq3wr6IkBu8axgsfLimSjjFfXkNx9xhLbU 91ZA== 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=frBLaLQ0BrBJmM1vM+OF6FUfFxBudXkh00pQru7C5JM=; b=s0WYUVhcxSZCx1RCjZT9LbwyijtIbg0jl/Orx2/30AYEviAABeRLv/x0BerDVS8yQR 8wkPdxZYr5ndnH6qTRr2mBCfORbF/ddcDWvDAOJCDOnly0x1tC+0zEKho1t0dps+Ui8z hdd7aRTx4NhFWfXl6J4Kyl1faYKBaASluYP8kv7SP3Kq6FDOY5j58H+BGZEC4h9cy2gR MYMX0fxEfPpGgbpu8eog1wnqyCQkUJBmNoeecwS5gx++eI7JPcQv0+R4fZIzky+ZNBYk AxGrrFAcgnT/ygeyioizt2CQdM0ajmU1jGoKVq0ZIwtmIJT441X67w3NeF25PIxySqin 4mSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yhGRoa2l; 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 e3si3836821pfi.148.2019.08.07.06.05.10; Wed, 07 Aug 2019 06:05:10 -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=yhGRoa2l; 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 S2388021AbfHGNFJ (ORCPT + 5 others); Wed, 7 Aug 2019 09:05:09 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:51486 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387476AbfHGNFJ (ORCPT ); Wed, 7 Aug 2019 09:05:09 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x77D564I056045; Wed, 7 Aug 2019 08:05:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565183106; bh=frBLaLQ0BrBJmM1vM+OF6FUfFxBudXkh00pQru7C5JM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yhGRoa2lKVLMRRSFEke20CwxVEQdR6YaEARQTamupOkpFJl/NcCIGoyjnr8relvTQ ZFdVjcHV1rw7YlngjMlz1rb4vdw0LWzu2j3JWdBKf4KCU/NXzVJNA9q4u9aGoI/w/J v6ltniz+5H0/UBdRUa5dWnuJZcOaswoK0FJtHGho= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x77D56aE039779 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Aug 2019 08:05:06 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) 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; Wed, 7 Aug 2019 08:05:06 -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; Wed, 7 Aug 2019 08:05:06 -0500 Received: from gomoku.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x77D4i1e081508; Wed, 7 Aug 2019 08:05:03 -0500 From: Tero Kristo To: , , CC: , , Subject: [PATCH 2/3] clk: ti: dra7xx: remove idlest polling from disabling ipu/dsp clocks Date: Wed, 7 Aug 2019 16:04:38 +0300 Message-ID: <1565183079-27798-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565183079-27798-1-git-send-email-t-kristo@ti.com> References: <1565183079-27798-1-git-send-email-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 These cause some unwanted timeouts in the kernel, as they depend on reset and the execution state of the remotecore itself. These details should be handled by the driver with proper sequencing of events. Signed-off-by: Tero Kristo --- drivers/clk/ti/clk-7xx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 1.9.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-7xx.c b/drivers/clk/ti/clk-7xx.c index b57fe09..5208eb8 100644 --- a/drivers/clk/ti/clk-7xx.c +++ b/drivers/clk/ti/clk-7xx.c @@ -25,7 +25,7 @@ }; static const struct omap_clkctrl_reg_data dra7_dsp1_clkctrl_regs[] __initconst = { - { DRA7_DSP1_MMU0_DSP1_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_dsp_m2_ck" }, + { DRA7_DSP1_MMU0_DSP1_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_NO_IDLE_POLL, "dpll_dsp_m2_ck" }, { 0 }, }; @@ -41,7 +41,7 @@ }; static const struct omap_clkctrl_reg_data dra7_ipu1_clkctrl_regs[] __initconst = { - { DRA7_IPU1_MMU_IPU1_CLKCTRL, dra7_mmu_ipu1_bit_data, CLKF_HW_SUP, "ipu1-clkctrl:0000:24" }, + { DRA7_IPU1_MMU_IPU1_CLKCTRL, dra7_mmu_ipu1_bit_data, CLKF_HW_SUP | CLKF_NO_IDLE_POLL, "ipu1-clkctrl:0000:24" }, { 0 }, }; @@ -137,7 +137,7 @@ }; static const struct omap_clkctrl_reg_data dra7_dsp2_clkctrl_regs[] __initconst = { - { DRA7_DSP2_MMU0_DSP2_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_dsp_m2_ck" }, + { DRA7_DSP2_MMU0_DSP2_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_NO_IDLE_POLL, "dpll_dsp_m2_ck" }, { 0 }, }; @@ -164,7 +164,7 @@ }; static const struct omap_clkctrl_reg_data dra7_ipu2_clkctrl_regs[] __initconst = { - { DRA7_IPU2_MMU_IPU2_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_core_h22x2_ck" }, + { DRA7_IPU2_MMU_IPU2_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_NO_IDLE_POLL, "dpll_core_h22x2_ck" }, { 0 }, }; From patchwork Wed Aug 7 13:04:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 170755 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp7119329ile; Wed, 7 Aug 2019 06:05:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4H+HwUDzYRsTlUkW20Ap2gdf4xtj8qwvaa/oQFdivExcvVTH9S6beJTwiPDzLPPnDR0zZ X-Received: by 2002:a62:750c:: with SMTP id q12mr9486465pfc.59.1565183114597; Wed, 07 Aug 2019 06:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565183114; cv=none; d=google.com; s=arc-20160816; b=G2B7MGQvLdMKSfFJPTRxoMTX3/4qSPQ1VtDkf4y5KQ4BVuyoeYp5s/gpHQFtaczOj4 Ieo5EfrTB3fFv1fmf5ov8E5LgWMIhQeddvMS8dVJX9jnMAejv7lwOZ8N2zEAGj8mYGEm WN2qahWYAFscN51IUsUfBICC4kOR5e54oG2L7S0leLkBnTgOQ1K6XSzMtk56n/BBfvxO W/NqmORUA+NSPea3vwpX60Gy6uGV/pcF4TMp5IHUc+OGdVrJ9tOS6uDwVJhknjaM0414 XfM3NzRLS2dhLP6rn0i2901XdrJ/wj0vnQKWy/3A6RMyuEj1u4g3LBmsF8SG7nNQ0p6M DNag== 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=eqyHu/LUmaKHuC1352mmmRAsKmYUeRahsTBIJwAVsyY=; b=pmQFoV1fgMle7qSfX8cq9Pi/amYQWspn9YqW90j7KaWSoqbmQfJiDt92c91wbkkY8q nQX9kFPdSag5A4j9l+vq6r4Xtv2QBrTauKXCTTW4MH4IrKYbseVPEiFTsMw0XGMoW3BH kgGboD1bln40uc6ExmP2haZ1USuWSEM2aK3A7Z94sr1maAOxFZmrPXnO2NeR7R1DP4Jq FgDkIL9TzeWOezJhfFehCInC+FTGfkX9wjUPMidm58cUUrZAv8TozdmRzsFVMnbhu0NY VMeuAol3QvkrFe4Nxp38oZGBU3x1eC6he9g9tB8Xt9SIRHMaWeAY0ahrntCbVhNkGqTB oGTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VQ1K8m3Y; 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 e3si3836821pfi.148.2019.08.07.06.05.14; Wed, 07 Aug 2019 06:05:14 -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=VQ1K8m3Y; 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 S2387796AbfHGNFN (ORCPT + 5 others); Wed, 7 Aug 2019 09:05:13 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:37978 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387476AbfHGNFN (ORCPT ); Wed, 7 Aug 2019 09:05:13 -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 x77D5AaY103207; Wed, 7 Aug 2019 08:05:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565183110; bh=eqyHu/LUmaKHuC1352mmmRAsKmYUeRahsTBIJwAVsyY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VQ1K8m3Yq723CUbyTs0cESyvcTeW1xHvokk964GMKvV2XNOwAv3OxE/uTse/8fZFk Lkc0ucw5/JcmYvyVtEdWXnc31c8bhlzHU9NE/yIoUs6WNPeItQYU2aUWDbs8+utcU/ dOeBU+N9/8i9dMdVk7Y27z337Ti6fNqS9nmwK86Q= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x77D5AXW040412 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Aug 2019 08:05:10 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 7 Aug 2019 08:05:10 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) 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; Wed, 7 Aug 2019 08:05:10 -0500 Received: from gomoku.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x77D4i1f081508; Wed, 7 Aug 2019 08:05:06 -0500 From: Tero Kristo To: , , CC: , , Subject: [PATCH 3/3] clk: ti: dra7xx: add timer_sys_ck clock alias Date: Wed, 7 Aug 2019 16:04:39 +0300 Message-ID: <1565183079-27798-4-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565183079-27798-1-git-send-email-t-kristo@ti.com> References: <1565183079-27798-1-git-send-email-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 This is needed by the TI DM timer driver. Signed-off-by: Tero Kristo --- drivers/clk/ti/clk-7xx.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.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-7xx.c b/drivers/clk/ti/clk-7xx.c index 5208eb8..64507b8 100644 --- a/drivers/clk/ti/clk-7xx.c +++ b/drivers/clk/ti/clk-7xx.c @@ -792,6 +792,7 @@ static struct ti_dt_clk dra7xx_clks[] = { DT_CLK(NULL, "timer_32k_ck", "sys_32k_ck"), DT_CLK(NULL, "sys_clkin_ck", "timer_sys_clk_div"), + DT_CLK(NULL, "timer_sys_ck", "timer_sys_clk_div"), DT_CLK(NULL, "sys_clkin", "sys_clkin1"), DT_CLK(NULL, "atl_dpll_clk_mux", "atl-clkctrl:0000:24"), DT_CLK(NULL, "atl_gfclk_mux", "atl-clkctrl:0000:26"),