From patchwork Thu Jul 6 01:31:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13303074 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 D61C5EB64DA for ; Thu, 6 Jul 2023 02:04:45 +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=iUM67l/AnMmMSIakAoVUtINpF55dXR2LSxAJmfJRCKg=; b=NujdVkrfea5Ra3 8QbGs6yDQ3/RgGzCn6tM0ZFGjg89T5541o9req8N5bmlewuJODmj2Q4VgrQs6WDvHDGme0olx/d9b L6Jb6NPc0wsdvCMC8lX5WksY2HWhbt9J6uUuwt9tFnE4w4Ap1FhvZtn2kPt3R/bwi/vmCFWnFFzCQ nR7NWggevkMoOqUrMWMbBiaOu7QS9kT6RoYcxHGx1V5fbRacTVffDK0cvllVIPwg+zkatDyFy0RVE 851E/yZst+D3aSkdSHjcIlGGleqWE6YACgWS9bIKRzSbHyHx2KiTcZeOJyUcxb6T8PCCxeVtBhBUO bbVp0z5dEiFifM0geoSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qHEM5-00047b-2H; Thu, 06 Jul 2023 02:04:25 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qHEM2-000454-2E for linux-arm-kernel@lists.infradead.org; Thu, 06 Jul 2023 02:04:23 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4AD671A0695; Thu, 6 Jul 2023 04:04:16 +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 12D8D1A0654; Thu, 6 Jul 2023 04:04:16 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 19FA81800319; Thu, 6 Jul 2023 10:04:14 +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 v3 0/3] clk: imx: add audio clock mux driver Date: Thu, 6 Jul 2023 09:31:15 +0800 Message-Id: <1688607078-4183-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-20230705_190422_863210_44F57D81 X-CRM114-Status: UNSURE ( 9.40 ) 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 | 2 +- drivers/clk/imx/clk-imx8-acm.c | 477 ++++++++++++++++++ include/dt-bindings/clock/imx8-clock.h | 28 + 4 files changed, 662 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx8-acm.yaml create mode 100644 drivers/clk/imx/clk-imx8-acm.c