Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp880917ybi; Wed, 3 Jul 2019 06:07:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhUDOgVHnVMvONVXgQusZWBQS087k/5s015AgdtnEv/sTBq4gSnkHagnarNLMUN+dLB4UU X-Received: by 2002:a65:4505:: with SMTP id n5mr6261372pgq.301.1562159248274; Wed, 03 Jul 2019 06:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562159248; cv=none; d=google.com; s=arc-20160816; b=FrS8fKlu9aHF2bvHbCVDONpZNLlrb9MB95MzsEC08ijCs7K0FCoxuhGCBayFGBWDp3 lICO9qHxQ3/OycvW9U5RjfjOdg0sTGgG+eXUg8HHyRgvuYxJhlo89xiBG4dKEGu9eBnN 2BKbJI1WE4YWM5oSrx5MyoA8e5QbXrhGYga+x0SgqJYejl0n6Sx8TyTem5CJEKrV7Zr/ xBcn1p/wHwwMH89kcSXuzCeVNMn0gp2oZyio0wEqjIUlmf1ag5kF2iSL1IrokN6qk+Zt ihHEPenJGt3bw54qmYgx7rLEkV1ENvxktYe4PgkPLR/MAB7etIFBD0udR43ySMS8abmW B+hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zEixiL4IxxmhE1EEgRXYpM6GetKrTFh5N1jJDqD0OKY=; b=e8bDv2wXBLBj/LHBSS7K9C8ooV9ZFs8fH2x+Vzo/N+9S1QklaUooCWOQ+1eYMoFPhQ wEIfCGfhg1yvCiWqs6BRnyEHhK2xMEzFC5j32daXN/QMReuBHbjR5zByadvEPnWyYOuP iNSQOAOH5ByyOKBvjCjoP9XO5h3fCfl55JV22d8Ydx+PEYrk7rmB2Iu6pBtnnd3+CtV8 Dpm3JYW9CrFHdpHnAJQ3TvlTw783QHqUfZ9kNSmvlzPOVGY8oqs5XVkUAx0v85z0sHLi AdejU7e4vSuMJ6FFIu8x+diGOQ4ofyyZOWZbzpFKhvNApx1y7kcinJ3AuyS6adRK7LEl MizA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FYCglz3/"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si2259814pgl.467.2019.07.03.06.07.05; Wed, 03 Jul 2019 06:07:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FYCglz3/"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726900AbfGCNGD (ORCPT + 99 others); Wed, 3 Jul 2019 09:06:03 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35054 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbfGCNGD (ORCPT ); Wed, 3 Jul 2019 09:06:03 -0400 Received: by mail-wr1-f67.google.com with SMTP id c27so2761550wrb.2; Wed, 03 Jul 2019 06:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zEixiL4IxxmhE1EEgRXYpM6GetKrTFh5N1jJDqD0OKY=; b=FYCglz3/YDkXa9BPSo5eBu3PK4LvTIUNrRLUJ30Gj73v7a/bJ3hazz+Zoq/ax9ppLX 8ojk4XxS3b2uVAF1DFg+LLJxg/M1Qxsa1yew4s2mn88WoY1W7IWilpcOmNrABvzjHTcX WYPQyF8TIUaWVHThZ8OF6T3sXfOerACUIML9OKsUtkhUb/3Ihm4QjjZLV7Ru5CztEDdn Faf/FtX/YqLo7kFx2AV/PBntiObLJ/1sZSnci8srwDU39H0f8wB6K9QQXJHswsfCFZkz HRYkxM9tKgSrbBN8bveZnnsF8ES2FEPZIbQBn7QWQGwWFvQDZPp7C72i45japewGdMLC kaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zEixiL4IxxmhE1EEgRXYpM6GetKrTFh5N1jJDqD0OKY=; b=DicskbDpzaJh0Z1gkLSrgMQMqTZWkOjjJsa7CYk86mV1Dnqa9sUTU3IbbEXfsxbW6x dSekBKZnT6pigWAX0bn18QXLSwovzdA5iG53k0GtzrWlYjXfau+QysWuP8LjC2XVN1aw JrhaVBAFPKJ3Npf5c0KXWXQyfkh7bUoqITjYOSW0AdyEhazBQXB9NOjYdb7l9hGDmoPj iLlh2bKsB6e2EJ2ZFWucrMCya6qnX4QGhTFatHmRIdEFHC+tDiUrMS4HzVnmKX6J6u1Z 5FGsD8jMjgiWid0d4UyZWgonA6GOt3oWWJmQDrUVA4SXSzaLLWSFMo+mMtS6EYGupcuW 55mg== X-Gm-Message-State: APjAAAUCOGBwQdrnOABGksSp0lO8Dw6Ct0wNzqzGFgxw8MybLoE1DAO4 BXqt99IrZD5/+hhKJqj6Aqez2VB/p7M26Ruc3sk= X-Received: by 2002:adf:b69a:: with SMTP id j26mr21756159wre.93.1562159160916; Wed, 03 Jul 2019 06:06:00 -0700 (PDT) MIME-Version: 1.0 References: <1562155311-24696-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1562155311-24696-1-git-send-email-abel.vesa@nxp.com> From: Daniel Baluta Date: Wed, 3 Jul 2019 16:05:49 +0300 Message-ID: Subject: Re: [PATCH v2] arm64: dts: imx8mq: Init rates and parents configs for clocks To: Abel Vesa Cc: Rob Herring , Mark Rutland , Shawn Guo , Leonard Crestez , Sascha Hauer , NXP Linux Team , Lucas Stach , linux-arm-kernel , Devicetree List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 3, 2019 at 3:03 PM Abel Vesa wrote: > > 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 then using clock > consumer API in a clock provider driver. > > Signed-off-by: Abel Vesa For audio related clock: Acked-by: Daniel Baluta > --- > > Changes since v1: > - removed the PCIE and CSI clocks parent setting since > that should be done from their driver, as suggested > by Leonard. > > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index d09b808..c286f20 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -489,6 +489,20 @@ > clock-names = "ckil", "osc_25m", "osc_27m", > "clk_ext1", "clk_ext2", > "clk_ext3", "clk_ext4"; > + assigned-clocks = <&clk IMX8MQ_VIDEO_PLL1>, > + <&clk IMX8MQ_CLK_AHB>, > + <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, > + <&clk IMX8MQ_CLK_AUDIO_AHB>, > + <&clk IMX8MQ_VIDEO_PLL1_REF_SEL>, > + <&clk IMX8MQ_CLK_NOC>; > + assigned-clock-parents = <0>, > + <&clk IMX8MQ_SYS1_PLL_133M>, > + <&clk IMX8MQ_SYS1_PLL_266M>, > + <&clk IMX8MQ_SYS2_PLL_500M>, > + <&clk IMX8MQ_CLK_27M>, > + <&clk IMX8MQ_SYS1_PLL_800M>; > + assigned-clock-rates = <593999999>; > + > }; > > src: reset-controller@30390000 { > -- > 2.7.4 >