Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3681889ybp; Sun, 6 Oct 2019 17:47:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBKIwVxLL1524w+iXHUwwF603SByukoRFRn+Zz6Tvhk8P8bC+iL9+FwyIqxmuM4LvzB3tO X-Received: by 2002:a17:906:8319:: with SMTP id j25mr22241342ejx.122.1570409230548; Sun, 06 Oct 2019 17:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570409230; cv=none; d=google.com; s=arc-20160816; b=DCN1WLb3l6dzZzuEGtktlHjGkT+a+I/sD72abV1Gpr4JuAi+JH3m5dzhTFP4tYqnW9 YRhjJkaoTmmbkPdTz94+QpdPT53ZJK3hjOEzSVDkOqm0AVbS1neH8Zu/XrxzxH5MDPWZ r6kjtnBVVecKOIKs25dMMb4UkeFIs8YZC72pGu+LQvqevRn0Ft4SrzdSbquULmoIU3MU 2pgSgBejR8MJslw1sl3d7knOP9NatxE9vEn4S85UvWBtVqreGudcB5BgFB0eLGm3bued vlJPKlwuvMQBjxNZVrsl9n52LYTdreA2BqpNCD1YCpKvNvfWJ/tv+GFbhuPoI/+UYH5e tVxA== 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=rbDc71ri+bdN3uOgB5dyuZG9uXRX/TAX9ul3qk+04vY=; b=K0is+/CXXoQvwJDuksz7IXxe2fYRVod66rjaLcUP4UpAWnDl3+E9TwAr8RAD5Uk/nV gd8m2A2Zr+EKtNxq/b+hHiwKhe6o6X5DJS71gn3PUuHJZ+3zsDHQ+a76qOIMfqkV0Dii 7Dgs+DAGBdO9KNUEA/VaKwjaHxM0LuTGdMan0OUhlpsM6F7mBp54cbtXS31Is+S4+cTG 5qCGXvd93e9fmdgPfFCTTbjISTAvl5RlL4lq9VQj0cqG4p8UsEwpDLBs11w/Ht2vQ07W DAphY95Nn1kkw733EosHCmWF9iCGgTlzIDF3oCuxdKWdhM8rn76dXzJKHyY6DQ4ZcRBs Rakw== 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 v39si8057570edc.234.2019.10.06.17.46.47; Sun, 06 Oct 2019 17:47:10 -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 S1726948AbfJGAqB (ORCPT + 99 others); Sun, 6 Oct 2019 20:46:01 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56398 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726661AbfJGAqA (ORCPT ); Sun, 6 Oct 2019 20:46:00 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 620151A010F; Mon, 7 Oct 2019 02:45:58 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 845781A0037; Mon, 7 Oct 2019 02:45:53 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 58482402B1; Mon, 7 Oct 2019 08:45:47 +0800 (SGT) From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, 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 Cc: Linux-imx@nxp.com Subject: [PATCH V2] ARM: dts: imx7s: Correct GPT's ipg clock source Date: Mon, 7 Oct 2019 08:43:42 +0800 Message-Id: <1570409022-20442-1-git-send-email-Anson.Huang@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 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. Fixes: 3ef79ca6bd1d ("ARM: dts: imx7d: use imx7s.dtsi as base device tree") Signed-off-by: Anson Huang --- Changes since V1: - Add Fixes tag. --- 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