Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28421296rwd; Tue, 4 Jul 2023 19:34:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlFW6m5P+dMERtG3l+TinKp7O9aH1/xT5PoIDIFbSENxjlPJZ2rQuyR53EWHLag6+sMC7D3i X-Received: by 2002:a05:687c:2194:b0:1b0:17f2:6518 with SMTP id yl20-20020a05687c219400b001b017f26518mr11968726oab.42.1688524449868; Tue, 04 Jul 2023 19:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688524449; cv=none; d=google.com; s=arc-20160816; b=zmUjKIDMv9uXjjnnY9UzDxWx7B3+QRyKj1+Y1csPrFozOXbcHZl/gzDEqf6IvspFme ccB5tW0Qbren99dNidJF9Igj69KcOyIFrcLHMQJW/skP7exMXtsi+XM/3R78nZs2OxF5 dKcFPpYmMIjhpCbIqxm1Qsx+IzPzgaDWTiXqws/4Pq7Cs2KgbG7vHLPFjplr4uJgppzq 4ZIbjlJXIRLkDzlhviyEEgctsvaNkYTgVEEsEt1ouBOPxxms908x/WbNbTbtegTHYcQs 9n0N0tIZuHczt93BSxhUWvrNhs5QfKaXubmNhiu+RqP4wM/EpaMrYnr+GyojI3plYdyo xgkQ== 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=0r1KcXCr0yvuufEYchezfg21xXLEJSXLf8+acKTtQ5M=; b=ZTheRJPzvkvRzaVfXvdrl5xRbl4+Gl0zlrpoJQ8lYxmu2u52qVlkAqUypQQ5BxiLEr dwtKOjKu2etHqFbJVEmLfkJiY5w6226678Z+TTBdTCCKTKRVMIvai34kGhSVLtcy6QmF CxO2YXvYDJZwOSveV9ksLnz7Hqq8Qlr+wgayaDO4go0N+q1gzmBd6umSbkZSkjL3rbIt eonzXPfWvAhTtrYsDqAMNo1M9wQWFUFg9CdXcQ/S/dKmIxsQ9TC5YuLZwHzlhC4nf/6c ljfo17iLKkz7X/R6akUKsg92DRfE7QwIQaTdv+EvBltFN01iAhk7geuOcSd6kpTCpRbb rgvg== 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 mq8-20020a17090b380800b0026370caa5c5si647739pjb.75.2023.07.04.19.33.55; Tue, 04 Jul 2023 19:34:09 -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 S231177AbjGECXw (ORCPT + 99 others); Tue, 4 Jul 2023 22:23:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjGECXs (ORCPT ); Tue, 4 Jul 2023 22:23:48 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 320CE10E2; Tue, 4 Jul 2023 19:23:47 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C957E1A09D6; Wed, 5 Jul 2023 04:23:45 +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 908201A09D4; Wed, 5 Jul 2023 04:23:45 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 119B41820F59; Wed, 5 Jul 2023 10:23:43 +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 v2 2/3] clk: imx8: Add audio clock mux related clock Date: Wed, 5 Jul 2023 09:50:38 +0800 Message-Id: <1688521839-3036-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688521839-3036-1-git-send-email-shengjiu.wang@nxp.com> References: <1688521839-3036-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