From patchwork Mon May 20 07:09:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13668066 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 867DD17C6C for ; Mon, 20 May 2024 07:29:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716190174; cv=none; b=TyUUe4QV4ZkIcsM0IweH4m+yrWjs0yfJ+Ok8//WtFDmtsTZu7EvKT+1kJlwwzvyKP4v118yayh2mjx/yUKRW9PqdrmrjmCITcoeY9tXzUp+XsjT8DspCL+jn2LcAc9whP2F92uOtSAXIp9BV7NgoIp8hf8Nmx2x8zN2Byh8B3S0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716190174; c=relaxed/simple; bh=nztgN3dFfNb0xDuxLkAdkVrN2aHy/VlgXSSIl1Fc6FI=; h=From:To:Subject:Date:Message-Id; b=gthQDfaFuEqiP9pmK8oggtwMVbEcAEIhMfjsiG1lt1yiQ7ODodY9xW78sEj7P3yGdgNON8rJ9EjvGBi+VEiv6A6DNNZW3m3Ct88ebLo0ezplPjZ11aCudfg/UXtNr2UYqXNoyUBZjnJFSWJGZHvHer6ONeH74UVHmpXRvc5Kp/Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BF9FF201943; Mon, 20 May 2024 09:29:23 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7350E201965; Mon, 20 May 2024 09:29: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 10F4C180226C; Mon, 20 May 2024 15:29:20 +0800 (+08) From: Shengjiu Wang To: 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, p.zabel@pengutronix.de, shengjiu.wang@gmail.com Subject: [PATCH v4 0/5] clk: imx: clk-audiomix: Improvement for audiomix Date: Mon, 20 May 2024 15:09:18 +0800 Message-Id: <1716188963-16175-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Some improvement for audiomix driver: Add reset controller for EARC function Add CLK_SET_RATE_PARENT flags for clocks Corrent parent clock for earc_phy and audpll clocks. 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: Corrent 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 | 84 ++++++- drivers/reset/Kconfig | 8 + drivers/reset/Makefile | 1 + drivers/reset/reset-imx-aux.c | 217 ++++++++++++++++++ 6 files changed, 308 insertions(+), 6 deletions(-) create mode 100644 drivers/reset/reset-imx-aux.c