From patchwork Tue Jul 4 05:39:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13300675 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 B0815EB64DA for ; Tue, 4 Jul 2023 06:13:16 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=i9bS/dto8/42WBVvHfGgkopMEfl7GKoPVORO743Ve+E=; b=LvjPn6vElS7Spw xyYQJF/LMp/nF3YBiUroXyFEKt3k8lPIS1LkBhbZkl7lvJEK7FDicMhzgfLI0sZZ2LMGKhIO5xzPw wBhnDJJoNOab383p5Ui7YwD/irbSpnT2IGJsDzz+7RTzOqHZVUy3sGw8ZZIQoCqeDLUdIlvV1JH/z M19A9DPKGj4eWHiHwGAhlFNZiwfZamixfEshw5Sn/87jpdODsFLQ7PPm0lnTuLXAdbKX6MC36vLom zZ4Jqb2A5kLBx1P/QrYpG+CCN1Q0ULOOWxnrd90L2w/bDExdt58S1GZ5K5PKv43sXdEF/SXWWxk9M kf7qaJ6158NFOc1IMESQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGZHS-00CHTF-17; Tue, 04 Jul 2023 06:12:54 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qGZHP-00CHRb-1u for linux-arm-kernel@lists.infradead.org; Tue, 04 Jul 2023 06:12:52 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E492E2004B7; Tue, 4 Jul 2023 08:12:47 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ABBF52004AB; Tue, 4 Jul 2023 08:12:47 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id C1D001800319; Tue, 4 Jul 2023 14:12:45 +0800 (+08) From: Shengjiu Wang To: abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, shengjiu.wang@gmail.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] clk: imx: add audio clock mux driver Date: Tue, 4 Jul 2023 13:39:32 +0800 Message-Id: <1688449175-1677-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230703_231251_781739_65C26B1F X-CRM114-Status: UNSURE ( 9.63 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Audio Clock Mux (ACM) is a collection of control registers and multiplexers that are used to route the audio source clocks to the audio peripherals on i.MX8QXP, i.MX8QM, i.MX8DXL Shengjiu Wang (3): dt-bindings: clock: imx8-acm: Add audio clock mux support clk: imx8: Add audio clock mux related clock clk: imx: imx8: add audio clock mux driver .../devicetree/bindings/clock/imx8-acm.yaml | 71 +++ drivers/clk/imx/Makefile | 2 +- drivers/clk/imx/clk-imx8-acm.c | 477 ++++++++++++++++++ include/dt-bindings/clock/imx8-clock.h | 28 + 4 files changed, 577 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/imx8-acm.yaml create mode 100644 drivers/clk/imx/clk-imx8-acm.c