Message ID | 20240227-asrc_8qxp-v2-1-521bcc7eb1c0@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2959426dyb; Tue, 27 Feb 2024 12:55:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlOuvJp0ejAxCftBq/36stayvhwahEvNKoHGpAOkFlyjljzDlEv5ahJ261RF2VALfDsxpbNJMbn1hV8SLy//mOJ1H9jw== X-Google-Smtp-Source: AGHT+IHS/KNe3ROC14szC/oZ+H0+KLpKduaCm0Z2tvuPoWvCm3Zna4FovBy8s7k+GzUQDxhdLfHF X-Received: by 2002:a17:906:560a:b0:a43:b032:21dd with SMTP id f10-20020a170906560a00b00a43b03221ddmr1798539ejq.62.1709067331448; Tue, 27 Feb 2024 12:55:31 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t22-20020a1709060c5600b00a3ec891fe7esi997883ejf.262.2024.02.27.12.55.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83999-ouuuleilei=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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VNLZAZ0Q; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (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 E255F1F23DA7 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 20:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8546514F99E; Tue, 27 Feb 2024 20:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VNLZAZ0Q" Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (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 127B914EFDF; Tue, 27 Feb 2024 20:54:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067288; cv=fail; b=AVwySl7QA4TdVIhsY83ECGzvZ36kUnrYaDqQTbrf4ktHhDOGNo8IQGMeF3oHUQUQ8XSRNKkDO/4xuErq0woWwquGQRDHg2/Z9OFzrHtTtJ6EINSDGiPwQZV8ypFQcK/EdfvFGTB8qI1P+I1fkvgTVWHxGgNyJEcM3qC2Vlw/PYk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067288; c=relaxed/simple; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=h5KPjm0yMf9itforfJB+aWdxjb1jQk5YgPxU325jIGBtDikklo8iOcTG6R0PkvxwnkXVwG352RYo1L13CMDBRytfJO+JOX8sJc0kxppuYgnELSorOgyn4vgOkQAMcYRvTsbIhnsU6AP9f0dPVbyuetYRDPV2rQKNQquoYpv2nZk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=VNLZAZ0Q; arc=fail smtp.client-ip=40.107.7.52 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=deaC96hbpz4rmOZ/CblmafD++mw81d+EZrz2XJtRsjv0eA6vNzly/PEny4P6B3KQf9yPmdMKci3Py3mQYg/spjWFLPxhJPBj0XVgVcGiEitdNQINxhqzd8s9w8mL4fBaQ3rYOIk1wsZNNvFM+kWVgvX5XphPlcN3lasqLV8sq+zInaAWOignv2Q1ddNb2uyGcQjEpV4r5IF73FlTrTbwulMyFYG2i9DBCHhGx3gfn56XK41M6j/gHCGkiG46a6GZ2XyuMded0uKXwYjfh8SEW9Dq51hcSjYnP0XE2k95nBw7AbW5jC0f4cKJj9jWcWMEuPmIJJ9XkHKX+MDWs8K1lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AR4Ijr6u0JBCrc65UMDTrB7v8I/4+cDx6GnC09iiTMA=; b=i9DZSrt8XO1zC79NHN5UkuyY7jKX7k2NtFnFXB7A0ieGI6/HMcpgfDdEGE3G/mSUta+aEENna4A0fKCw/usFlrv6hhwGi5B1nfIL8Kil5QGx3IxmPdVUE6fpXsVWM9+QT58XT8stULIptLaKWXzBWX/dLGoFOHfxeXSI+veJDyhG1wF4UoH7+3i+gDPjDYV3vD0fTUcpj7YxBZRlPmzVj0xfB/chmBTCjAGhb/DLMuGbE9hCyQJ2iJxu2zPYx1ARm7jutkR47ewGwfubfYsKy5xxWhHctDpdDjtUQFyypJ+iw6Ddq/3jNrhtA+6/HQCpxP3kJwZUuZtSPo9njSYbIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AR4Ijr6u0JBCrc65UMDTrB7v8I/4+cDx6GnC09iiTMA=; b=VNLZAZ0QI4puhGf8yQ5+XAdSP7L/kY9E+bJkD1F0MLBwTk4XMa701fG/gabe014NHr7I3zCEiSBN0Z6/OEslHX4OrlZtjAW+z/baMYJbEuZbcotRCNuCaMdAc6sWKJZCX6AFEqA/2qq4Z0jaK42sMY+NjJJo+hJgWRT6Ob1HlPY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by GV1PR04MB9200.eurprd04.prod.outlook.com (2603:10a6:150:2b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 20:54:42 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 20:54:41 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Tue, 27 Feb 2024 15:54:09 -0500 Subject: [PATCH v2 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains requirement Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240227-asrc_8qxp-v2-1-521bcc7eb1c0@nxp.com> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> In-Reply-To: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Shengjiu Wang <shengjiu.wang@nxp.com> Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709067274; l=1359; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; b=5nKd8NwXkRdyZRyyj+LDIuJ0d8xJNhhygzkqkzbSMDUzL/aL08z0KBtWx3z0MsUeZ5zP5Ffde k0m7WwbA9DKAD8V6lKA65GADc7kYq+ko2otNPDkexobMDbFmwJ5glee X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: 927b9f15-7d95-4838-d22f-08dc37d651df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tgmtbLHevvRI8Al2Nwzq34WXjU1TTzi/AYy6ujCPUBl3BHz8h08wE3b1G3VACNaMZNNresp4oGew3WgB76UNTYI7Vx1u1iJnsogbCQnmnTsRxyhHvUneK8kK+k5fxhz0DADCbyrDMc9a8X7dfZhpV7w3zMOobf2KpyfPDJtT7CHfLYUeSlDDMDLquH18GHRumoBCGu6HJ3Ao/E3YqrtqE/BTx87vhcL1QMaBcoGq9oLdGE7josqvnpDQ0w9w2kyHUBwdNzDh4iMHeBO97iv3F/Rhv7Ijd7aQGRs18bc6XaSqqXoUB9yOqS1NRO7RuCsXqsj4dMMa391APvDYQFY4u5iFeNzn8FiQmpHpXY/r/yLdTYuDhlPjiL97RyxVcaDEQYSlcsGpeyU7CE3NO3N5jt5DpWovgXmBElwlwmfUnM1cVotP0rAm/RI9O8myzowy+iS7HeYBgH9B2eT6ddCsDe/9qYAAsrXsQhvn+MN+pWL7zgdz8HKylD92vltyeVP90MzTdjIyj9JEVKwbcZL5wUAIurrARkCwuMps4igevokaeHUet59TxBU31e6y1k3iBVl8cExu2DB/cKuxmdd8kvHVhSvmSLiEcidLBusjJAyQEpMK/QeFKTtoO/s3BXJBbtVvLD+TAzgi2qHPflBbT/MPBcHP+6GUQgqmdT6KL/G34nUd59MT1FcxL4a//mSUOsESYtIum66yV7oiH7P3t64Lw3VFKJ8zVWwZsqyHB5g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OYjNdn1p4SMDrScNoqTE2beVbRTD?= =?utf-8?q?aGU+NfoEAvwjg6v1bvpp1KiFltLivIyCk0QRHeEpuRq0qd0O9rs02H+t4kUtUqdNO?= =?utf-8?q?37tb6JyW0fdsiWNG0evmhBfdesvqnA2o05Qr2Tu0C9r2/XH4kKWg35vy9sUQ+hEgF?= =?utf-8?q?jezQBFwrX6aDptesM3wCXN0/7p0cb7ilUmYz3hj5/6XzqAUA7ywX8lUA0LPPQWeR8?= =?utf-8?q?kC/NOgyVntm2UA7n4Ix4G59JYVxHagp5hrBVaQ3OhPjYUtRsqnb9g2S6VgfpnJi/I?= =?utf-8?q?Zm1psIGp9yInjDJFDrVdKlwobjxWTFSYSnMw5gg77ZeMldJXPjsGoWKG0f9/Ph75p?= =?utf-8?q?kmyIuz9wTacELbx6cqchfr7Uz8/Vd1C6J311DSTy/SBTV4BFGTl9vIzAYnj/3NqWV?= =?utf-8?q?ISa4YCd+0BiJUgOV1bQ1rsChBabOVy4oIaUFQfWpL6yytm3aLPcCTZsd2GKEsBubv?= =?utf-8?q?USxn4rojXHLSbt1SF9///kjCK1iCkCO6veZ0tfmX84BAI9cl/QARicdG1XHyGxll7?= =?utf-8?q?KD4mLrGhK0RgHOtxQ+JHph/kV8TmUmKXz7We7rDUnAR6+WKOysd6WdUZA9uL9BFrt?= =?utf-8?q?2Bi+ZiwTtde1+SP9E6LhZbYhT2Kfyl409v9pshPm1DXzb8ml3SkD8vi79RA8Uggva?= =?utf-8?q?xeum6j9+m/OepwU6+qnwHSdo9e9TQMTmE336ejQGNxbuUefKKza6NYCYPhXMhzOIJ?= =?utf-8?q?sh1P1blYNkerd8PL5bo8ZMuaDI2ddUize4FFn6xQDC4wJG1RdgPGVfF5hw4xTwK7b?= =?utf-8?q?Dt8YqtMlHosqRDvmus+4oTvcfE4tHpyyCuTesyeH74vIkigUaDsg098oAbSer3aqx?= =?utf-8?q?2ORF5PGuXIZY5hMcVTsy/Vo+I9QWrSt/tB76BjEDQ3NE0RjzxrTiHpOrCHPUJA5I2?= =?utf-8?q?Vb3afkRUkxf5L3GSwwnzzVWAN3xEtX7wp9p431HEBC/Xvo1ZXmrqODcy/ptHea8hz?= =?utf-8?q?lknLa/F3mbpfji7MR+zG3Ml8kFngQrYrys61H5fGMPQXcEdTiENxodAhZ3tvyeHJP?= =?utf-8?q?Ax8CcYIgJzF5be6ekegZv3owM9gd4bP4SvCd7dmhK4WquFBAwiJG6dFncUnl9shAg?= =?utf-8?q?/8U4KBH9B2KefEDHH3P+fFwbstFipL6iUvuWCE1+S6SN1oZ4TImmbZ711L2IBg69u?= =?utf-8?q?Ds82Q7jqbFCHYJ3pKCHzoDczCOwwNHCP4gWf8cmpLUqxKXPXUMByNMOLdJ6M6BAEg?= =?utf-8?q?AKAajKQ0QxSB8g7LTYwbYJdxfv3liF5PJTaaJoKCPS9Kzqxq8ofNXme1AjQMW6G+9?= =?utf-8?q?1Ie6AZ9APHVjbtU3BzRQd2FDvqUIslluK4R7laUQi39PZRaGAZBFV+mQb+Za6AXE0?= =?utf-8?q?ORJEUYYQuNLR2oWYCLn7KAW/px0YMKemXZVSNNqzrEggUv9VQwNk/i/0P1/MXS/lp?= =?utf-8?q?o/9U69rcG/COZieestwFhojn8lw0LR5iQCqbejNd+Zk2lgCD3AdO9Ifp/XVNAR1WJ?= =?utf-8?q?NVsEhOYF9S+QeKlN58VCRKWnDcw25WO7pOjOtp45ksqdBdrb5AwPre6Z5TCvHFWyx?= =?utf-8?q?1wA+5EA59gxF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 927b9f15-7d95-4838-d22f-08dc37d651df X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 20:54:41.6609 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YC3XBBh9frCgnXDtoYKiri+dr4Uhvr1j73cQc921Q77W4Vunkoap/OrYsKqeeH1qnjvAJ+ZPQ8e+A5GRmCdjHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9200 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792086985908796238 X-GMAIL-MSGID: 1792086985908796238 |
Series |
arm64: dts: imx8qxp add asrc and sai
|
|
Commit Message
Frank Li
Feb. 27, 2024, 8:54 p.m. UTC
Add power-domains property for asrc and spdif.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml | 3 +++
Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 3 +++
2 files changed, 6 insertions(+)
Comments
On Tue, Feb 27, 2024 at 03:54:09PM -0500, Frank Li wrote: > Add power-domains property for asrc and spdif. Is this valid for all compatibles documented in these bindings? Also, your $subject says "requirement", but you do not mark these as required. Why not? Cheers, Conor. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml | 3 +++ > Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml > index bfef2fcb75b14..98616507e3c10 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml > @@ -74,6 +74,9 @@ properties: > - const: asrck_f > - const: spba > > + power-domains: > + maxItems: 1 > + > fsl,asrc-rate: > $ref: /schemas/types.yaml#/definitions/uint32 > description: The mutual sample rate used by DPCM Back Ends > diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > index 1d64e8337aa4b..82430f1d5e5a2 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > @@ -86,6 +86,9 @@ properties: > registers. Set this flag for HCDs with big endian descriptors and big > endian registers. > > + power-domains: > + maxItems: 1 > + > required: > - compatible > - reg > > -- > 2.34.1 >
diff --git a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml index bfef2fcb75b14..98616507e3c10 100644 --- a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml @@ -74,6 +74,9 @@ properties: - const: asrck_f - const: spba + power-domains: + maxItems: 1 + fsl,asrc-rate: $ref: /schemas/types.yaml#/definitions/uint32 description: The mutual sample rate used by DPCM Back Ends diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 1d64e8337aa4b..82430f1d5e5a2 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -86,6 +86,9 @@ properties: registers. Set this flag for HCDs with big endian descriptors and big endian registers. + power-domains: + maxItems: 1 + required: - compatible - reg