From patchwork Wed Aug 28 06:59:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 172326 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp347132ily; Tue, 27 Aug 2019 23:59:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBfMYpg//7DyfxSSwxIguXC0Js8PiWCX3d7uUKf8qa5nQjcrrh/EZ/rJ9moNYFUVKTYfmI X-Received: by 2002:a17:902:248:: with SMTP id 66mr2843190plc.19.1566975590182; Tue, 27 Aug 2019 23:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566975590; cv=none; d=google.com; s=arc-20160816; b=IX7sTBMWpJrBwIkeZse4vjNC7v8Ep3AkkQ2ifGz8T9wbRupJOKI9cI/QgVZZqM7kkv XgPMU94wW92GECmduD9nYLUcJyiN93ZK/+l+SbbyvtNhFEr2Fyv/xxW38sL4s2Mkw/jo ewBjvfflcy8/j5/QuNZwQ8CudFuYSuNtP8l6ArxPi6d36LanTmwsa81ZG1t9mBN3QUZU DroLQwnTF8ky2o7ZLI0Hxx48EDqzBTRpTs/HQMUSWLHUZsYYUfWKRCVEPIjzEaDdFVsF vQfc7RSv+WHlsM9McRYwR/WCnBPndl/RP2npdxWMRdslCmw3pJgUtSsxghXtuVBEmUEx T1Hw== 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=+wJjCWfQrTgNasnwgKOhFijISSbGmcAqlzAKHLVv0jA=; b=O5Ik3m5cTt+vw3ZJas+ERdA+93YFgx0RSIyh2kePWPobDdYOgHsvO/DOcJ7yWWKFOp JvII5oIAhKBW0mb1H8d8XxdhyPvw61Qlqvm/+tklkb0sgzebXM9JQGGgzD2+/07UQ0Ke E3uMTPV1E6UT3clS+RhOaCFbEDFdrfPvR+bgoB+BP9T0tR/818tlqztFpqk9++Q6jh4G 1wiUWQ0RVkk6I7c1bY9/GGUBeQEkGyqA6lJKl9wt1PnaruGAm/xXrqKKjgqdfF/JNhnq K7PIIqO+7a9tNb3ocucgUNQeydybFsykY5KCLEo/RqlkpfW7Nya8ihMBDwUPRk0PzEdn gTkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h+koDJRC; 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 d3si1739135pfq.7.2019.08.27.23.59.50; Tue, 27 Aug 2019 23:59:50 -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=h+koDJRC; 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 S1726592AbfH1G7t (ORCPT + 5 others); Wed, 28 Aug 2019 02:59:49 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:49222 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbfH1G7t (ORCPT ); Wed, 28 Aug 2019 02:59:49 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7S6xkkv106203; Wed, 28 Aug 2019 01:59:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1566975586; bh=+wJjCWfQrTgNasnwgKOhFijISSbGmcAqlzAKHLVv0jA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h+koDJRCikkqPJGfoPC0LxnTZ7x+gvhUI6YXYbvPJK4LU+vSraWmihVNGodUlqznr VbDWiUzE2274KEgI9/nKsc3OOddXdKZ25rhoBfd+cis0hahQXEF3VcyaaqBO5bRvdQ 2spQwV5yrTU1EJBwUE4shFyhdWXUz4+KANjE2bbw= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7S6xkVT052425 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 28 Aug 2019 01:59:46 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 28 Aug 2019 01:59:46 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) 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, 28 Aug 2019 01:59:46 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7S6xXVG074399; Wed, 28 Aug 2019 01:59:45 -0500 From: Tero Kristo To: , , CC: , , Subject: [PATCHv2 6/6] clk: ti: omap5: add IVA subsystem clkctrl data Date: Wed, 28 Aug 2019 09:59:29 +0300 Message-ID: <20190828065929.32150-7-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190828065929.32150-1-t-kristo@ti.com> References: <20190828065929.32150-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 Add clkctrl data for the IVA subsystem (Image and Video Accelerator.) Signed-off-by: Tero Kristo --- drivers/clk/ti/clk-54xx.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 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-54xx.c b/drivers/clk/ti/clk-54xx.c index dafef7e70ba8..f63871dac600 100644 --- a/drivers/clk/ti/clk-54xx.c +++ b/drivers/clk/ti/clk-54xx.c @@ -286,6 +286,12 @@ static const struct omap_clkctrl_reg_data omap5_l4per_clkctrl_regs[] __initconst { 0 }, }; +static const struct omap_clkctrl_reg_data omap5_iva_clkctrl_regs[] __initconst = { + { OMAP5_IVA_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_iva_h12x2_ck" }, + { OMAP5_SL2IF_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_iva_h12x2_ck" }, + { 0 }, +}; + static const char * const omap5_dss_dss_clk_parents[] __initconst = { "dpll_per_h12x2_ck", NULL, @@ -469,6 +475,7 @@ const struct omap_clkctrl_data omap5_clkctrl_data[] __initconst = { { 0x4a008d20, omap5_l4cfg_clkctrl_regs }, { 0x4a008e20, omap5_l3instr_clkctrl_regs }, { 0x4a009020, omap5_l4per_clkctrl_regs }, + { 0x4a009220, omap5_iva_clkctrl_regs }, { 0x4a009420, omap5_dss_clkctrl_regs }, { 0x4a009620, omap5_l3init_clkctrl_regs }, { 0x4ae07920, omap5_wkupaon_clkctrl_regs },