From patchwork Fri Jul 21 10:08:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13321846 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 9A905EB64DD for ; Fri, 21 Jul 2023 10:43:32 +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=+3anMAfQ9HF3QbumoxV6ux8R2h+POEvgbWwB3dW8dS8=; b=dw5ql2PZYjZTTl 7XOCXQtgE1n3gI8+vZJGekMRRJ0/5AEDAwZxpv/L2lFj99aqcHQaU0kh3jAFCLcmYKRA3RY7Ka16k zSjPU+ljgLhPvZrM1fnC/eRUfsvDuu4Mw7bbt9N1Nz25ebPuYUCXsEi+XnG+3x7GIeFwEL2myra+K Wag4TpXWjl3iJSwG3GAVtrW43P99I/4ChvQDx16DC0ClqyrebYsHBt8V1CT0+yyka54Mn3gPYn8Sh Vwlz5/DvUUJbPRRI7wRDslA3qtFK54XWWh/4uWDW7wM2UZ+Mtv9+GJdXYeY/EDhYYce6i6ntLcyxe HpuYvgPen3YhFipJWcsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMnbN-00DoJH-2B; Fri, 21 Jul 2023 10:43:13 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMnbK-00DoEb-1Z for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 10:43:11 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B96441A0563; Fri, 21 Jul 2023 12:42:47 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 803221A055D; Fri, 21 Jul 2023 12:42: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 96AA31820F58; Fri, 21 Jul 2023 18:42: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 v6 0/3] clk: imx: add audio clock mux driver Date: Fri, 21 Jul 2023 18:08:54 +0800 Message-Id: <1689934137-21430-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-20230721_034310_678720_25BA335B X-CRM114-Status: UNSURE ( 9.09 ) 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: fsl,imx8-acm: Add audio clock mux support dt-bindings: clock: imx8-clock: Add audio clock mux related clock clk: imx: imx8: add audio clock mux driver .../bindings/clock/fsl,imx8-acm.yaml | 329 ++++++++++++ drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-imx8-acm.c | 476 ++++++++++++++++++ include/dt-bindings/clock/imx8-clock.h | 28 ++ 4 files changed, 835 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx8-acm.yaml create mode 100644 drivers/clk/imx/clk-imx8-acm.c