Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2961969ybp; Sun, 6 Oct 2019 01:35:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7/TMD63Xjpj5w/gkYZuibkv+D/Vtpx99t0/ka7legn3OQIj5c++f5V8L5ZRp8ZG4NBLHP X-Received: by 2002:a17:906:7f05:: with SMTP id d5mr11327590ejr.328.1570350942096; Sun, 06 Oct 2019 01:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570350942; cv=none; d=google.com; s=arc-20160816; b=0vpFGbkuDAHSEjlg52Ym2FlW9//7N1BhBw4r5WC1WfBNLqBDz2TXnOzoXU+bmwtMG9 n/riNGF/aVdET0t6qQYQA08yFdFfl3NSJ1PzX4Amw+GQc4BmgYbd8XUv7EIe+f873lcP k26zSS07v3fSqL0L4Ugo+bCUCoXw3KPUBGEWnGZ5BnGwiifVscsFgrRqL8RjBjiGkDwY e8JrQCy5+9sn9KxFthsXqDclMijBHIuMAd2CJ4ZbDpWRLDn4W1u0TMjD/l5W8wWfYjDL hqIDwB0BYY/N2v+90BJ+vIBlUjrgvuaKAwn9bjS//EGXRILkKtcZ8/B/t21WrIhS/LhJ ORig== 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:dkim-signature; bh=luBtJ1F15wb4PUu03ye9ZvuQYCPYK9xZaVCpG5fh6rM=; b=Dk4b/6RdW8zKBM8xCINzyGw+cfhtI3/Efh65kx1A60ZHzzDh9HPhGrq7RecrHwBmD/ i/7XqAAuQIwq80HNAfgNOxdVMUHnPWlwCafNlSzc/IYiUWr4uFQpWrYHeiVEno5ETNjZ BAQj2qG8GYEshJesd6150ol1jKZ1BBtBjw6eN9SZLfkWGIk6hkDRgvtA2meq11p2oZAB g7a9GuH8mIdxhPqsUXWKijdgOAuUSuX8l5M1/zKkkB0E/cJIUwd9DRw6hKSM7zNWIVhd HukZlqGpw4hDz0mOW3YaL85x2YnfS03crWsMH9RQdw8eeeEAn0uTp9moBMKAxc7J66iZ 9QYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cQ1mRK8N; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k53si6979602edb.303.2019.10.06.01.35.16; Sun, 06 Oct 2019 01:35:42 -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=@kernel.org header.s=default header.b=cQ1mRK8N; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726314AbfJFIdC (ORCPT + 99 others); Sun, 6 Oct 2019 04:33:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:45252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbfJFIdC (ORCPT ); Sun, 6 Oct 2019 04:33:02 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 48FC220867; Sun, 6 Oct 2019 08:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570350781; bh=uI2z8kh80JJBsoGDCTpXgGoUlxoiXMzMMLH6/pjgph4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cQ1mRK8Nn2V3RByDwL40J4iVe6wtSvOfgGM+mpzX1n1u3vY8AmNcM0y566Y9iRK/D H8sPOn6CgAXUfq2lUctn04EUH546sfhdvBSUnmFYJm9DNhtOsh/+f3pQb902XNFzUp 3DXxOW6MoTALJyZoCrP8sMX1DVLJE7px0Xm666v0= Date: Sun, 6 Oct 2019 16:32:35 +0800 From: Shawn Guo To: Anson Huang Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] ARM: dts: imx7s: Correct GPT's ipg clock source Message-ID: <20191006083233.GB7150@dragon> References: <1568622549-15819-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568622549-15819-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 04:29:09PM +0800, Anson Huang wrote: > i.MX7S/D's GPT ipg clock should be from GPT clock root and > controlled by CCM's GPT CCGR, using correct clock source for > GPT ipg clock instead of IMX7D_CLK_DUMMY. So both 'ipg' and 'per' clock are coming from GPT root clock? > Signed-off-by: Anson Huang It looks like a fix, so do we need a Fixes tag here? Shawn > --- > arch/arm/boot/dts/imx7s.dtsi | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi > index 710f850..e2e604d 100644 > --- a/arch/arm/boot/dts/imx7s.dtsi > +++ b/arch/arm/boot/dts/imx7s.dtsi > @@ -448,7 +448,7 @@ > compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; > reg = <0x302d0000 0x10000>; > interrupts = ; > - clocks = <&clks IMX7D_CLK_DUMMY>, > + clocks = <&clks IMX7D_GPT1_ROOT_CLK>, > <&clks IMX7D_GPT1_ROOT_CLK>; > clock-names = "ipg", "per"; > }; > @@ -457,7 +457,7 @@ > compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; > reg = <0x302e0000 0x10000>; > interrupts = ; > - clocks = <&clks IMX7D_CLK_DUMMY>, > + clocks = <&clks IMX7D_GPT2_ROOT_CLK>, > <&clks IMX7D_GPT2_ROOT_CLK>; > clock-names = "ipg", "per"; > status = "disabled"; > @@ -467,7 +467,7 @@ > compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; > reg = <0x302f0000 0x10000>; > interrupts = ; > - clocks = <&clks IMX7D_CLK_DUMMY>, > + clocks = <&clks IMX7D_GPT3_ROOT_CLK>, > <&clks IMX7D_GPT3_ROOT_CLK>; > clock-names = "ipg", "per"; > status = "disabled"; > @@ -477,7 +477,7 @@ > compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; > reg = <0x30300000 0x10000>; > interrupts = ; > - clocks = <&clks IMX7D_CLK_DUMMY>, > + clocks = <&clks IMX7D_GPT4_ROOT_CLK>, > <&clks IMX7D_GPT4_ROOT_CLK>; > clock-names = "ipg", "per"; > status = "disabled"; > -- > 2.7.4 >