From patchwork Thu Dec 14 15:02:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13493173 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 D3E8EC4167B for ; Thu, 14 Dec 2023 15:03:28 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=k70RCTEeZapo8QU735ukHhMe5n8D5sjfKuaarFZEzQg=; b=cNqZVs4SJ6+c9J GbSJypOthFJxOi4MNhaDB5UJb4lkD8nRZuxqRzQRKMC69xdUm0UvWVjOrGWjXSGC3/OlU3NIEgnjZ wI85dU+fh3yoTqJKThW5QisGXFKYZSIt9zSHoM22tm3zVhuIdaey6CjT26V97bMna9u/lcV7sOmFU 5Tq/aQjYeZa20oGfi7aADH9EVx3anm0QO3m0yTYRoykk1vwFmAhnVj1smCJoOL70VSzg3OtMciH5+ ObWrxiTkOZlPO/LSzmc5O8u90zu6guAUDAfU7wo50l/rS8nJ52o1LI0YB2jYqjrTTq+LHVkfXTptG Z1Tr0OH5/aCZndIqYZjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDnEo-000c7j-2K; Thu, 14 Dec 2023 15:02:58 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDnEi-000c1V-04 for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 15:02:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702566172; x=1734102172; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3weEccDHP4bYdWEvQd79Jf6N+sA5GjhNZ6jCZiq2E7o=; b=eAolpb5C0KrOwLHFpiWxxRtAxke/BqLSqsVwVxL0u3H9LrO2wwxZfIUL qQ93BxXrMk8E4g8KxP6JcFm6x4JLzaqV6XccdmT+wzOisZpY6UvJuNd3X H87va6M45uw57nYH/vlGIRZkhHZkrv5APFrZ4MRTNIbHbNk+NwKLJiCwr GDABT2oKk3+/kIUL6A/0jm1fCXzmRl34BXbjVRExPcGy/NfNbNhayroEx AfRTmdWgf2GfPn/aGlOrORh20AcTmHKyat4hp0F7SmBRa0BdPFFGfve6L EFHxuWHlEsUBYTeMiNSK0fTKf0iETuCGkuyRfXAYMyxZ31qKEx/9nVm7T A==; X-IronPort-AV: E=Sophos;i="6.04,275,1695679200"; d="scan'208";a="34513400" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 14 Dec 2023 16:02:44 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C2271280075; Thu, 14 Dec 2023 16:02:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] arm64: dts: imx8qxp: Add mclkout clock gates Date: Thu, 14 Dec 2023 16:02:42 +0100 Message-Id: <20231214150243.1991532-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214150243.1991532-1-alexander.stein@ew.tq-group.com> References: <20231214150243.1991532-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_070252_358276_1E452258 X-CRM114-Status: UNSURE ( 8.92 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These clock gates provide a clock output on ACM_MCLK_OUT pads. They are intended to be used as MCLK for SAI0-3. Signed-off-by: Alexander Stein --- .../boot/dts/freescale/imx8-ss-audio.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi index 29a7d10f7db3d..07afeb78ed564 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi @@ -403,6 +403,26 @@ aud_pll_div1_lpcg: clock-controller@59d30000 { power-domains = <&pd IMX_SC_R_AUDIO_PLL_1>; }; + mclkout0_lpcg: clock-controller@59d50000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59d50000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_MCLKOUT0_SEL>; + clock-indices = ; + clock-output-names = "mclkout0_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MCLK_OUT_0>; + }; + + mclkout1_lpcg: clock-controller@59d60000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59d60000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_MCLKOUT1_SEL>; + clock-indices = ; + clock-output-names = "mclkout1_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MCLK_OUT_1>; + }; + acm: acm@59e00000 { compatible = "fsl,imx8qxp-acm"; reg = <0x59e00000 0x1d0000>;