From patchwork Thu Nov 7 10:20:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13866111 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 4C8DED3E787 for ; Thu, 7 Nov 2024 10:16:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=olORSjONvDolK/Ge6D0DZ2P+WxDjDdvsMkxI7Hgr/xA=; b=LOtW+yjS+AVorNIoMP/LouBSjP ePFQRR0j2s4viqx/4cvRFHwJNuxX7LCmBzHi5STHRHt0m0MaEbIl1Mj3wb6uPiQknk+hiX/syk/VN ooYY96QofMwL3ckt2rou/onyoCv/uw4T8eGKeOhoaSwp0DxTqeWph9lUZUOuyJQVAVvkWvvq2gjov cihmgwlT/IpjQSggDapULyrWl3Iw6G3GNaumFq8xFg6JVELOFFPBc287RM+G6w9lkGMO3JdxQM/tY 90ee7uteSaDgHC9YOsWlSscyFfoq+A4MVk0eob/jUNbSPDnIs1QJUTe64sIKADWGQwUQJ/BDIsceg 5N8EXTLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t8zYO-00000006Qt8-0vpC; Thu, 07 Nov 2024 10:15:52 +0000 Received: from mail-am6eur05on20626.outbound.protection.outlook.com ([2a01:111:f403:2612::626] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t8zTh-00000006Pwg-1kTj for linux-arm-kernel@lists.infradead.org; Thu, 07 Nov 2024 10:11:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YdGA6YbrJ8woicXd82WPuQd4BBDYNRJqsD0Uc37Cp2WzG3QxPZW7NSwL53mcGeVJsBpXsZ4qpFFotib0WOEg8ADfS34tpa04cb9A770GenOB5DZpW1VabCtoz+rWB7pJPZSLW2SBARgqaxlnnDQ3FcdnCuYrEmBru81rzSbZlrjTNGqacesZWuHG0eSP+dejSviiTVcWUfd1Xf9uNyL8eNvaDvEJ6Zplg6xMRLakoYRMjSyDrtoaIy9QnGvvItJwdBd4pNq/AhSr0sFnjvp732txpyS/LGVxxt3LAp3aLPLb5W4jSMNjryuMXnu+MNr282japARGRQbiNkrn1abImQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=olORSjONvDolK/Ge6D0DZ2P+WxDjDdvsMkxI7Hgr/xA=; b=qjL7+V4OV5dHi5CsKOI4fpiQycQfI7wglakByBHw7SKpXMI5VE4ziA/wetaa+REfOhyQ1ClM31csevpHBHpKvWxN9E/42Qj4ItnRMGubsA6noLLtimhUh9GL4qg03cNN7u6WsN1TFNANpfIGzB/85siknLymLr/rEc1ZzR1Z1TJooLfkv1PCVJQkRm9TnBl7hhHWfMvXDfk0V/tFW/MidUOydGeoNa2QRb/n3LwUKGPPeFnsqx7ZR0a7aQkYzlePUj2bfqELn2u9Qj3ofDK5FBdBr8Q4GuN63i7SUjhAhV3uDfS1aJ9IY+QLka+YQoLFTV1lKX7vT+OW2AWzqQP4Cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=olORSjONvDolK/Ge6D0DZ2P+WxDjDdvsMkxI7Hgr/xA=; b=BVHzwp9rwp+OfcCh7fkWn62toERfylEOZJc0LEm22OM2HI+kiRRa+5gRmn1ZuE3c5JanWTPEhcriTgSIPObjvG9QnaSCuQJ/0oSCBXV6digqeRdVoePmh0ilgLAexue4KyPJYNAl7j+mpjJoQXUz3Bb+pARkF7btk9ZpOv9u7m6yW2iPHWyORfbHweWT22vENZ+XRRdWsxIuqeft/Xtvy8ssu3hpwCbGGu/SG+0/oPYJBVddsFmFxCWknjN/DT2BbTjjSree4hHSIQOAI29qmfnDpieZ5f30MmTa7izwHrYoYnHwsy8x+9Ukve2T/D+Jd5zPJvzViCkFcLmvNEDhwA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB7055.eurprd04.prod.outlook.com (2603:10a6:800:123::21) by PAXPR04MB8991.eurprd04.prod.outlook.com (2603:10a6:102:20e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Thu, 7 Nov 2024 10:10:50 +0000 Received: from VI1PR04MB7055.eurprd04.prod.outlook.com ([fe80::d6ab:1538:d868:bf8]) by VI1PR04MB7055.eurprd04.prod.outlook.com ([fe80::d6ab:1538:d868:bf8%3]) with mapi id 15.20.8137.018; Thu, 7 Nov 2024 10:10:30 +0000 From: Shengjiu Wang To: abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, imx@lists.linux.dev, shengjiu.wang@gmail.com Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/3] clk: imx93: Add IMX93_CLK_SPDIF_IPG clock Date: Thu, 7 Nov 2024 18:20:05 +0800 Message-Id: <20241107102008.3626023-1-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG2PR02CA0028.apcprd02.prod.outlook.com (2603:1096:3:18::16) To VI1PR04MB7055.eurprd04.prod.outlook.com (2603:10a6:800:123::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB7055:EE_|PAXPR04MB8991:EE_ X-MS-Office365-Filtering-Correlation-Id: 71c3e8f9-857d-43f3-158b-08dcff1468b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: BNitcbNZ0wUxvHSAej1FtNM1VfvVnBoFJfqsmg3PEUwFODa0ISxpsk9SkwkGPj3wjB+b9KnppayCJYw5UvFdmF12IKjQjoMf6qyt/cWsntiO8w2cZQeuqY/OdZk9qBOeEu1mg/Kl+/Rb2fSzpPEROcrQPpZOkz48Vhdk8y9yZtm7s5lUFFIRkPlfxvbr1+U8Cg0vPJ3twTdTeD5VTWfd8hPI1/ywjMMoUlfIY0p+aaAH17oFH41IMM0NmazZ8OvEXD8fV32Le/NnJkyIw3EsjDYPR+5jg40i8uLt3mUhre0lpP7RHZIpvKrC4bVaPp/baUAOey21sp0+dR2DE16l3JAEMXObwqpiC9X8LvfOw190U+F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CL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB7055.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eQJl6JQ08rLeoFGXKP7xoJHj2hqfRQWwU0eD9HGyxp3Ftd1Xch4AoKnABWSW1Gf6UbABZr84FEcPG4rGkWobjfLSLy8NOLSuaeSanwJuIGg66kbyMyshXEL2X/Q35vQCihYRrCXg4fIVNnSm9Xc5itMxg/VvfhdJ1eVHkx/U3k0emEBB9EISHqya0zS+vf31ajH5LaHY7HhuC2oa9IbR/6CJtkTFSjNpIv6Tg98LwliUyOgL394RU2YTh3PYZwRDgjd6KutXkCJl6b1T96ABn4NH+KNS3Pe7xzYzt+UcFNkv5um1mNm5hIaGekaNu6jw+mJkWmsUUn1YMUtNSMBItNULqVy2+9+rmc4RgwsnOc9x/atX/V4DZK83MlO4iJA9u+p2cUwRi+lQErw+t18eQUBEjFwVpngLUIs/bYIn9CYhUN/FqVXpk3MrxoAz1NMBULmzn68vrSqvBuW0kd7ex55TOZWn3Y9SQJVyh0gBISnYRpjEXI799b/lg464Z83Gk3lqqKMcJaOfMrKdDKrl87MvPtOu2Gb5gSdhcBB/wLLQzw0z95b8d2g57KVyc5eYxBg3nifrbCf3wsgLhlreGd668ZBsHKTAorEDBq53HN4z/0yU3D0KonjbZ4cq2oJ/35dDDmI9ZHKx2P0TxyfsDwvxYmsMswwYrjVrEvon4QamkfwOz4QoV2g48NcWFTIRzmjDHE4JBLQNVG+OVzTp2GS/D5TaZ4CumsRZDoLrdIFUQvS8KZ3Y8M7k7x04QsjRP3WQpCzrisdXDDFAfexyMhmaOKtl9ubTRBjHzWXdVlnSfBBd17fQbF0du3OURljZynRH1Dy8CRMSp7i3A5yja0+gjJr5GW9taVFY2J3Kie0uMK3tNCqoW6kDuoBbRzaWKZzRaGkhCLIkOHpSeVB0rDkMen7HJV+62+ePpznkN81QDsSJtM0CYe11ALzHcbvXkq5//Gb0498203iaZbKBMc1zapb1ZkGZIhquCHOYInhxRY5MNmDhCYFZ39OmIrycwsvaN+LhicNwUBg7T06ZXODVJLiFI1Db3lSCqWpQe0hATzdEu3zHljGd4IAhAqTa+Fw6jbjU5m6QvaD6ecaFlgooP70VfuPLFlFCuJq0959BNxD7W2vEzWCgmRBEiNALs6fKw816Aljtu/q+dgd29TfEz+ozw1wt/2828TNIeQNP0Knbh9cLsNQQXWdd16MJDCE/Lto3sq97XnzfxTzxMGFpEILQBBNhuwzcBEzFYmVXRhYfuEoLeKZ1bvhaWnNA/4Wcf40YO0Y5KURdHAukgXylpmo81IkVMSjAwzIO8apbrP1rRIDhqX/wdao134pISnZyvkykqZBbUbtsvwpYRdejQ95KJFEFaxmTQ7SBbtdaVLSPxBG6+g+6Vs1BXMj1DsNHgVaqJS1vST8JzflLMLtE//EPFYO4ttPuepZi9QEGUDoskRYTX4jAuT8q3XPdCWsDgx1m2DX430lO0r150z/QsgIKjAxzc4b/Iv4jOgNaLB5b86SUiNzfbqD0PuLTJptpsFOWG3Q+E6iouhgrMiremupFUvswsIPX2Fh/GSdWvv7ZUUTkeh2EjTy49zki X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71c3e8f9-857d-43f3-158b-08dcff1468b7 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB7055.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 10:10:30.5513 (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: 1+cSFJzNcdqKxIUNHTr4fLW0kyvQZyQEvm0IgcO+h+UDmjP+Q4fqDXdvjBQcd/roYXNpx7o/C2ZLA2xXmtwU4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8991 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241107_021101_480693_368846D9 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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 IMX93_CLK_SPDIF_GATE also controls the gate of IPG clock and root clock, need to define them separately. Otherwise driver disable IMX93_CLK_SPDIF_GATE will cause IPG clock is also disabled, then register accessing fail. Shengjiu Wang (3): dt-bindings: clock: imx93: Add SPDIF IPG clk clk: imx93: Add IMX93_CLK_SPDIF_IPG clock arm64: dts: imx93: Use IMX93_CLK_SPDIF_IPG as SPDIF IPG clock arch/arm64/boot/dts/freescale/imx93.dtsi | 2 +- drivers/clk/imx/clk-imx93.c | 6 ++++-- include/dt-bindings/clock/imx93-clock.h | 1 + 3 files changed, 6 insertions(+), 3 deletions(-)