Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2590929lqo; Tue, 14 May 2024 03:34:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxlcvFTumzF+qaUH5Q9LXD7eVWRyVozx0lj1QTeNqphawxerBsk7YbaOmqVvXSvujwu7nigRn4tNTm7MKgPNg6xU2DCb/v0Ry5UFayjg== X-Google-Smtp-Source: AGHT+IEfpT78LnjlhokSmPzP4vqOwCy2R/q4SB+kpl2hSlK2oYueIApkw8DCmwwteGw9Lxzxy66s X-Received: by 2002:a17:90b:514c:b0:2b2:812d:dccc with SMTP id 98e67ed59e1d1-2b6cc663addmr8877178a91.13.1715682890708; Tue, 14 May 2024 03:34:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715682890; cv=pass; d=google.com; s=arc-20160816; b=hrzelKWIXr87GPzRtgWLfvO+81zgPtCg+wCRye61iIM+oarW0XsrWlS9zlBQKMYDeo 8N4uPJy8DY24vTiHIH7vc5xXwwDsxguHHcvJjh6IQihsTGwVveZ5uNWKrP//Bo9sLqZE 8vlbbKuwta5S3+UvAYiB0Zbv5n/WIl1kYYrDgEzm8iPxTz1j1WlNQDFdJHCY+B2wpyuQ iyRoIAgs/WtTSQyhHBfTWH8m/VOskRIdiQLU6fj+p8WDg3sOwUvji9GD8NXEHqs6N/eb m5An5VfmtLDsOFqrwlLVlqDsGqFvtQCEbcO9IDm7dMhHdS74FIlSHB429dmS/TbbUGff XNJA== 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:references :in-reply-to:message-id:date:subject:to:from; bh=8yikorZ0L486BLa3FtfiDbiGN1e7zXGpSDx3mPKGLeI=; fh=yJG0a4sP0Py0VcRO0FoZ7y1L5tvgkoSbJk2nY3Z9ahc=; b=cqnp//SlAaKHaikRk6J4u5WOZ4bhoqgxLlFK5f3XkYWXLaGsweZOAFfEyyz3jITMpA 4mhQ68Tc3ew4ulEAdMtYY1am67YEmGhd1VBxRFirmR0By2gShtLQfqjyg0ox6CdTx6WE pAVq73x2we5K6KBYs6BY65+ao4FBcYr6Ll4NNbClavbo/+9c6xTR9JOrLtWiKIJzSzhn AXJf5okOXOjCdHimd3ddBTqdeKfQXxiNtX84i7i27ub6vln4xwAQVOep2IKmsx7WCN4j fsFE+OZCDnAvVFs3yF/+pJN0i0CwUowRs6VGzNh14fjWWz2V45ti7YPLnKI3boEd2kah EnmA==; 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-178533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670e3507dsi11316240a91.10.2024.05.14.03.34.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 03:34:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-178533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178533-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 95E0CB20B2C for ; Tue, 14 May 2024 10:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA93C13A3F4; Tue, 14 May 2024 09:53:15 +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 DE2A413A242; Tue, 14 May 2024 09:53:10 +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=1715680395; cv=none; b=HImkhkv6fV7C3339SMISNndiTy1ktxnWM4Uqmgt8ewWH6Hj9jILJspTp8K9spDuG1gMteL6CrxlOR216HrNZioROT7ZVZZBCuCd1MWfK419dnaM34EugES/GoLkLLdvhZ6H8T2RpJ7DNdVg+Hy07C2dSCxNJOxN4XORSRWNIVt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680395; c=relaxed/simple; bh=N1Be/lHX9le8mgGi3YYkU+QV7lUMRQix+T57VbFccns=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References; b=KjL8mm7E7EfCs7xVFNokU5y8ueLDcQqRuS5xA8GiaVYsB8dk8WClIYe7M5munIOk+GGM4/nzq16w2ZPie4yZgr6ood2va3o4cN1MWeF2B5rEF1x2mJxndkA2sBsGWTUy5puYPjLX+Dwr6ylN4/2/7Yodb1FP97ZB1WKWKoKiCzA= 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 4DBD320192A; Tue, 14 May 2024 11:53:00 +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 0F267200BC5; Tue, 14 May 2024 11:53:00 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id BCA39180226C; Tue, 14 May 2024 17:52:57 +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 3/6] dt-bindings: clock: imx8mp: Add reset-controller sub-node Date: Tue, 14 May 2024 17:33:27 +0800 Message-Id: <1715679210-9588-4-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1715679210-9588-1-git-send-email-shengjiu.wang@nxp.com> References: <1715679210-9588-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The Audio Block Control contains clock distribution and gating controls, as well as reset handling to several of the AUDIOMIX peripherals. Especially the reset controls for Enhanced Audio Return Channel (EARC) PHY and Controller. So Audio Block Control is a Multi-Function Devices. Add reset-controller sub node which is a reset provider for EARC. Add compatible string "syscon", "simple-mfd" which make Audio Block Control device support reset-controller sub-node. Signed-off-by: Shengjiu Wang --- .../bindings/clock/imx8mp-audiomix.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml b/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml index 0a6dc1a6e122..a403ace4d11f 100644 --- a/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml +++ b/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml @@ -15,7 +15,10 @@ description: | properties: compatible: - const: fsl,imx8mp-audio-blk-ctrl + items: + - const: fsl,imx8mp-audio-blk-ctrl + - const: syscon + - const: simple-mfd reg: maxItems: 1 @@ -44,6 +47,11 @@ properties: ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mp-clock.h for the full list of i.MX8MP IMX8MP_CLK_AUDIOMIX_ clock IDs. + reset-controller: + type: object + $ref: /schemas/reset/fsl,imx8mp-audiomix-reset.yaml# + description: The child reset devices of AudioMIX Block Control. + required: - compatible - reg @@ -60,7 +68,7 @@ examples: #include clock-controller@30e20000 { - compatible = "fsl,imx8mp-audio-blk-ctrl"; + compatible = "fsl,imx8mp-audio-blk-ctrl", "syscon", "simple-mfd"; reg = <0x30e20000 0x10000>; #clock-cells = <1>; clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>, @@ -74,6 +82,11 @@ examples: "sai1", "sai2", "sai3", "sai5", "sai6", "sai7"; power-domains = <&pgc_audio>; + + reset-controller { + compatible = "fsl,imx8mp-audiomix-reset"; + #reset-cells = <1>; + }; }; ... -- 2.34.1