From patchwork Thu May 30 02:31:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13679714 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 32D27C25B7E for ; Thu, 30 May 2024 02:47:46 +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:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gXwoES8RmqT+0MhZ5GXVjjbd1LAiSspOFEaSfH8cMg4=; b=ZLOJgj+DUYlDih SqtZdc3wMOradj45kKE5S9hvnCxxbgpobeS3oF0FBap0RI0eVP+GMWgMNYrmJRNIV7sgK4PNMiJPT NVeSLZasIbBIEcdXMbOGklODjvptdCmvo6UMIQUlTMw4Y9XS28ayAvo0Oid/HTxCegrFAPeYkItQh vL2FP28PrVY8O3IDW+rIUp6DTYFYcpkHUOEOv3xU6Q4qNw6/fPAvJbTQmqcCFLdiyRKjJZH7RQ6RY dBJP5crN6eFkGgfhhClJUeZjIEvs1A+4wlQljZ40YCBcNipmXHSzioZFXsE6lEIUZKL/PCYcXvtj2 Fbauo4BMxekBme7yqdfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCVpE-000000067mB-0xpF; Thu, 30 May 2024 02:47:32 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCVpA-000000067jr-2A3e for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2024 02:47:30 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4E00C1A0D88; Thu, 30 May 2024 04:47:23 +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 0306C1A1885; Thu, 30 May 2024 04:47:23 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id A494D180222C; Thu, 30 May 2024 10:47:20 +0800 (+08) From: Shengjiu Wang To: p.zabel@pengutronix.de, abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, marex@denx.de, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH v6 0/5] clk: imx: clk-audiomix: Improvement for audiomix Date: Thu, 30 May 2024 10:31:13 +0800 Message-Id: <1717036278-3515-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-20240529_194728_800544_46C369F9 X-CRM114-Status: GOOD ( 10.23 ) 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 Some improvement for audiomix driver: Add reset controller for EARC function Add CLK_SET_RATE_PARENT flags for clocks Correct parent clock for earc_phy and audpll clocks. changes in v6: - fix type for "correct" - fix coding style for " * adev" changes in v5: - fix miss header issue reported by kernel test robot - use scoped free changes in v4: - use auxiliary device framework for reset controller driver. - drop syscon and simple-mfd related changes in v3 changes in v3: - separate reset driver to driver/reset/ - add binding doc for reset driver. - modify imx8mp.dtsi accordingly changes in v2: - add more info in commit messages Shengjiu Wang (5): dt-bindings: clock: imx8mp: Add #reset-cells property clk: imx: clk-audiomix: Add reset controller reset: imx-aux: Add i.MX auxiliary reset driver clk: imx: clk-audiomix: Add CLK_SET_RATE_PARENT flags for clocks clk: imx: clk-audiomix: Correct parent clock for earc_phy and audpll .../bindings/clock/imx8mp-audiomix.yaml | 3 + drivers/clk/imx/Kconfig | 1 + drivers/clk/imx/clk-imx8mp-audiomix.c | 83 ++++++- drivers/reset/Kconfig | 8 + drivers/reset/Makefile | 1 + drivers/reset/reset-imx-aux.c | 217 ++++++++++++++++++ 6 files changed, 307 insertions(+), 6 deletions(-) create mode 100644 drivers/reset/reset-imx-aux.c