Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3676388ybd; Tue, 25 Jun 2019 06:42:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxu22FtIcrglnBvWsXVfQ0AnTcCUE1IyRKg2Kx0cFgA09OP4qNs+PkVp9idpyyUEhVkkr1 X-Received: by 2002:a17:902:788f:: with SMTP id q15mr4202960pll.236.1561470153713; Tue, 25 Jun 2019 06:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561470153; cv=none; d=google.com; s=arc-20160816; b=cTlSACV4uMXIzQK4If8MX6IMa3SKlT87BS8aV2O69adBHdhxLCwvBFJn5DiFckCelY EMI3wGnL4jt2brXYnEzeQcY7gS32k9WDFxAIhNwNtbC8NmLTKn4HDBn+5ORZZDGnao5Y TanjHoWBSxf4GagRtEGITsCIMXCj/Cg8GSuX11NO3f9BNUCDkAMKuZ1Rzlc3QpbkZcL3 eDBJLm8SBPGm3cjGNAJR/HogBRpgyKDVBNjGzh4vMAM1ykivexzhpsM6t69ow5bCDlRQ guWFHiQX24zmVRWloOGp5bBOP7z65P3P1uE0+lwxgJLYBiSscSm7piSeCdQC63GULlCi bJzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=jMULvzDNPkgqHHcFZSzdgfjdzwVxEWBXQjqBotv//3Y=; b=UA7EMyjCVi/hX+0OJGfv2vJGjcCFZo1OsiL7q8LFnYfyJFvSV6D6heY+ccgoEr3qSC jcKlUb1iJXdiLA3KCTkHLMQkanIYpuE7nwVL6uBvrLtYw+lnfyx0idBtspoWjsP1Jnk1 rtondmDPjXUO4+2EB7/ayvx9q8LNuMr9spKtYM7G9y4qUYj+msvoiAVZJ0RYi1Sp4w6z 9mDzK+kdd35gMow321r6yyJNOkfdTtexj5FEwUEUybivnCo+U8/dtGh3tH+RiN38V199 xw+oKaZsAOieZgYRjpatmH2DkjaLLq8xsCw1TWdJ9usf5fk23dmV2hEqKBGI6jFXPcwN ocjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w67si14065709pfb.125.2019.06.25.06.42.18; Tue, 25 Jun 2019 06:42:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729335AbfFYN0k (ORCPT + 99 others); Tue, 25 Jun 2019 09:26:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:53564 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726916AbfFYN0j (ORCPT ); Tue, 25 Jun 2019 09:26:39 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 850BD200BEC; Tue, 25 Jun 2019 15:26:37 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7461C20077B; Tue, 25 Jun 2019 15:26:37 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id E7B6B2061E; Tue, 25 Jun 2019 15:26:36 +0200 (CEST) From: Abel Vesa To: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Fabio Estevam , Anson Huang Cc: NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH] arm64: dts: imx8mm: Init rates and parents configs for clocks Date: Tue, 25 Jun 2019 16:26:31 +0300 Message-Id: <1561469191-26840-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the initial configuration for clocks that need default parent and rate setting. This is based on the vendor tree clock provider parents and rates configuration except this is doing the setup in dts rather than using clock consumer API in a clock provider driver. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 232a741..ab92108 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -451,6 +451,42 @@ <&clk_ext3>, <&clk_ext4>; clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", "clk_ext3", "clk_ext4"; + assigned-clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, + <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, + <&clk IMX8MM_SYS_PLL3>, + <&clk IMX8MM_VIDEO_PLL1>, + <&clk IMX8MM_CLK_NOC>, + <&clk IMX8MM_CLK_PCIE1_CTRL>, + <&clk IMX8MM_CLK_PCIE1_PHY>, + <&clk IMX8MM_CLK_CSI1_CORE>, + <&clk IMX8MM_CLK_CSI1_PHY_REF>, + <&clk IMX8MM_CLK_CSI1_ESC>, + <&clk IMX8MM_CLK_DISP_AXI>, + <&clk IMX8MM_CLK_DISP_APB>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, + <0>, + <0>, + <0>, + <&clk IMX8MM_SYS_PLL3_OUT>, + <&clk IMX8MM_SYS_PLL2_250M>, + <&clk IMX8MM_SYS_PLL2_100M>, + <&clk IMX8MM_SYS_PLL2_1000M>, + <&clk IMX8MM_SYS_PLL2_1000M>, + <&clk IMX8MM_SYS_PLL1_800M>, + <&clk IMX8MM_SYS_PLL2_1000M>, + <&clk IMX8MM_SYS_PLL1_800M>; + assigned-clock-rates = <400000000>, + <400000000>, + <750000000>, + <594000000>, + <0>, + <0>, + <0>, + <0>, + <0>, + <0>, + <500000000>, + <200000000>; }; src: reset-controller@30390000 { -- 2.7.4