From patchwork Thu Jan 27 14:10:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 12726844 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0465C433F5 for ; Thu, 27 Jan 2022 14:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GvZLFozJjcQN7Af/ju5UF9mVe8cBiEOs3q8ZnFnnsK8=; b=gDr27VA/uYx6Zp SwkVXTsBp+8y5phQ6+ZamYV1aGKu1Z/gg6egLA8dw85w3sfEkkT/aHSJuwfVOLOZBOifKNcFyxo6Z Kzpi/jzpgVrrDN1dmuON6dXpTKt0Y/Aycov/dasSRpCys3uVvH20+tzU7y09zIjD2IWK4aMdhCzGx 3c5JDgEdqOxhbOMj7nRqZ7duh0tUGZ9Dje/nu3Z7XqjprDB9RzcoLXHbROUs7VGxRSggCEJcINlb7 97c9wj43DL57Zud1UDlKVmHawfiMn2z/yu9JDaTJ9Ri+hWxdSdwY35j2ByHdkkVOBWOdrL4bN3CVi KnGiZ3dfZZKV4/qG9I7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD5VQ-00G1tk-FK; Thu, 27 Jan 2022 14:12:08 +0000 Received: from mail-eopbgr70054.outbound.protection.outlook.com ([40.107.7.54] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD5VD-00G1pe-Js for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 14:11:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GLuuVUBYOYvtp85VH8OOwtUe4v7TfUzPK6+bJiWB1o4zSOpOpibVjCN5Cvh+9dPL9Am8aGDsKM4OaNyYsFS3J47L7zjIjDdDyMC6IkQvBlw1Af1RK/p4ybHb+JoAWm350HAibkPCBUFsqmU+cCI7TncbhEpsL/NY0E2tVK2onvp1InlzNRKSMQizPQRG5qXjSIxKeasPh01JYRhm5HVX1InikIX3EveznvNOIoH7onRq8Gv5qmyotNZfkVegHu6TWdjIZp0o41TjEcyEsQ+Xn3snK/HevSZGjy5tBLjxoH5p6w4UVZfYHyMkr6U/Hz4jnUxKMDSlO0deR0FjJe/Lcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TRc5R1X4Cvg8rNGNUpZOcSFll5ZvlXEO7Q+N5Nfr+7o=; b=iqtY4kHcgxzENrw08CGHEJXK4PQf8yY9IUbIUjWQlwoFax5U0+JrXbjEoZVL3+IB62edFbGoX6JE32sxHFPb3Hn/Vm5Z9iuIdmRexS50BCIeyojjgrS2fJe20uex+PH5qjnEA6cY+DnzryIMGbVw8P4A+WJHIb3xVkvhDwX6IjT2/28F+v/Qswm4FtM7jnI2o9Y8PAPk5gvXHkAr0CRopuZyU2BF/WySZG93ljaKuJgjAGLwcAIhYVuiFxyOiMHmXuxK+jl6IYL2APDpB6MfjUHh+HXChi0Y38l5S5znG0Q3YJWOwqBrf7B3dGdP9lU1MD+tKlT9rejFhT7CJrUdtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TRc5R1X4Cvg8rNGNUpZOcSFll5ZvlXEO7Q+N5Nfr+7o=; b=FJGnPGgw6n4US37/gBC9xJT++Ux+EAhcHeYBVJaP7eGhO+FPljs7nctN1DFHYNE4PaHIaxF/soIVP7+R6Aiy1EmxDKdog2GZiLoqyVt1QEvHu8YctUbTw2jRILPhlmM/xJmKwXfn1vXRl4U3SkQEfaaCOSD2S5fqcG3snpD4dzM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) by AS8PR04MB9208.eurprd04.prod.outlook.com (2603:10a6:20b:44f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Thu, 27 Jan 2022 14:11:47 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::f853:4e9a:7ab6:dbf7]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::f853:4e9a:7ab6:dbf7%6]) with mapi id 15.20.4930.015; Thu, 27 Jan 2022 14:11:46 +0000 From: Abel Vesa To: Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Mike Turquette Cc: Pengutronix Kernel Team , Peng Fan , Fabio Estevam , NXP Linux Team , Frank Li , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org Subject: [PATCH 1/2] arm: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk Date: Thu, 27 Jan 2022 16:10:51 +0200 Message-Id: <20220127141052.1900174-1-abel.vesa@nxp.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: VI1PR08CA0178.eurprd08.prod.outlook.com (2603:10a6:800:d1::32) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 56c2441e-6d44-4a1c-4f37-08d9e19ef36f X-MS-TrafficTypeDiagnostic: AS8PR04MB9208:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e/3OoIdLwZZR6AuyEoPFiXUBufCHec88kbr3ZTZqxxr3hmbQ5s27pskqJDv3REKT2dTYWGQcGIk8HiMAp/1R+iiONP6xlE+KxyxIj4otEyojYKz42SOqfvP8AzWxSAqp1nLImLkW7uLs5hB3nhNclc1FcUeGfadV5SuBhD2AptHglqiaVwSnDVV72y5lahl6c5HLImwVti0lyNHyz/j3uiC823zc488/vsTAV6BHuXD3qt/dbnW4jrzwoWRHbKg8xdhdmPi6a4v8VPq2n7UIvsq7Z2l6saOdzNwpe0+hjuggipH+8H5gvela5On4C4GzJ73Z9/SPx23ieoCvOs06I92geE40vl+bQRLGz6ofgeRkn0okHW1HN7wc2o1OC4Nj7Z4W5dLEo6El7o7zk9mnpbFzWznEqIbxiCFXWPrwGViRhrZtBysLexowVMZIieAx2eKYC+KBU9qbQeJfsZmbP4YjfXX/yo/cySLaJjsEc0U0CRORU0hH5w8RDIebvWWQMwlLqg/SHuD0ytb260BOGCcF5QOAF6y3IIsuJ46BM2tyaCBeogy0LkyolIfZYX2OE+SeIy6ZcKLGbyCs4Ixr30ZFi1rGTpvlcjnNWmecAnHREhFOOa2dhyXlchhCf/peGYeYnBSV/fHIsJfv1TXBO1oRnt8CutoLASHFMNQnSkeDd5XxadROyCLUWI8w6Ta+/VZyNdFOMUaxT5fqkCOTUw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4688.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(54906003)(86362001)(110136005)(66946007)(83380400001)(316002)(38100700002)(52116002)(26005)(186003)(38350700002)(2616005)(6506007)(1076003)(4326008)(6666004)(66556008)(8676002)(66476007)(8936002)(508600001)(5660300002)(6512007)(6486002)(2906002)(36756003)(7416002)(44832011)(20210929001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zxUNcF3zaNScPAgzBr2sBVyY45/DXRuGt/ZCUq2bF9ZzTV1P3TuqipUp+8yCw7G9gQgiECVICX7ZGtl4NAM/kljYsDAm/cAjJaeSAieUTxqQsBaNCCsD76rkymyNnkAh3dBEU42Nd7oFmpL+/MG4Ze0j5GoD8ki/FWg35fSFEXlskSmRieE0pfR8y8v5a7sYJahqt/Bso4ZXzEbHPjHkrUAl9DlJ5gZ1Icg9J3bKgF6Wp2giG2O9lCxUca0/UVLJyR63CpNKx60y4mfaUilJRe82tuvPD6906mxnZkAGmF9k/ywwNM3EE8Uql+1l8lun9YOqna1OSgMfkLM83fFVcip8ALcQ7aOfMKRQ4AnaUpKx6fFwXU3ql2aY+AvrXdEkYwnwgxQ6+Jt9MtusCDGKmMCSZ53rE2GNe8DKFi2MxMv7Mo7utLYM8GLaa07bh/XotkGj3qoCoCkYjNaGn3rH2XndFRMgh/ig6FZIjE3ukzw6IvIoqpasWegO9G6zre9hgFwoYnKvyNfLeDhRao3GzGEFPZPygQX/xOm02zHmXmK4Lv7xwKbQcItjx1CnsNJB1nWqbsAmJlhEC2Bh5eU1+zYmCOcJUaljVq7uVC5s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-6d44-4a1c-4f37-08d9e19ef36f X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4688.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2022 14:11:45.8626 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: c5PNfeNte9mo6q9bPmiSBCpzdY5/9KTO+yOVzp358V2ZfcBLOhgYGR3Oa0XWxrUUQFBuOlLaNO7uF7w33xy/3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9208 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_061155_690481_7E9BBB87 X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The audio_mclk_root_clk was added as a gate with the CCGR121 (0x4790), but according to the reference manual, there is no such gate. Moreover, the consumer driver of the mentioned clock might gate it and leave the ECSPI2 (the true owner of that gate) hanging. So lets use the audio_mclk_post_div, which is the parent. Signed-off-by: Abel Vesa --- arch/arm/boot/dts/imx7-colibri.dtsi | 4 ++-- arch/arm/boot/dts/imx7-mba7.dtsi | 2 +- arch/arm/boot/dts/imx7d-nitrogen7.dts | 2 +- arch/arm/boot/dts/imx7d-pico-hobbit.dts | 4 ++-- arch/arm/boot/dts/imx7d-pico-pi.dts | 4 ++-- arch/arm/boot/dts/imx7d-sdb.dts | 4 ++-- arch/arm/boot/dts/imx7s-warp.dts | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 62b771c1d5a9..f1c60b0cb143 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -40,7 +40,7 @@ simple-audio-card,cpu { dailink_master: simple-audio-card,codec { sound-dai = <&codec>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; }; }; }; @@ -293,7 +293,7 @@ codec: sgtl5000@a { compatible = "fsl,sgtl5000"; #sound-dai-cells = <0>; reg = <0x0a>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai1_mclk>; VDDA-supply = <®_module_3v3_avdd>; diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index 49086c6b6a0a..3df6dff7734a 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -302,7 +302,7 @@ &i2c2 { tlv320aic32x4: audio-codec@18 { compatible = "ti,tlv320aic32x4"; reg = <0x18>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; clock-names = "mclk"; ldoin-supply = <®_audio_3v3>; iov-supply = <®_audio_3v3>; diff --git a/arch/arm/boot/dts/imx7d-nitrogen7.dts b/arch/arm/boot/dts/imx7d-nitrogen7.dts index e0751e6ba3c0..a31de900139d 100644 --- a/arch/arm/boot/dts/imx7d-nitrogen7.dts +++ b/arch/arm/boot/dts/imx7d-nitrogen7.dts @@ -288,7 +288,7 @@ &i2c4 { codec: wm8960@1a { compatible = "wlf,wm8960"; reg = <0x1a>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; clock-names = "mclk"; wlf,shared-lrclk; }; diff --git a/arch/arm/boot/dts/imx7d-pico-hobbit.dts b/arch/arm/boot/dts/imx7d-pico-hobbit.dts index 7b2198a9372c..d917dc4f2f22 100644 --- a/arch/arm/boot/dts/imx7d-pico-hobbit.dts +++ b/arch/arm/boot/dts/imx7d-pico-hobbit.dts @@ -31,7 +31,7 @@ simple-audio-card,cpu { dailink_master: simple-audio-card,codec { sound-dai = <&sgtl5000>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; }; }; }; @@ -41,7 +41,7 @@ sgtl5000: codec@a { #sound-dai-cells = <0>; reg = <0x0a>; compatible = "fsl,sgtl5000"; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; VDDA-supply = <®_2p5v>; VDDIO-supply = <®_vref_1v8>; }; diff --git a/arch/arm/boot/dts/imx7d-pico-pi.dts b/arch/arm/boot/dts/imx7d-pico-pi.dts index 70bea95c06d8..f263e391e24c 100644 --- a/arch/arm/boot/dts/imx7d-pico-pi.dts +++ b/arch/arm/boot/dts/imx7d-pico-pi.dts @@ -31,7 +31,7 @@ simple-audio-card,cpu { dailink_master: simple-audio-card,codec { sound-dai = <&sgtl5000>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; }; }; }; @@ -41,7 +41,7 @@ sgtl5000: codec@a { #sound-dai-cells = <0>; reg = <0x0a>; compatible = "fsl,sgtl5000"; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; VDDA-supply = <®_2p5v>; VDDIO-supply = <®_vref_1v8>; }; diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 7813ef960f6e..f053f5122741 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -385,14 +385,14 @@ &i2c4 { codec: wm8960@1a { compatible = "wlf,wm8960"; reg = <0x1a>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; clock-names = "mclk"; wlf,shared-lrclk; wlf,hp-cfg = <2 2 3>; wlf,gpio-cfg = <1 3>; assigned-clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_SRC>, <&clks IMX7D_PLL_AUDIO_POST_DIV>, - <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; assigned-clock-rates = <0>, <884736000>, <12288000>; }; diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 4f1edef06c92..e8734d218b9d 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -75,7 +75,7 @@ simple-audio-card,cpu { dailink_master: simple-audio-card,codec { sound-dai = <&codec>; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; }; }; }; @@ -232,7 +232,7 @@ codec: sgtl5000@a { #sound-dai-cells = <0>; reg = <0x0a>; compatible = "fsl,sgtl5000"; - clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai1_mclk>; VDDA-supply = <&vgen4_reg>; From patchwork Thu Jan 27 14:10:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 12726843 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C1B2AC433EF for ; Thu, 27 Jan 2022 14:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UYLgGhQU3O1NbQg9uZaycpbhEyRnierWbn6JcFa9DrI=; b=NJuDgoXtXAykl1 fNJO+Gg0jCRr04C0rIQ/er6ADheoEStw0jhFGosfqTXdJ8bTh87PSTewCq3GydQ1iwfZ1batJtQEH 9L6Xp7xb75Z7/u2sTiSXt7BO9zlA4KV4iWsiu4VgvBgCKtV5WYXIQuh3xyc+TlKuYImN92zODexZR wJj7B17fA9GnPXzBHBmcfMJO/g9A1Rmd1Qqi7R0tabzEan4tBOIMkn3Ay8xpDHzzU4kKq8yeKKiFQ OJK+ZEugCpcdHOk0oAp80iOkcP95MJggANvurRlDB9Ba/eiOSRBVgrQlAkxyAfb8o3Q19LvISG/pW gHdMO0ByTfXPEt1lliXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD5VG-00G1sd-8F; Thu, 27 Jan 2022 14:11:58 +0000 Received: from mail-eopbgr60055.outbound.protection.outlook.com ([40.107.6.55] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD5VD-00G1pf-9q for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 14:11:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iP224rJ1iKo5uebGur37zbgjPFXqTtat01jwhe5pt1wUh6c1ETpx9rFCRLHD/BtljDGOnfkNQFnLa1rRrIQH5Dp16LpdrOEr5tXKWcReKC7buGRXrxp5zKE56Vtd82oE77TGpBJDNPTzmfR2aki+zp7GfO5dxuRwE6KfnCNGZGusnaBKEvqTy9zODttKcMZmOajEa+zxULYT9AnHzjMeNzDaEAT7eqtToHD0yFqthTU3r/cm1CpuVvoTVPRfBB0FyReVq3/HlWEnebyuDrpcN8861lF34IooTCGJ/XuskGTBdK7sg2+Wm63L1/XDSoc/a0CbjEF8IQE6LTPS3ZYcdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WyR3Oyi57e7oEqMudDoWB9C0T2fNYhrAtyBxvI7Yu70=; b=Hc/kJlIaTjuS1b+ZMN0UFTpPPCKW5tM0IECilkpK12qG/6T8VJiutM5Zor2D51g189/BKllTmxNuaQGQbSY2Edfg9KZ4EoaDUNdmhAnXw4zUGx/ERTAEpZzUUS2VQIjcTYINJCEKQiDoAZFvaTne+klk2spMBp41VHQI+K8uDx1BqkCP9N9QDWzqp1kkg4hTD1Pl2z7ChElFbCZRrAj4zS9jhB5MoeAMeYBnitWu+SoD/TIIJ6dQl68B+nV9leSQjxksMYYj7juYxr7rwHJXxUsjh0tR1dAMdRzlOsWEv+YaenHAGmn/8ZjLpmL7Ytasr7O4ajXmoTD8OlzPWGSL8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WyR3Oyi57e7oEqMudDoWB9C0T2fNYhrAtyBxvI7Yu70=; b=rnJmIfAc+9ChoO2VnbzaN5eX8hiKQGU7SWhFQgIpBO+g7vuaSUdroizv2aqUCr8/PtVFrziJTfPPSgaSFvHhWDnLk+f8dSc1qN4oZrRm+wCaTj/zxQpwb8q3HTxD09FoJF9LISJhrs63eylGcbt+fLfF3EbsPFmfIsMH6VQsdVg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) by AM6PR04MB4615.eurprd04.prod.outlook.com (2603:10a6:20b:24::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.17; Thu, 27 Jan 2022 14:11:48 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::f853:4e9a:7ab6:dbf7]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::f853:4e9a:7ab6:dbf7%6]) with mapi id 15.20.4930.015; Thu, 27 Jan 2022 14:11:48 +0000 From: Abel Vesa To: Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Mike Turquette Cc: Pengutronix Kernel Team , Peng Fan , Fabio Estevam , NXP Linux Team , Frank Li , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org, David Wolfe Subject: [PATCH 2/2] clk: imx: Remove audio_mclk_root_clk Date: Thu, 27 Jan 2022 16:10:52 +0200 Message-Id: <20220127141052.1900174-2-abel.vesa@nxp.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220127141052.1900174-1-abel.vesa@nxp.com> References: <20220127141052.1900174-1-abel.vesa@nxp.com> X-ClientProxiedBy: VI1PR08CA0178.eurprd08.prod.outlook.com (2603:10a6:800:d1::32) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: be5d8fff-160e-4216-a76c-08d9e19ef40c X-MS-TrafficTypeDiagnostic: AM6PR04MB4615:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b0Gq+NJ89bCNosec7kxlvc1okre9tBdFdY1xlLgrcvA3SnA2STZxFkzslpkTjmGIxqvtRsKCuCE9zdcWsz1nOGySx0U/JJNox39DrP80eiV6rCTXzWwcMsj8ZeYaps73hUEgNFQh74f30GGQl1/njhzNakPHvMp8VsDtg4aiQbqYnUXxNBcMaas9ut+93JBGDqW6iXKPxD/LZSA38/Ks82kBmg95I31ck6q/ENRB3V90NAA60XFOLI23tnVU6DJ6TFU9BK9h+yP7KkSy2Aqz9l2dgezzTEUe4bygfYQL/dBtPgpszIBkWYRTac8U5iEXArCXgRBG98Xk2GU5+ov6OJW3ejAJVRs9Cbr3/VmmQZadNnfF1ZkzLA5bgY7Ui0oa6GyCJjgBWv65Hb006TAz+OIBuWFwuf8WVPMXVBAYdhSoSWz/DVXoidANB50ZwEl5RgHti8iYIFvfzmVyBVl098DrqBFMIXvhoPy0PpywAcueWjIYVXKAsHNTBJEtgZ6lzaR0Or4HrpwwCOv++Ksx6uiPaUweSgq8uGhsT3A8MXuOvPawTWNvV+GOLUfHGnnVQed+PTzYyG6+QuRnbx5w99Rm3gCl+HBVB6ChOo8sVG6qIpJRLIYlMr3T3SktX43fZRSrerQyfL4mXEcIhQd32ywCtCXTLtaKIjyRYjHRNbktnPAJMitMLf/EGdS/jC6t0kDFF7g5xkeSCeVobLHT3w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4688.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(4326008)(7416002)(66556008)(36756003)(316002)(54906003)(2616005)(6512007)(38350700002)(38100700002)(508600001)(5660300002)(83380400001)(1076003)(6506007)(52116002)(66946007)(6486002)(44832011)(186003)(2906002)(6666004)(26005)(8676002)(86362001)(8936002)(66476007)(110136005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: S42fQWyQ2FrH2tX9r6LbM50yVLcLuj3gpuFSvjrxF3srgtKqbuwmMw4j7bpBZySiDdIb/bi0P67EtBQF8gymWn0uTcx91kKkN2QLnAyB00B1ZSRFSrH3w08pl+QgDK7ywlpgyABk7Xj8uG1I1HJd+9r16i/MtZmXnw41rEsojqwhqoMUu+ZEu9utLuWp/853itXUYmChxS9IwrKDQkIQSm0elFvVWVN6+wT8um8QdXgM0PUWRkXTaAz/x1KXtBi2Mk/X+dE8w6MyCLqrypq55QKj0LCp9W9cPK6uMhNjQt4l5WIQk1o+nH++fkKMJG1Asb1Kosxao5UJQy41EfFicJMX6H+jJCZXlQoLKRuzgDyx5eKBAvSjFnxA5BPyjscPtNoBZig1OZry8GPNCpZzPpophN2bB5Itzt44TRLsS4eET2QwD7hMAabA/SViEUhlnutYehFLhy3+kzUpf6udQYHveR9gULnCJXDZBi1tNQTETgzQgWVBOy9zG6LVliQiU5O1JLB0JJKKB2gt/NIqL9vxjolnjHRAPnk6Tj/vynQqF1aGUgCAwIDSb+MTF8r4V2zlNxN3Gxj37iuPsKGnJkD8ZiIwIcZw8ZEapDZxMDKXuRWaH23Mt0CyibPKm7/Q7wsv36+G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-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4688.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2022 14:11:46.8469 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QK+BKp8vJbw5r0YlHuEGCGcjr2DEBVNtwbLQmKu4bAzIVdk1y+hltx5Wil6OgFlamGPdxKwJUDJcYWJtzqTsFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4615 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_061155_408491_89AAEBD5 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The audio_mclk_root_clk was added as a gate with the CCGR121 (0x4790), but according to the reference manual, there is no such gate. The CCGR121 belongs to ECSPI2 and it is not shared. Fixes: 8f6d8094b215b57 ("ARM: imx: add imx7d clk tree support") Reported-by: David Wolfe Signed-off-by: Abel Vesa Reviewed-by: Peng Fan --- drivers/clk/imx/clk-imx7d.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index c4e0f1c07192..3f6fd7ef2a68 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -849,7 +849,6 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) hws[IMX7D_WDOG4_ROOT_CLK] = imx_clk_hw_gate4("wdog4_root_clk", "wdog_post_div", base + 0x49f0, 0); hws[IMX7D_KPP_ROOT_CLK] = imx_clk_hw_gate4("kpp_root_clk", "ipg_root_clk", base + 0x4aa0, 0); hws[IMX7D_CSI_MCLK_ROOT_CLK] = imx_clk_hw_gate4("csi_mclk_root_clk", "csi_mclk_post_div", base + 0x4490, 0); - hws[IMX7D_AUDIO_MCLK_ROOT_CLK] = imx_clk_hw_gate4("audio_mclk_root_clk", "audio_mclk_post_div", base + 0x4790, 0); hws[IMX7D_WRCLK_ROOT_CLK] = imx_clk_hw_gate4("wrclk_root_clk", "wrclk_post_div", base + 0x47a0, 0); hws[IMX7D_USB_CTRL_CLK] = imx_clk_hw_gate4("usb_ctrl_clk", "ahb_root_clk", base + 0x4680, 0); hws[IMX7D_USB_PHY1_CLK] = imx_clk_hw_gate4("usb_phy1_clk", "pll_usb1_main_clk", base + 0x46a0, 0);