Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2591127lqo; Tue, 14 May 2024 03:35:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBWdBB2wFXaByRt/yi9LduiVxveueFP8PnKAClhn6SqFlSczioEwyJvMG3cmuu/SYzPObb1S85GfWvW/ZVAYpiw7CFa9PXKvA3v5AKbQ== X-Google-Smtp-Source: AGHT+IGEIk8LUXOW3o61QxcsAHwPiqc4rSjO33xmRbgco0qFKUhyNuxTR0JaJ7taFoUbuwmCegWk X-Received: by 2002:a05:620a:70dd:b0:792:99d0:646a with SMTP id af79cd13be357-792c75ffb2cmr1439120185a.49.1715682921560; Tue, 14 May 2024 03:35:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715682921; cv=pass; d=google.com; s=arc-20160816; b=ZYsB/59yeHWupe7b2cWkEnUeUA51L9HMo0Px4g46oTfCjsEhgOpCARkxbvzyfZhQPH N96OyvOcf5ZBMgOfI7wn9XqyCoyibVxAdLOQPlPQ/Fof08ybIf3qDJtashTO7wUneSJG CTLnNON/VHcaYLZK1tF9eiWrFCah/K1nssBoojmDQP87co0NATMin9NV9ddbNCfegg+v homjIxs7rE2Bq4V8PP95Oc77Q2fmpadA0u/ztwAWfY9TzO2ypZnfs7wzYuvrFP/q+X/3 pVXq7jLVau50h3ps8SQ8WsjfZR5ZTMooFInfrU2MlWRqfsv+kp5DaFSdXJzlAO9D10n7 hQgA== 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=Z8ppqbAYflOHZupSWTuabbAjIEmy1fpgDmPhaRpxUIk=; fh=yJG0a4sP0Py0VcRO0FoZ7y1L5tvgkoSbJk2nY3Z9ahc=; b=oDWqCkgc2BfoeTh0hXgeILx8WFmcHZ2GfbZ3KOURu+QKN7PErUvlffwLK4hVXXiC7b 01B4zg8M8GGrb6u9WIcNnSgvjhDEjjv2iMeOracqXXgt9NRh2xriayy9tyv58oha3eE6 xpf+JQuZk00mCOaERq/gf4Xq/Wc5nYu6ZwztI+WEL8qPSxru7tEm/SlHQMzGSdVHePNn luHY3BNiHxxfPbvhxicBYxuKhyQGXsQBvlXkMPllv2oMyH+37lgh3gENc2lefrlsiudn hFab2/ru+45VLcqgkEIrfvTqqAvhP3uQa9XHKBAqDLdFYXfoo9zvXG0DcxDNgnVQ95/7 q8xg==; 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-178534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf33b34esi986815785a.483.2024.05.14.03.35.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 03:35:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::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-178534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178534-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 44D4F1C20F11 for ; Tue, 14 May 2024 10:35:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7102F13A89C; Tue, 14 May 2024 09:53:28 +0000 (UTC) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (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 DC60513A863; Tue, 14 May 2024 09:53:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680408; cv=none; b=JVYFHXpruBcYZEpw1rQw1z4ZuvEVzLSGR4YG2eC0F6he8bo9jJkNBEK2WNdGUZRLA3/7cKEQWCff77lKMY9ORRrzvSQcu8Bo0rn/S3Yba9aqLAh084ZgNRMzfG2CBSsubpOfGujOsDngw1WgpBQsvuvMMsMUe0lfVDmMJrttmbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680408; c=relaxed/simple; bh=ctka+yZVd8DwpplQfnow4oPq+/CyZFMffSHpY+xP8VA=; h=From:To:Subject:Date:Message-Id; b=C3XXZ924GMputXyjROgiZT35a2u9+srExaMMOQW3NHWCqMDItf9o/LznON+xL32I0WVGPNCLgPDq96IlFGzrGsE3SmMKHoD86r9WNT+rzPfY5dNJZxONdYcgXv4vDztqjFvqkID3OUwHzYobdqYRd4S/RgPDMCRH58JJ9xBPMF8= 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.13 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 inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 80D0D1A15C6; Tue, 14 May 2024 11:52:55 +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 399351A0C0A; Tue, 14 May 2024 11:52:55 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id DBE1B180222C; Tue, 14 May 2024 17:52:52 +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 v3 0/6] clk: imx: clk-audiomix: Improvement for audiomix Date: Tue, 14 May 2024 17:33:24 +0800 Message-Id: <1715679210-9588-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 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 (6): dt-bindings: reset: fsl,imx8mp-audiomix-reset: add bindings reset: imx8mp-audiomix: Add AudioMix Block Control reset driver dt-bindings: clock: imx8mp: Add reset-controller sub-node clk: imx: clk-audiomix: Add CLK_SET_RATE_PARENT flags for clocks clk: imx: clk-audiomix: Corrent parent clock for earc_phy and audpll arm64: dts: imx8mp: Add reset-controller sub node for audio_blk_ctrl .../bindings/clock/imx8mp-audiomix.yaml | 17 ++- .../reset/fsl,imx8mp-audiomix-reset.yaml | 37 ++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +- drivers/clk/imx/clk-imx8mp-audiomix.c | 23 +++- drivers/reset/Kconfig | 8 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-imx8mp-audiomix.c | 117 ++++++++++++++++++ 7 files changed, 201 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/reset/fsl,imx8mp-audiomix-reset.yaml create mode 100644 drivers/reset/reset-imx8mp-audiomix.c -- 2.34.1