Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp113940lqq; Wed, 12 Jun 2024 19:16:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtmAJpSL5PdO29r+iYQR8E9DWEV1y+Bmp3DkQ/z6wptoEFnh/+1smnOd1SsvLIjYoeFJqOQ142c+wUXhaixvOANtroHgFhe7/qkNyMMA== X-Google-Smtp-Source: AGHT+IHADHZjIX3/YOmH7Gnan9pF12vAxDeUmEOFpcSj+B/VAZhbAPMuyIDBJ739sLf9E8HHkdKj X-Received: by 2002:a05:6a20:1589:b0:1b5:cf9c:2936 with SMTP id adf61e73a8af0-1b8a9c68a59mr4219686637.39.1718245010048; Wed, 12 Jun 2024 19:16:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718245010; cv=pass; d=google.com; s=arc-20160816; b=GoER6JkRT8e9Af2OIiqxM4lRb/3aDW9aVuCORHWlKBQadije+YvCQ/Ii+Ki7eGVJmI kR0oKFPzmtty9/Ir4SKatRPkeD0iOwBh3nUp/LXiCy8gOYkStGkOQ4tfjZihrkzi1XkG 5zwwHYDiVuI0/nE49ipeBffEGNF8zYH9RMSQgBGi44MAmv3NcUx/HIOd4ikBYeASZFdk K/12bsQyFPGJI1U7s5tiyFQa+m+TaJxw8h7qUYWvFtbbdhkCnEbyuzEsnf7H2leD0bBl 2KO3yItTrWkSkWfWvftfPwoCBAkjglzAKzKCoyjLceM9vtQJqygfYYUUWLdI9j5t944D x85A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:to:from; bh=m3piWTRaykoXSxw/Agn5en5FsSHZWEhb/ec8rUzwuz0=; fh=hlaO54Y51C9KJIZLtE98iv/ncrPmJ9RabI5lLtWETi8=; b=pfZTxiIY4l6OT8zGjede+SpLHvivPErTS5oV9zGnfIlb7GJOxHslwIJgHlPZx2JJsy wKKKns5IPSfHNPoERm6659LhgGN1uzrLEyu1317EDQDuHUDv5ATuJXeislcbZ/+HGukt yRWAUPMOZyrjXkFFZdfsuCIg906O8PdqMHD6T5JLAHjINpPv/X3Ud/wO8Wg0pVLfif2J eAImLjokWdIeNPtZZ3woX2orr3foocXBEZeWW09r8J30jLl5W0thUBOnPdfjo6GWsenV AcyY5r0PgPi6DUClkITWfTZUTE5txBeW0NI+R3ufg+9V4cJsoCYu4NitYIj6I3gYpCIs Qjug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-212478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f855f178b6si2896975ad.564.2024.06.12.19.16.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 19:16:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-212478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 776ED284624 for ; Thu, 13 Jun 2024 02:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92BBF39FCE; Thu, 13 Jun 2024 02:08:03 +0000 (UTC) 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 68D212A1D1; Thu, 13 Jun 2024 02:08:01 +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=1718244483; cv=none; b=DmbLiIp79cCBkcZBY0B2E54F3FeYzXCsjEkB/D5wupBWvYdy++Um5TjA6CW/pcpU5u89SqYTuQpaoWlHTzJwqBtSWxIbLrrLHz/fYDyVoMCWYNPJ6Jr8UbJrrGIR2s5uNoC8FkqmCIfnFSohptXuGW+JIrL4T+lLYzXcHjQ8q/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718244483; c=relaxed/simple; bh=ChQvBI+Er4xZh0kIrCud60Pm6ajfJzZQKAnf67VYDCg=; h=From:To:Subject:Date:Message-Id; b=RaT2lqdxTIYrOhAbjHrWC+a23eOc+preU8/KZLS2DnZx8XtXLlh8O9q3tT6Oq+W0lSQVJlEB8PyRo5J2ACMBNBIvAALvd+OmSXun2MfE4RMe5eqfibbd8bjxan0CTnQvvhqoM8kCjTv69pIjQww2GSKp0+dFCWt/lQqqJov/b/M= 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 AAAA7200A5D; Thu, 13 Jun 2024 04:07:59 +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 550DA20012D; Thu, 13 Jun 2024 04:07:59 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 7F9D71820F76; Thu, 13 Jun 2024 10:07:57 +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 v7 0/5] clk: imx: clk-audiomix: Improvement for audiomix Date: Thu, 13 Jun 2024 09:51:17 +0800 Message-Id: <1718243482-18552-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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Some improvement for audiomix driver: Add CLK_SET_RATE_PARENT flags for clocks Correct parent clock for earc_phy and audpll clocks. Add reset controller for EARC function, use the auxiliary device framework: https://lore.kernel.org/lkml/b86c83a520f0c45a60249468fa92b1de.sboyd@kernel.org/ changes in v7: - add property "#reset-cells" exist check - change the reset driver to be specific for 8MP-audiomix remove the design for general usage. 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: imx8mp-audiomix: Add AudioMix Block Control 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 | 86 ++++++++++++++- drivers/reset/Kconfig | 8 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-imx8mp-audiomix.c | 103 ++++++++++++++++++ 6 files changed, 196 insertions(+), 6 deletions(-) create mode 100644 drivers/reset/reset-imx8mp-audiomix.c -- 2.34.1