Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1657783ybz; Thu, 30 Apr 2020 03:16:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJVF0c054XBqGzAxXBfBVd9idjLylF9nw6zIMyxKsHIwq5xePOPKyrlptR5LqdOGGYjItpO X-Received: by 2002:a05:6402:c84:: with SMTP id cm4mr1764478edb.316.1588241763999; Thu, 30 Apr 2020 03:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588241763; cv=none; d=google.com; s=arc-20160816; b=BaDiy147foDfjApL9vW5q6U4nQHvYoDqmxsAJ9EM0VohkMs3XCo/TNYre3odhlK8Uq 68Gie+FrP6svwBRD+/TsDSEPMiSDLfaTCtN6CjnPlsHJkZdA7Ekk8d2aCDYSKl6Mjgqb whdvXNJeEv1FOhWw/qHtp8JIZgbmOTPPZBPvXtM9ZYan9RfrS3FDF949rIEq4L8IN2Fo Z4AfRekZ0Al97yuSf39y+Gqe2Y9TXS8UGEUg2GhPGvQPNitGNPDC6cGZ/EFIfmdx8TyT giayCcBtHdD3vaHCVpJhKZ7mZW8i/U0eiAba9ZED02y6/si724Qwhzdjmt0glB5s6B3z cR5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9FH1yC2ZQClY3xdBLPCdXI0X/BSuiQTrrAAOj25yLIg=; b=WJMDdRC6HkWic8daGN0hNPTJqvc36sNk79iwG70agBmt+20MdqBs8TTB4F5PWE0D6F Z/0Hz/6YIn0FXKoppGtb2TtrKWr0zSXI8y+oQbJjO5ly9TgD7C9EUyw8omuOPD6NvgUQ 5hG4QzVBBiE6XpzYe2wr8QUxPx1i4kQImhKNg46FPrdh94sTyiIbeYkvmt7zkt6KWfUb 4AGuYrw5jBvvamoegWeXZdRSI0di4A4s3ACsAwMlgsqp7k4reN9Jk+cstquJcuspxESs FjUfmnHNCxwPpFvm7RdiEFOVzT0qHMgcCCmfbugPMqphohRKszuZ2Fyeg8SPTp8RGiMQ iW2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id g4si4625425edu.287.2020.04.30.03.15.39; Thu, 30 Apr 2020 03:16:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727058AbgD3KLL (ORCPT + 99 others); Thu, 30 Apr 2020 06:11:11 -0400 Received: from inva020.nxp.com ([92.121.34.13]:46104 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgD3KLJ (ORCPT ); Thu, 30 Apr 2020 06:11:09 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 711EB1A075C; Thu, 30 Apr 2020 12:11:07 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 64EBE1A0759; Thu, 30 Apr 2020 12:11:07 +0200 (CEST) Received: from localhost (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 4D226203C1; Thu, 30 Apr 2020 12:11:07 +0200 (CEST) Date: Thu, 30 Apr 2020 13:11:07 +0300 From: Abel Vesa To: Aisheng Dong Cc: Mike Turquette , Stephen Boyd , Sascha Hauer , Shawn Guo , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , dl-linux-imx Subject: Re: [PATCH] clk: imx8mp: Set the correct parent for audio_root_clk Message-ID: <20200430101107.t76727jwwkyhlkvd@fsr-ub1664-175> References: <1588000281-6594-1-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180622 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 On 20-04-28 08:15:51, Aisheng Dong wrote: > > From: Abel Vesa > > Sent: Monday, April 27, 2020 11:11 PM > > > > Instead of ipg_root, the parent needs to be ipg_audio_root. > > > > Signed-off-by: Abel Vesa > > I have a few doubts about this patch: > 1. From latest RM, it seems CCGR101 (0x4650) is a shared gate for many audio instances. > 2. If this patch is about AUDIO_AHB_CLK_ROOT, then it's parent is AHB[POST_PODF] from the clock tree in RM. > Not quite understand why this patch changes to IPG[POST_PODF]. Is this RM incorrect issue? > > BTW, if this patch is taken from someone else, we usually better keep the original author if not fundamental changes. > I made this change at the suggestion from S.j. Wang. I'm the original author in linux-nxp (internal tree). > Regards > Aisheng > > > --- > > drivers/clk/imx/clk-imx8mp.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index > > 41469e2..dcdfc9d 100644 > > --- a/drivers/clk/imx/clk-imx8mp.c > > +++ b/drivers/clk/imx/clk-imx8mp.c > > @@ -727,7 +727,7 @@ static int imx8mp_clocks_probe(struct platform_device > > *pdev) > > hws[IMX8MP_CLK_HDMI_ROOT] = imx_clk_hw_gate4("hdmi_root_clk", > > "hdmi_axi", ccm_base + 0x45f0, 0); > > hws[IMX8MP_CLK_TSENSOR_ROOT] = > > imx_clk_hw_gate4("tsensor_root_clk", "ipg_root", ccm_base + 0x4620, 0); > > hws[IMX8MP_CLK_VPU_ROOT] = imx_clk_hw_gate4("vpu_root_clk", > > "vpu_bus", ccm_base + 0x4630, 0); > > - hws[IMX8MP_CLK_AUDIO_ROOT] = imx_clk_hw_gate4("audio_root_clk", > > "ipg_root", ccm_base + 0x4650, 0); > > + hws[IMX8MP_CLK_AUDIO_ROOT] = imx_clk_hw_gate4("audio_root_clk", > > +"ipg_audio_root", ccm_base + 0x4650, 0); > > > > hws[IMX8MP_CLK_ARM] = imx_clk_hw_cpu("arm", "arm_a53_core", > > hws[IMX8MP_CLK_A53_CORE]->clk, > > -- > > 2.7.4 >