Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27227410rwd; Mon, 3 Jul 2023 23:24:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlEEeyD/V8/8FjEYXteXjpWP5DUQywLXdS97jXZ0JHUKKbDcbXRjP4L00f+I4GQ+PDtCh2h1 X-Received: by 2002:aa7:88d6:0:b0:668:8545:cbeb with SMTP id k22-20020aa788d6000000b006688545cbebmr16567430pff.15.1688451857420; Mon, 03 Jul 2023 23:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688451857; cv=none; d=google.com; s=arc-20160816; b=AOhJSqyZiCjNajGMg9hQ2RVprU+WI5AhjWbQXLmPBU9U6rjgk1grVZVCpBI/mPhyL+ wbhUhxrLO1QmsWz4WqCtI7w8z/rFJP5dNq2nE35pjCbXD2eVuTCLv2jNsOdu8JCACtqO L6Zdmgcs0rq6rUKvvrCnAK3VvRSd4nzT310gGlKXBW2DSA8AYHewTYhHDa7Zy27fmg9G Oid9EfRVezL7fr9jynkck24pGDXEGkghamDP+/8Z5+NKJcC0URyxqzbIMmJ5Izk/Rhnf aferyUknkEavKZhWJIfbzTx9JDqFSSsZIGTzhI4Kgbh9IPoQHND1JkVLpkRi6PR0AIls kE6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=eRZM8p8uW9pDpM81pDmUpvGqmZ+llpzigXrWMwMvP88=; fh=DQJO1yR+JK/9yJmvZ9xez73O5IJPCh7t7Gyf9d+YPa0=; b=YCMqfY0gO6aaqabK9c2vZxSwICdwZj+U61ma0Juc/k/yjnWgQj3FGgvN8awzJvinp6 FbNQT2jPSp5bKx3zk9Uw+0dPfqwvKJOyMPNSUz1zzFV9nAW70+qd6z4RBD0A6c8tw9aW YRrhPVgO0mbysG3up/ZiT2O1UFJRO6ru5QuvA5faWPWv/8OEd5kad0Qa8auuG/I53fDA +quN8VSrXQZtPKK0IDSmhRarL0WPBCutHaJBSL2W+U/EE7btVEhc3SWDU2pqaFQRaTQv 36BjutZL/G+jH1lrSacjL506RPfEQ/k2c7jfUfPEgDra2scX5cdOF2Ehsp2zloCENyEH aGWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t36-20020a635364000000b00517ab01bb8fsi19798360pgl.100.2023.07.03.23.24.04; Mon, 03 Jul 2023 23:24:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbjGDGM6 (ORCPT + 99 others); Tue, 4 Jul 2023 02:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbjGDGMx (ORCPT ); Tue, 4 Jul 2023 02:12:53 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CD31A7 for ; Mon, 3 Jul 2023 23:12:52 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B3FA91A04CC; Tue, 4 Jul 2023 08:12:50 +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 79F6D1A04C7; Tue, 4 Jul 2023 08:12:50 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 94BB91820F59; Tue, 4 Jul 2023 14:12:48 +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 2/3] clk: imx8: Add audio clock mux related clock Date: Tue, 4 Jul 2023 13:39:34 +0800 Message-Id: <1688449175-1677-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688449175-1677-1-git-send-email-shengjiu.wang@nxp.com> References: <1688449175-1677-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Audio Clock Mux is the IP for i.MX8QXP, i.MX8QM, and i.MX8XL platform, Add the clockid for them. Signed-off-by: Shengjiu Wang --- include/dt-bindings/clock/imx8-clock.h | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/dt-bindings/clock/imx8-clock.h b/include/dt-bindings/clock/imx8-clock.h index 2e60ce4d2622..2242ff54fc5e 100644 --- a/include/dt-bindings/clock/imx8-clock.h +++ b/include/dt-bindings/clock/imx8-clock.h @@ -164,4 +164,32 @@ #define IMX_ADMA_LPCG_CLK_END 45 +#define IMX_ADMA_ACM_AUD_CLK0_SEL 0 +#define IMX_ADMA_ACM_AUD_CLK1_SEL 1 +#define IMX_ADMA_ACM_MCLKOUT0_SEL 2 +#define IMX_ADMA_ACM_MCLKOUT1_SEL 3 +#define IMX_ADMA_ACM_ESAI0_MCLK_SEL 4 +#define IMX_ADMA_ACM_ESAI1_MCLK_SEL 5 +#define IMX_ADMA_ACM_GPT0_MUX_CLK_SEL 6 +#define IMX_ADMA_ACM_GPT1_MUX_CLK_SEL 7 +#define IMX_ADMA_ACM_GPT2_MUX_CLK_SEL 8 +#define IMX_ADMA_ACM_GPT3_MUX_CLK_SEL 9 +#define IMX_ADMA_ACM_GPT4_MUX_CLK_SEL 10 +#define IMX_ADMA_ACM_GPT5_MUX_CLK_SEL 11 +#define IMX_ADMA_ACM_SAI0_MCLK_SEL 12 +#define IMX_ADMA_ACM_SAI1_MCLK_SEL 13 +#define IMX_ADMA_ACM_SAI2_MCLK_SEL 14 +#define IMX_ADMA_ACM_SAI3_MCLK_SEL 15 +#define IMX_ADMA_ACM_SAI4_MCLK_SEL 16 +#define IMX_ADMA_ACM_SAI5_MCLK_SEL 17 +#define IMX_ADMA_ACM_SAI6_MCLK_SEL 18 +#define IMX_ADMA_ACM_SAI7_MCLK_SEL 19 +#define IMX_ADMA_ACM_SPDIF0_TX_CLK_SEL 20 +#define IMX_ADMA_ACM_SPDIF1_TX_CLK_SEL 21 +#define IMX_ADMA_ACM_MQS_TX_CLK_SEL 22 +#define IMX_ADMA_ACM_ASRC0_MUX_CLK_SEL 23 +#define IMX_ADMA_ACM_ASRC1_MUX_CLK_SEL 24 + +#define IMX_ADMA_ACM_CLK_END 25 + #endif /* __DT_BINDINGS_CLOCK_IMX_H */ -- 2.34.1