From patchwork Fri Oct 28 01:53:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 12033 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp569330wru; Thu, 27 Oct 2022 19:16:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6yw38qSMOz1AYsB13rfc8CvUoE5Dg+0R/ENEGQZSJ1JBWWA4Yhm5+fL4OxJo2pkHmtFQqM X-Received: by 2002:a17:906:846d:b0:7ad:90dd:4b6 with SMTP id hx13-20020a170906846d00b007ad90dd04b6mr4849943ejc.492.1666923361836; Thu, 27 Oct 2022 19:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666923361; cv=none; d=google.com; s=arc-20160816; b=OPGYD7uTi4NCL4/s5sBhuGokNSurnI2oYMsWkaFt/+isO+oeS62fqsBT52vq3yBD8N PMdeOTGgV2yGB35CYg8q88n1LtnEWxUsSpZKektf5IWH/y/hdWjNVx8TmoGSs1EwPNxX nabeQES+c4PbsKuISBr7cyaAs0jk8XrVM+pIfhQlTu7PBYPZL9nvVKiKnWLj+Spu2J+A pjM+b3ZTdI+tECddPjYBvRKSye8fkgEcE0aMqB6x9PL/lCFpDDvk7hLFe4HJIVJWn8TF gJaTqNTXBy4bRsQR+xB6FhDdUAaFCbepJup7q83jY0WJT5rOpfOeR8uBHlFW1vs8xPur 3ZmQ== 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 :to:from; bh=wt8wahn6P7ldxe9PxueuLtknGvrn/bmNumLZFOOBfOo=; b=e6o3KeAYC0E3dPToiFH5ldMrP9g5VNyZrUlFy2aOSv6zbUgNIMj3ci0qu+dp8180po XdJ+T6tM3pkcgTTrKfWDGQnO25CzG8teA5tnrunWWfMVrMJDM2BCcegwOHf8WQGpp6aZ T9PSQG8UQIXLcK07ZOQLLsDIfzCqywk+nuJwxCbn/1URt7dNqzQX1xVccFhH9Qf7V8LV rAXid/z0Oxvoh3S9wog/C9NKcdAvL8364e9rLZ/cS78iyCQoWbOw9xxokRqzEE+gTPoT 9f77dXb9RslJxItwN9tG8HfUqX/L9hsq4ruzVE/AKtBAAuLUHN0vFj6WKnk9KVYoFXor PguA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji2-20020a170907980200b007803e371aedsi183947ejc.161.2022.10.27.19.15.38; Thu, 27 Oct 2022 19:16:01 -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 S235028AbiJ1COa (ORCPT + 99 others); Thu, 27 Oct 2022 22:14:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235438AbiJ1COZ (ORCPT ); Thu, 27 Oct 2022 22:14:25 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AA88B40C6; Thu, 27 Oct 2022 19:14:23 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id AB49B1A0AAA; Fri, 28 Oct 2022 04:14:22 +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 6FDE91A0A58; Fri, 28 Oct 2022 04:14:22 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 908EF180327D; Fri, 28 Oct 2022 10:14:20 +0800 (+08) From: Shengjiu Wang To: shengjiu.wang@gmail.com, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, marex@denx.de Subject: [PATCH v3 1/3] dt-bindings: clock: imx8mp: Add ids for the audio shared gate Date: Fri, 28 Oct 2022 09:53:43 +0800 Message-Id: <1666922026-6943-2-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1666922026-6943-1-git-send-email-shengjiu.wang@nxp.com> References: <1666922026-6943-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747895831397561722?= X-GMAIL-MSGID: =?utf-8?q?1747895831397561722?= From: Abel Vesa All these IDs are for one single HW gate (CCGR101) that is shared between these root clocks. Signed-off-by: Abel Vesa Signed-off-by: Shengjiu Wang Reviewed-by: Peng Fan Acked-by: Krzysztof Kozlowski --- include/dt-bindings/clock/imx8mp-clock.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h index 9d5cc2ddde89..2f6fec299662 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -324,8 +324,17 @@ #define IMX8MP_CLK_CLKOUT2_SEL 317 #define IMX8MP_CLK_CLKOUT2_DIV 318 #define IMX8MP_CLK_CLKOUT2 319 +#define IMX8MP_CLK_AUDIO_AHB_ROOT 320 +#define IMX8MP_CLK_AUDIO_AXI_ROOT 321 +#define IMX8MP_CLK_SAI1_ROOT 322 +#define IMX8MP_CLK_SAI2_ROOT 323 +#define IMX8MP_CLK_SAI3_ROOT 324 +#define IMX8MP_CLK_SAI5_ROOT 325 +#define IMX8MP_CLK_SAI6_ROOT 326 +#define IMX8MP_CLK_SAI7_ROOT 327 +#define IMX8MP_CLK_PDM_ROOT 328 -#define IMX8MP_CLK_END 320 +#define IMX8MP_CLK_END 329 #define IMX8MP_CLK_AUDIOMIX_SAI1_IPG 0 #define IMX8MP_CLK_AUDIOMIX_SAI1_MCLK1 1