From patchwork Tue Jul 11 01:34:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13307960 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 65BF7EB64DC for ; Tue, 11 Jul 2023 02:08:39 +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=8VP+BhJbrqk2DH6IdcWDQzAz9DwUOGn/M4O+xhj1H9Y=; b=wqGL1hd5wB0Dn9 nGOuOxPVFwQ3VZ+VTmmwMKtkPcEPszktDUMl7cOkP8opVqkZHx5uuyTBNE9akAmHkggkLqLIC8G9s 4iXonxoMBC+rhcKC3JWMwK6H+sNaFwXAIagdaPKE/p1zYl9JWBARyVrPORMzyvnwSuK3PvsU34a/j MgIpzYBS63Advqqw6HOQByPpP6cdctL4U0mESlpC5Um2AZ8SB3e1zSbjtwdW44NgJMxnDCWADr4ry gXIfxhIZzJZ1IF33tkpjfTDA5Az2TmL82wqhGhFrGOHfkGzhP14z7nLrek3FjbwsQPVvps+JNN/wd uTlBUWYAsBew5qYR6h4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJ2nN-00DGyC-0w; Tue, 11 Jul 2023 02:08:05 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJ2nK-00DGvp-03 for linux-arm-kernel@lists.infradead.org; Tue, 11 Jul 2023 02:08:03 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 119621A04FF; Tue, 11 Jul 2023 04:07:58 +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 CDFB11A051C; Tue, 11 Jul 2023 04:07:57 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id E260E1802183; Tue, 11 Jul 2023 10:07:55 +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 v4 0/3] clk: imx: add audio clock mux driver Date: Tue, 11 Jul 2023 09:34:43 +0800 Message-Id: <1689039286-9706-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-20230710_190802_210968_59560039 X-CRM114-Status: UNSURE ( 9.10 ) 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 | 156 ++++++ drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-imx8-acm.c | 477 ++++++++++++++++++ include/dt-bindings/clock/imx8-clock.h | 28 + 4 files changed, 663 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx8-acm.yaml create mode 100644 drivers/clk/imx/clk-imx8-acm.c