Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp893326lqp; Thu, 23 May 2024 03:20:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXEbCf5Z+a99+lH969DPKHy6fNCfwcn0Ahb2rPqJSYOW3H/OCRLGPc3qY/32ar0XCtuXadjUiDw1LQnSW8JiP2qyeLd+lbootjhm2ZqA== X-Google-Smtp-Source: AGHT+IHgSkJ5D0zRaeni/PFIxUt2eP8f/xBfZjRAiJbT6yP/4HAcVZoID2I1Kj6j96vmtVqbeWaF X-Received: by 2002:a17:906:fa88:b0:a5a:2d0d:2aef with SMTP id a640c23a62f3a-a62280d4fdemr432660766b.21.1716459619966; Thu, 23 May 2024 03:20:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716459619; cv=pass; d=google.com; s=arc-20160816; b=O1hgoL2Qc5UJpWNBsp44doV21VpFH06TUIEXYABP4Zfl4NAhwIUbhdJiSbDqGZQrcN /DmJ3x4q3h0aTxs+hKjX4Nypc7VKVYti4UG5aTDKgldfxwJynVo0IvnQFmdrsy/cd+YD 0v8S6KQCTeNKWUgTwQ9Rb+ZUcSqmeMckB3z372tQzdX39jxIeLDdHnqf58pHK1vQi3pa TR9kskgOQ2aYlKnjxR+PcgpYcbZtQNmnmb9cgiNdaeffi+en1i7aHd662eUvvR0yc1SW 8wwPsyS4WS+WrA4jD+k/D5FftiTvPS4BwSIcEtuKQ2+lz/9C9QdsSc0VNwq19qRC9aLT EpSw== 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=9JlzFzYIjFcyLL+kqZv/RCYclylfQ7HrZvcxAvLqioc=; fh=yJG0a4sP0Py0VcRO0FoZ7y1L5tvgkoSbJk2nY3Z9ahc=; b=i75srIX62J9NLSc2ugEPqLV4BXftsUvJ0v/F+CVuifjkAfdv5TFXdJZMbKI6gJmRMo cI84Kp3ZlmCV/6YRa/4GBuQqSGUyU0AXv8jzQXdbO7KRC5dZtgG0K6GGj7RjrBVAHRI7 z4sz+deEab5ftTDNqxN1l3Mq+rKz7HvzVtnyibQnmBi/UiEHZVANIE1VkNKfyx+rHC0I bRvYkpyrvoV+hWVmpYx5bnFV+BeXPG6H1pQ3B0H9YpRV1VI/8Z78kCj4QCUTpXFCn8iS Ot9aHqfy/DzN/2Aly9hkl63hMHi3z0J7ekDEn+fo7903455zNPB2bRBdvvQIaKmhtgzH zoCQ==; 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-187321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1793c30csi1616987166b.48.2024.05.23.03.20.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 03:20:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-187321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187321-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9E0241F22ADF for ; Thu, 23 May 2024 10:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 771AE140E26; Thu, 23 May 2024 10:20:11 +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 7F12813D29C; Thu, 23 May 2024 10:20:09 +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=1716459611; cv=none; b=SunA31CbV2zIKO3Zq9A48zXXhXHIeeY1uk0czFOcc6ImTSxu1tRH/1bkgzW5zqf5hlt/AGompAppUiR/M8DKaWuoqeZWQHLDvTOpnWwenKIK4d2YIbtdvyJIcfA/OO3Os/kiVh5dv8pxR6sIAsa0udC8pMVCDb3L6LYXdCbOAU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716459611; c=relaxed/simple; bh=mQZX0GpupK3bkgiwgabR7cVdsnZ41kVjsv3/XEPRAGs=; h=From:To:Subject:Date:Message-Id; b=K+qpMqgQZ9/IiOm6/f4jeCxAsQ8/6e09MN8h3IxFr+ra1h/DHWd/uEcpnb46pSUGYOH6w7Gn1Mjly0c71I70LsxhX6pLye2FpkgGrrIP8IS53vRGM0v7jOmNLswSkdBVFB/deBUtgiOAgICpB/sza5kQfkq/sKKKuRsmLVFDNh8= 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 5F903201F88; Thu, 23 May 2024 12:20:02 +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 1D6F5201F81; Thu, 23 May 2024 12:20:02 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id AB88C180222C; Thu, 23 May 2024 18:19:59 +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 v5 0/5] clk: imx: clk-audiomix: Improvement for audiomix Date: Thu, 23 May 2024 17:59:45 +0800 Message-Id: <1716458390-20120-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 reset controller for EARC function Add CLK_SET_RATE_PARENT flags for clocks Corrent parent clock for earc_phy and audpll clocks. 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: 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 | 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 -- 2.34.1