Message ID | 20240318-asrc_8qxp-v7-3-01ce5264a761@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2042.outbound.protection.outlook.com [40.107.241.42]) (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 0C8BE5787C for <imx@lists.linux.dev>; Mon, 18 Mar 2024 19:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788461; cv=fail; b=ncXamLizcu4aQs+iI1os7vtskRds+3uw2qyLkAaKlILjB/cPjBU/wes0nLbxVyTR9jCXcg9sLXSZXdsgHOttVUc3MFjySeAt0mO1032WmchAjCJwBl236BF8tcX1CNJKML7cPYQoWdBWygvztSrPRlhT4VOm5EPXdyjUdNxwqiw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788461; c=relaxed/simple; bh=fm3dmQASVS7dADMDSVhVSWFwpxhdorpuXG2ia+uUfzI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Dyk6Qi3thrK15bFr2EaTWmvY7W1zIBPnjrYJInO7rp9at8KMgeQw5XNNGC5d1ttzIHlQvcxVCrxbD8alMEOSURjfJvAslMpy4T9YbGhYsgJ6ZkTa+5JHctshsAiKIwsHElyWEJJCv/bZo3O+EHQzGXZtdSET9Q/JQedamF7ucGQ= 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=a5K0xWXr; arc=fail smtp.client-ip=40.107.241.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="a5K0xWXr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHRIrRutkqTtQjs9j0RZ+vNL09QNFsTqtz/YFJyBP8QyNze85QMxyFAaOAc9WvA7X+CyJDiETWibuApEKy6tN64shBYA0bmbkFykL0t+/V2KzBQnrqa36xQHngoXsRKV2Bd1dEY54B/5qhcohOWfWkjOo//Oyf7XpiF3Kg3KcX3+GMixp240Mm9h3pPv4HHiGx+4PN1EuPkiPuviMF6t0AC2hhWFAp76AuxLYwZ4/SeTDYQFvws7WL5H2qklBVEY2McsALqX3cAW01KTNSkIDBmIBiUfb1ZpiI4Os8r+HhBkjfmH539EgnhJReEO+AB4D/ERcAvEr2txMjVABD3CfA== 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=Jcy9MfhtKZUWdIStJBpPxcppMP2LQsPyG/iYyluN14Q=; b=aWPc7yUndQNeOnnELfjBPE0SPkXp+0iMfxnnfIZ03G9gkiMElJm8Mp1HcTSvuteqKYjuXKDxVYzlBTNyjpys1KKgov3p38d9k2vQMGjkE4Q5UhGc2vKzxPfbZogsao5t4FXnoGhR641h8BB2f8HoCldKLFccc6v7zdZM7CT9Q0+CTVVD90E1aLmIxiACi37DsvxuHTvP9rITsqghNC3VdmRQIkc9zuiOTlE7ludXRATOgTxdocPfXTR3FYOGuFDScj/wU3UlU80Y/bToHRs22MxOCI8P76uhEZOvYfqTQMxNQDbknTjkJZoFZtCvYDPTj/Dx89GM6J899QVBee2sgA== 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=Jcy9MfhtKZUWdIStJBpPxcppMP2LQsPyG/iYyluN14Q=; b=a5K0xWXrUJMIcwKV6bEhrfP/wYqCF6njnhSkyFFTY3aKaEv8uO3/CMLW3b39UFSbE11iQ/42ReApTsSVZmy9DmnwC0ojHcKKi1DtBp4PQXICTmE5m2Jk2oBeT7NOz4m5dp4C+SS1vdd8GXjxr6orSj5/8KgOMi4IWrWMOYmM3/M= 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 VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 19:00:57 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 19:00:57 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Mon, 18 Mar 2024 15:00:09 -0400 Subject: [PATCH v7 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240318-asrc_8qxp-v7-3-01ce5264a761@nxp.com> References: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> In-Reply-To: <20240318-asrc_8qxp-v7-0-01ce5264a761@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=1710788441; l=1171; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=fm3dmQASVS7dADMDSVhVSWFwpxhdorpuXG2ia+uUfzI=; b=yGPHpA5Ip6792M669/HdEtwiZprkLdYcHMynxBJsN8weHCZ2lBt1nEUPVmJCS2ZDn93MtuOYm o0Wqrs/bw6/AT8fp88zwwI0e5Wl2m3Y4xtmPL3uz01VoUoHMLUNvb2f X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0018.namprd02.prod.outlook.com (2603:10b6:a02:ee::31) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: 5662f9db-65fb-4b24-9fe6-08dc477dbea3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rcbTpmZ3BI1TqQG3vyUzMt8VaWZarwixCHNlMwsnoOkC9AziJQIbpAcBcHPRDiXPyxlFOYsQDTfvcreCUYJFeIX3QEpHCAjcYq7AoSpeTkehBzOQGup80mLt3GQ51Nk5cLhQXzsw/IsT+9zKpZ1zU8Zws7sUhbVgFZyMOgT2UA2bOJ35ZqThqK0rhiJxlyY85dfiRJ9dupvDQvGdGaAhXP04qEFR1HSOJO3jMd0+dQZo/fD+9KABnPlHbFQFgdwCoUWN/AJW8KagIQwsArOPSqwaAxVCY9qWexk9VqepCNj73F/6KP0rsDdgCuwlcw9AQ3qIkDizMriCugOuemN87uU7NqZETTAshRIoeFmbvTafaq3cpI+Az/OpMhPerptW1+AdbBbobiBF8LGvOoEosok+dAsjZryMjdk/dq8YbkCoj231IBP5IdGI4UNWMzwnStVVvrHvt2yGE8VhunxUDU1IJl/W6E1d9nZu7ohTPlQp4pjqpe+kQgWDBOhyvWZ8KnXXXSSQC4f8R4XdcPWJ0YnemvdYbq5TL7/u4oFpHF7hHAyBOao4yHrefdrmqZkOISs26ShEs7SY8zbefODiRvJTCouN69QIiRXBhal+41/hI20B5fgLOzhzWjySvZr/XZgs2qXTiygr/bnNuUqUXflgv6pPnm8QRgXHBDkPLbj/bM7+1qCdF7x3CmiozQHcIdffozZg2s2Xv8ZJqUulEsxFLWmFoGSJIacAFz04QrI= 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)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?5Ad7M33IebDvvR1MWquvSvNedfql?= =?utf-8?q?fFVGrudiIKFdh5N9Bj6IFCKpKAwdozN4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cPg6HseFCYw8QuYjO5MGLv1NK+JYOA1GKmN3Pne?= =?utf-8?q?Uvkorm4nZX1Q2Ni+jCtjl1KheiX2mF4aVy5FtHWzPns8ZhNMu8XSynM9iHcU3B0On?= =?utf-8?q?ELlYufb+6sxi9esZLLUI719RX6rS+o1gPhJ2RwAI8eHrwLeAATPxzDHD063jdWcHe?= =?utf-8?q?aZS9ZypFMPlUtJofrVBSJQQwNXRItXRYLLv8KpUMx2+xEPrPQotUOaL7T7jVTAC4F?= =?utf-8?q?qZ8t9/OM/wmrauPh4D1SE2XeCTiDQ6Q11G0DIFjICKqkjPbiJVPKNFVv/AwGMebBX?= =?utf-8?q?luPYQt7rre86CiMkVurLTm07HeWFnGghYDqXLtFLGBFDMk5Ay4MHchAAVjQFo3e7U?= =?utf-8?q?ZFii3I8FtkS/5ZIozC3Wd4qRMguWbwXr0ccIeTOgexSpKS31YjiqM7o9uWojEf0AW?= =?utf-8?q?HpArTFnVOsv2iiR9TiEHCcBvKVB9hjmAaFcMis1O3UCByIQKCfmKmdA1IhOMRWFxq?= =?utf-8?q?mVdsdp8Cc4+rVaqSsx1NbJ/L4mj3hfgzEhEFnvkpodiRZN4EiJgX8NMjZMksiJIk8?= =?utf-8?q?m7qm/LIWfHUCEXLmonJLc4fs2lHiZRFH3b1og3N3ycpYKOW44Anvbl1s=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5662f9db-65fb-4b24-9fe6-08dc477dbea3 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 19:00:57.7423 (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: BXjBpt8KfLR3e1DbjnmW75p5wDoymlbe3msVtbey+VaDCHZ+2KQ0+g6Zzle7ovDXpm+7J+5c7Nc19kzN3XkmXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 |
Series |
arm64: dts: imx8qxp add asrc and sai
|
expand
|
On Mon, 18 Mar 2024 15:00:09 -0400, Frank Li wrote: > Some sai only connect one direction dma (rx/tx) in SOC. For example: > imx8qxp sai5 only connect tx dma channel. So allow only one "rx" or "tx" > for dma-names. > > Remove description under dmas because no user use index to get dma channel. > All user use 'dma-names' to get correct dma channel. dma-names already in > 'required' list. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/sound/fsl,sai.yaml | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..a5d9c246cc476 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -81,14 +81,12 @@ properties: dmas: minItems: 1 - items: - - description: DMA controller phandle and request line for RX - - description: DMA controller phandle and request line for TX + maxItems: 2 dma-names: minItems: 1 items: - - const: rx + - enum: [ rx, tx ] - const: tx interrupts:
Some sai only connect one direction dma (rx/tx) in SOC. For example: imx8qxp sai5 only connect tx dma channel. So allow only one "rx" or "tx" for dma-names. Remove description under dmas because no user use index to get dma channel. All user use 'dma-names' to get correct dma channel. dma-names already in 'required' list. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)