From patchwork Wed Feb 28 19:14:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 207974 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3560963dyb; Wed, 28 Feb 2024 11:23:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUyxdGmDjW6lzv1DuLrF6B3G0+ufqhfbwzdY71+zD8ZhZsAE0A6iloefBNHCzZmWMyuOlECN2NdP0SGTE7KHmj87TScyA== X-Google-Smtp-Source: AGHT+IFcJLG9XVwRI35FfFuhX8NCqMypo9ixvjGIa7RPbne6IMKiGcJpzPU73X3eOEAfPz46GBta X-Received: by 2002:a17:902:f70e:b0:1dc:8c77:3381 with SMTP id h14-20020a170902f70e00b001dc8c773381mr558970plo.14.1709148229151; Wed, 28 Feb 2024 11:23:49 -0800 (PST) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y13-20020a17090322cd00b001dcd2ed9c89si579783plg.623.2024.02.28.11.23.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:23:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=AjPl4fq5; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-85577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85577-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 57F11B21DF5 for ; Wed, 28 Feb 2024 19:15:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AECF74407; Wed, 28 Feb 2024 19:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="AjPl4fq5" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2089.outbound.protection.outlook.com [40.107.22.89]) (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 E3E9074411; Wed, 28 Feb 2024 19:14:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147677; cv=fail; b=rB4yz2ycmF/KRmOoqeIJ9Hzk95mo/S0goIBUecCPsoVP+3mzqkU37+iq8iV8tbEqJs/qgY8dGiFSSqA1DO3+h+mEsChhIQEqRLVjrxcNVWp6Vf+9rrGdCFphlQBoCun2FJCaZFCfOFLU8/E58335fYJIRw9FwWUNsaTnq/JcY3w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147677; c=relaxed/simple; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=gjmwG57RPxYJ9fpfLI1Dt1Ow1nPzOY+H/PbSdesjejRgKyh7xgGCM9ZWus0xBEkf6Qo6BiUvwH+w1dLLycmO7btG9lsSpYmE2Kg+ZwIXpFxc1TAs4ckNsnerJh9VWGbLiiIZI9puRvfEIt6H9V16DKq2Eba9NKw5oLdw+X0H08U= 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=AjPl4fq5; arc=fail smtp.client-ip=40.107.22.89 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=H/pySiuppTrLTrAavgQgYRioGVNQh4PiHZJFFRpSPC84aVaQiY793lL6rwXQ/kLeDTCnv27E+0o6gfPppCpsm8DSb75DfnbM4JRdo06iOuYRjls+Ri4jHP8bwDkb5FjpSO4HG12XIsztkvQG4idMMty4RmcBlIc2h/PmjTi2rkNvla905aKYgaN5imNvvrnxzITedYbUv2JHh58IK8pbUXRk7YjhRSZ2A9h54T9JkHZiMhvB5/TBg5dvCILfvpTPJP1pqU6cWs1EKTtsWbxHF/IIXWpTYFIvfNdjp8T8KtTKozJ7hwm5xaC02jlCxN7wDW+W3rCs48BZavKob6Lm2g== 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=k7bVS8KDA5QFt4JjAul5hfhhu+U3svJPuQGpLEwxERYhhmrUI3CQ3EAKPN3rKznit8qbzzSEft9B9XTbvdeQCVocuUk04UCV72Q7Rx30eCvNtgnn1bKI1G8oHzDsnaFEhdx13rUptKU6mDHBg8wZvisi3/WI4wstCCTigs1792EQbYODBkYoLsOrh61AK3eyiAdDLaWxtpfDQwF4EQaE1ltcueqZHzb3VqE5Qld42Xz0twmBbRnRAV+8JWpBFXfdmDFhgKPy8uqKhqJScWrFfamGhEZUMeiRe4SHPCFngSY6UyTxjvwZpvRCsq1fLMo8ZB5D2JBpYq3QBQW9Mg5LgA== 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=AjPl4fq5Zac9GILEfIbLsE5lfO6o1bN3i4tKTxvujSjGecjVo2IOiiXpG0s0Wqni0BSzc5urkuQL5l1bwQd9CG90/Ow4CmM1zRCdcfRdAaTxJNULzfbPawMOKVoXmIIEQhXtXpXsZWUU8qUwjZS5GMNQzM6OOFhQxVidACEpIQE= 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 VI1PR04MB9835.eurprd04.prod.outlook.com (2603:10a6:800:1e1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Wed, 28 Feb 2024 19:14:34 +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; Wed, 28 Feb 2024 19:14:34 +0000 From: Frank Li Date: Wed, 28 Feb 2024 14:14:13 -0500 Subject: [PATCH v3 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains requirement Message-Id: <20240228-asrc_8qxp-v3-1-d4d5935fd3aa@nxp.com> References: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> In-Reply-To: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang 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 X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709147666; l=1359; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; b=GYCgL40uj1CwSvYJK7g2E2IUgCH/9ufTJWXOWGuI/bcg2LUOOTfWNRl+9qa4nXUbwlGXz+N0K OKwerUNLoV6BXsBnpMgSDzKybhJD1rdIiavxKhsWOozJf8tXIHz++ny X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0299.namprd03.prod.outlook.com (2603:10b6:a03:39e::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB9835:EE_ X-MS-Office365-Filtering-Correlation-Id: e5e67fd5-234c-4442-5833-08dc38917f8d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ky6C3N4kD9ynb5wyeNmiMXpTGHB40/W27NwCHZGBqEWTnORe30BO0d8oALMpcyhK8OH4R8uG+v9xQlCTGzf21V9gvZUY/GNVd9aRvBK1YdRvGq3S7Qq3f3MNvyBGUshCNQca71zCjBhSnZeu3J8fg+ytTK77O6F2mBT5RMjLrDWCwaByONHtTA49V8zstPKuiaVn3J9O+O9X1xkiqPkfbQsvQ+qUau7Tt7nzzF8e5Yk1xeGd1HnZdHmGwjvGBcpZOxOgK9cH7GXJLBr3owTSQLydL3cYf8dODE1MViX3kVTCxuYf59o0v2AMnSEIHikevyf8q9P82BgYwwOm9Oc5f8Z7vgCIS8Vst/rTkGThKud5VRminwpahE2GqRQ07ML9O0nH2iPR33xeRq7jbiyW2syaF+ftdvOSk9jkhbKVN03wyz0AWlDFtjXZ0e5/Ebi9V2J0gTxhzDivCyxaOEriPk/yB82Xv7L5frJgtShyfmsihqbVsLTrsN7yVS5q1Ko6q0zy6KFBcE2jyPlJ9UX6JcMy/tCuqXbLQmDqwdjCLrnxlJGuBR5TxwU/xZuJVLoQIUFJ/D7Z5nP1KezLkIC2FSBQ/UNzRnWaJDZcPmd8UBy8db/eJ0liUP6AzwLD7wjfub57YHhXaYS31oSrm5vJcgTo8Bc4vjb6+j0GVrDiRWnhnJu7PhTDu63L55puuNYlP2KbTYi/TkqLoRW2dd0OSzrE2IFjHzkJJZQPuLBA8yU= 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)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?rj1ri2pZNZiNSEnBrSu/LTxTrXAc?= =?utf-8?q?1Lp7+OADuVQapEq3AWWV+QShEEY+NZ2FXYhUuMvMuMIJXuLbWWmz1kHduJn3VXsML?= =?utf-8?q?bngGOl44vUDNfsH7YyL7sn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M5A/dBffwJ5u355oi+lnmSw2A4mlZ?= =?utf-8?q?34DZbiMPWBf96bX8x7MromrIMQHxbDtEGaSBWcBqNQONffqr3b6Oikd6itpNlmCRU?= =?utf-8?q?mORoGOu0DRsathI4Gh0b36WwgTrAhNj/tc++xyUA7gkDOpZzWurMaM9fGrcgd0Qhq?= =?utf-8?q?tVwR9p9zA4EQssNAOtgXjkqbrLOO4kwbXkzKxdqcShUvfSQIOklms3DN+ZbtPGLVf?= =?utf-8?q?2GnCDNrqWvWrqVfUtg3mcUX8+fYaHdczlq/xfNK7GbGiiv3BE2g8rqG9ZyxbS05io?= =?utf-8?q?3izNNGBIM7ZEPolMLrAP0UnuewlufhSXtcn8LfN8iaqiE/kdvOXI8ULZkvIytlnPh?= =?utf-8?q?37URmQGQfH1PR9voH7GG6MIWcKEDi7LuJJz+jrdpjWa531fh6WUSffE2bPAwwvv9Q?= =?utf-8?q?SN4/uoj4w+hZT+VUv/zdpd6f0hZnvndrtxPNTT/XbC1kORooiy4soI+b/3rlDFM3H?= =?utf-8?q?9LS2bWcYctpQiWc9C/6mY3VO0QwPZKpNb7LFrbD/wyJMuGm7OjkeSW7POg4ZEgI0F?= =?utf-8?q?7tP2N+ODGGKj?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5e67fd5-234c-4442-5833-08dc38917f8d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 19:14:34.2199 (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: T2C03umF7pW0SAL9M+B53XGKdfaJu4z7N+dH7iHMsDiI5bB/gk/tJ0xyYmJii4J/mgulYChFit4+mOXBekBx2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9835 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792171813505649090 X-GMAIL-MSGID: 1792171813505649090 Add power-domains property for asrc and spdif. Signed-off-by: Frank Li --- 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 From patchwork Wed Feb 28 19:14:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 207971 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3556446dyb; Wed, 28 Feb 2024 11:15:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXFqHnE2umQJIyyUgf5VeVSY51r9CSAX9bExxA84NdqNEFKepIOndjQft0oG8DwOulxmHXsJ6/rDB/pw3YDj2Jly5rNAg== X-Google-Smtp-Source: AGHT+IEiqn2FlNClgs4ZbI0Fhd1k2I0kvj5o+uBgvgr7jVckO0LF1X79HXOh5VqFN8oSkH/PzD8u X-Received: by 2002:a17:907:f84:b0:a3d:656a:4700 with SMTP id kb4-20020a1709070f8400b00a3d656a4700mr475094ejc.71.1709147722449; Wed, 28 Feb 2024 11:15:22 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h17-20020a1709060f5100b00a3e7b8a8347si1918853ejj.1053.2024.02.28.11.15.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:15:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85578-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=G8mdfAl6; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-85578-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85578-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 E2D721F27240 for ; Wed, 28 Feb 2024 19:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C7BE15E5B7; Wed, 28 Feb 2024 19:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="G8mdfAl6" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2075.outbound.protection.outlook.com [40.107.22.75]) (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 A74A415B10D; Wed, 28 Feb 2024 19:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147682; cv=fail; b=nLWQ40rqrbfUzYl/lDygF8ILG7L5h/lCsGDTh2rz1G4BwXuA+2LDHCIqb4W25UsDegtgqVc6SQXNEHKKch/Ecn113brHK04ZQbkc/OsmcGNlmjwNOsHfX9IH3PYpITWkCuFbTsjGyH8iPxQQ+Wv6pADP5G/1v8jUDBJ79eUj/80= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147682; c=relaxed/simple; bh=FO83phglkervfVlCZJOD886uH/HW6BUeeW2qKw50lK0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ZScC6tBq9qt9aymdu7yk/s6GVdrzuUzss/r0pKo3B0SSjUuBMKB+V3H16RmSHZFPUN8DqwKMr3yYtKVi8ZfV8Buw6akG5cjPw350V1ivae4k7NUbk6pHXmh9c2CYRtnaRlI7RBMbbyedp8oHAnupX1AJU5Veei8gimYDhuT1NPg= 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=G8mdfAl6; arc=fail smtp.client-ip=40.107.22.75 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=AJtG2wA4JVdHNsFVJ6YFPScJLhhk8yGougcXw1SXaTC7O+FwKNpMXLQt2REtgg+t87Esa637aWYE6SFFVwJ/KUsUfO2NP7g7e13sSzRb8MpEpJEjkTFqbDcWTR5Dk+BvX6Q3c3sQoo8lj12ywGuGiKVTB6V4UixzO7cw9CJ3ES+IOBAGzJRYRJeOgY9izMl/8LdipOWflsmfcZHMs7mTa7vzRgMrp/KzaHm8QCfYx1wFHJw9ZBQpvZ2Rj2jDZv1ovtejSEuZvN39tyGHiyCXOs/9lZl22TJG1qymHW9N83RbjYkC0FACLCABf8gvGMoJ8opfKt9M//CutyIpjC01+w== 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=fmjAsQ0nniAzcGp7r48rUQoZhUYjRyGE/fPpYj7W5J0=; b=cAjEkvfmPTTQKCy/zBXoX7rTE0/YhDtFLzJWdXwdNayxZsF6wrAhkQNzykjH5+/TDTlDt622lZgw13q4cbnbj147/Dxhu2ECmzQSK7iRhzLufBGowkMEpPwp1N5CAeix3mMJtYtHXYH/LAg1sm4ka6JkUUN8QutSvDyXf+EHADxaNl1jDHPlj7FQydq8yR+AGuG3yPLxXjc/IK3arU2LJ3B/n1K0eOOZuCmCg1f7aFmQgSUck8Wp0coNi4M9re248HjdYUsL1uwzF7fwJCPBJmS7JibeJ1BR4q1FwunQIAL8EvrAEIjwNC2pHLMrxJZ+O8cFyU8uivwgSewF/FVfkA== 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=fmjAsQ0nniAzcGp7r48rUQoZhUYjRyGE/fPpYj7W5J0=; b=G8mdfAl65GyVx+ekrH4zVd35FDQ87C6LXne/Cwp/0FBQH7NQyrtbIN8ndscKjCzQU3+OZXgA7EAxfhDKcrJO/ugATwyjQJcHiaLsjxFhJHJIL8lWH/tCBtO4t+R86aEuxLztrdSAoS0ZqhEWujPL+3fD2Co7I6OYKeKUwVg4FNg= 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 VI1PR04MB9835.eurprd04.prod.outlook.com (2603:10a6:800:1e1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Wed, 28 Feb 2024 19:14:38 +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; Wed, 28 Feb 2024 19:14:38 +0000 From: Frank Li Date: Wed, 28 Feb 2024 14:14:14 -0500 Subject: [PATCH v3 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240228-asrc_8qxp-v3-2-d4d5935fd3aa@nxp.com> References: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> In-Reply-To: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang 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 X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709147666; l=1336; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=FO83phglkervfVlCZJOD886uH/HW6BUeeW2qKw50lK0=; b=bRI8MK50d5FYDbvP+LIt+nfidFgDO9Umi2ai0+3sAsE7bEYQ7GCjjp/WPNpn0kuI7PllZQNZR ywkuI00yK3jBTHKKsiL7Uxond7wOLL4ngFCT2qYNDe8yag+xAlVPzt8 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0299.namprd03.prod.outlook.com (2603:10b6:a03:39e::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB9835:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e22b0ac-3661-4544-f0cc-08dc389181d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RXCS4inEGxEshf6UvgBoE6RLjrZw9kDKXVqpIaBbvIO3huUSKG5REPvRWXpeKrNQmd/YEl3O1C077jWxZy+9r6UX+Teu5GxuPT1y5JKJo95rFneD7G17yGcx74/m2cs2OqzApCwhQrq1xDnz51CR52gEpk0xEw7xXPpInJ1U37RFKcuwFJI/SJV2Pk76EU2hpdnWkBavzUr4eTzbeFEfoejBVTobkzme4o8O4sZVcfByIYxw8eH3KDgdjMoM1KRgQpdlHOQx4PzxVv/Yld/hsWb+VH7FGVGji5XfIUpOrFS+hh+CYIr7EkhM2Q8VLvwIDyzKE2wjG3BVpTLiMaGyqCKDhuIrJze9T9drQf/cLBwtxg8uwwg9ZbfJT42NdWxT5DNpsxeJratJ6DiMZZE66UV/2JKXfL+3UYbEmG0zx9rIhpKGzSyKLvvspRgYwADwoQcc8elTe12vsDQeynOXzdV4vSNaDttuiZFY86ogthNEU/q2LY5lsFeVgTx8FO0z/YSw202DaT6m040qbu9DR549e8jzVUzaTDgokj/JukXudidQ2VQ84aI8QHHT623SbVktTzTcPwpdHDy+g7coQz5euIcGvrTp3cSv10tYE+XIE93Vs97bg+0HyHGZzUNVtQ3gfZVpDaDh6lAJ9znbPbml0zI5HCl35v2OQeiomVH7bF8G2QgLonbTiI0UDZJyeK+3zQq+f2j6G2Kj6Clron1ULAMnO6VdgAzKe3l5FAc= 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)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?uHT0evd7ehLW2lzQDoPgE0mSzssk?= =?utf-8?q?gxls32JBydfjNpjr0dfHj2nJmupT/niEXzBy96Opcp6MMQw0gqDpzW5yKGDP200pL?= =?utf-8?q?Eg4JdMGcfJ0wTOPWDb8YbIUM3bFwNn6UbaJ7RIX5kljFZgjJ5vChpnqerMP85NLup?= =?utf-8?q?FjtmJo+UtQt33ALXodoFGFpcoWcrpNVtn4+b7dNIe+lgQO3XEK0Pq3J18EUeY6HPs?= =?utf-8?q?DJGYTA5yuI/EUkQIFo1u+xc4hV0vNoAKytEunC/azHLOKGs3HK7TkO9pBJi2dgxcU?= =?utf-8?q?0PvTyCeItZMs18SMbrekYx41Ji5dhPeIQ36Aj5mW6untWgFOJgouCyn9YsLbUlL50?= =?utf-8?q?pUKkKn045ocqY11++ic4s/7FMNF/nA6FbIErp66ILrbYfueVKErI1zwe+7+oAsBg7?= =?utf-8?q?hy16yy5KdYnB9jC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DPpvCdFjUNUHWfuvCzIvIrxT7T7MsZAr1UpM9IViOsctMe9kTFegC?= =?utf-8?q?eFj23dG98Fb6CMiAJrr5udIK7RSDvrQ+J2IJR8iuYquUQ116ZzJ6ureBIrVVyl3SD?= =?utf-8?q?WTRk5It2jol5YiKilG4dLYdTpkH8iRr3S6AJFKrVwHGDk6pL44fWQEzmUMCJPBLdc?= =?utf-8?q?eICcwp3KL0Yd6GvF+x7pjlSXsCkZX2NKXa7N5Qhq5z0MkjQNb573W7f10UlOlMF5B?= =?utf-8?q?gr8Hbt0bw7G7?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e22b0ac-3661-4544-f0cc-08dc389181d2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 19:14:38.0339 (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: qbivTQsU2CQesfxKYqw0nzmF7slTqAHRI5eP3MslYK2iBA0cIW61WdUud/HgzD8haOsi9IOyd24kWWqlz6iATg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9835 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792171282143592537 X-GMAIL-MSGID: 1792171282143592537 fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms have 1 interrupt. Increase max interrupt number to 2 and add restriction for platforms except i.MX8QXP and i.MX8QM. Signed-off-by: Frank Li --- .../devicetree/bindings/sound/fsl,spdif.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 82430f1d5e5a2..785f7997eea82 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,8 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 dmas: items: @@ -100,6 +101,23 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + enum: + - fsl,imx35-spdif + - fsl,vf610-spdif + - fsl,imx6sx-spdif + - fsl,imx8mq-spdif + - fsl,imx8mm-spdif + - fsl,imx8mn-spdif + - fsl,imx8ulp-spdif + then: + properties: + interrupts: + maxItems: 1 + examples: - | spdif@2004000 { From patchwork Wed Feb 28 19:14:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 207972 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3556817dyb; Wed, 28 Feb 2024 11:16:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWHCzLiylusVbeVDXLsiJSNdMF4Er063K/WTNAAm/Cj/Z+s74ryTWDEUt2DeCOdhnqYwZxncDHH5ZkBSKocV5aTc46l5A== X-Google-Smtp-Source: AGHT+IH+vn8/qkPCWJPmmsKgZFX5WyJzECmhmq2FF5FzLCCpBwOYRV28rQy2VY8SZMXMRi//Kuan X-Received: by 2002:a0c:f103:0:b0:68f:a78f:bf1d with SMTP id i3-20020a0cf103000000b0068fa78fbf1dmr5737024qvl.39.1709147759832; Wed, 28 Feb 2024 11:15:59 -0800 (PST) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dv6-20020ad44ee6000000b0068f3fccc515si155960qvb.394.2024.02.28.11.15.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:15:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85579-ouuuleilei=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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=aozQWElq; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-85579-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85579-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9F19F1C2467C for ; Wed, 28 Feb 2024 19:15:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1208974429; Wed, 28 Feb 2024 19:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="aozQWElq" Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2084.outbound.protection.outlook.com [40.107.13.84]) (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 C120874415; Wed, 28 Feb 2024 19:14:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.84 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147686; cv=fail; b=UZE8uOTUEDIMbH+nMkPrHpa4LFcDl1B+wKu8rqyq9H9/8SvfCR/TC0KFc2b4H2/1lavDH20xQYFNREcXLrIlw2ytKic1ItyPFhl8xx/85TgZXoZ/z6RWpQD7XmPvrJzoSN1KkxgTdtZ4uWZL9a8GJtVvlwcY+wK+YZNtfl0Lxfs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147686; c=relaxed/simple; bh=Zr5TShgZiJta89p9a8K0vtH/7bUq8E+U8vmOaScyf2Y=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=VuCRwD0TOvD4b0YRWFiKRDcwP9fMwBqb3dPCQbMEGCs1l3swT/Anc2p/xTI2nZGsfWbKT5klEar2afuEJGCSLsfwtH62oeZ+Z5xU1oP+pUP/gwowx+3V9WgvoR143ACPOeT1gP9vRaUOzz1s8Z9LwWJQ3xRuCBnu5qiN+ehwU1U= 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=aozQWElq; arc=fail smtp.client-ip=40.107.13.84 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=HuCHJOZ2eWgKDl0QVp65U+9yBfQGE0cmFKyLfevGgmGapVYS3ARS4FGeSNbm7IwPvIHhPRfbab9bf7bi++9gIDj0tZLts+OEHn3TY9+ASYIfJLXXdYDifSzoMXALQuIgJ9NgBfVtpk0jowKLauIlVWoM0FSD+QkgIwLWUcgDY5Tmiz9stjEPT+p2HzN7rWwPxkUlQly+BnSwfgGB0qgYisVjQgviw0toiPU5vP7ofgwXzu+Ap1Z5HBp6Z6fBW294xwvv5REZuXBIPi0GL820jmEa5dvq0GUpk6tgncIj96301rh1CPIKrISL56blcH7hyQjPEP6goZVPXs2Rnw+i7g== 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=Skl6lRl14Qap8DvLKPAl02WhkmMYsRwEI7aKW/j1Zs0=; b=DMDsedluH+zqvMMdn+klHaAwmRBJGuZpAgC+/e5Q19mzyQGhJpNx4hFmmraHliSBiusm0JVf/KJSZCLsPHjyR7l3qXLJlIv4zDqGfW/jGa7Eqk//JgklbcNumuGKC0zmBvE8IheZpRBP09gtxhNAWnJkEpdnj8I3wRhfOn9ZJJWSUzd0lKlZdpRQjtty+bQublFIo3Z6E/5b9ws20YxQ3AkJkVbo8XUuYANr1QX7LtO45tHxvbTHWHdoCTWuzP5m1nUO/O8ot0eMR1yb8+zhbMVOiTGr4Jgs7Oza/scWuODz0MQ/vCgc4OnWb2pZ7qQ4X7nw41RqB+N6qTVI6m96uQ== 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=Skl6lRl14Qap8DvLKPAl02WhkmMYsRwEI7aKW/j1Zs0=; b=aozQWElqaqyp6xLjCQO0JkvHd7+1riW8Bc2GUkWMqzMOF3aDE+GbqPl5U6aOFWirr4GYY3+jX5+qU0Uo/iinrTveIXb2tXCalU1ooYDKhwO4mpbVigWQ5fTYjZfItbg3WsuhN8B9jo5sC8OhlrsGOmeAIZiMt/E9NtDErwxM5I8= 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 DU2PR04MB8887.eurprd04.prod.outlook.com (2603:10a6:10:2e2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Wed, 28 Feb 2024 19:14: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; Wed, 28 Feb 2024 19:14:41 +0000 From: Frank Li Date: Wed, 28 Feb 2024 14:14:15 -0500 Subject: [PATCH v3 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240228-asrc_8qxp-v3-3-d4d5935fd3aa@nxp.com> References: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> In-Reply-To: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang 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 X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709147666; l=938; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Zr5TShgZiJta89p9a8K0vtH/7bUq8E+U8vmOaScyf2Y=; b=LB7gjXBUEAkh69TaW44crxJQHuGSHdfydIQ9k8zVSletQxd5+EfSjDc1NIQYPVPgUry1VJuHp I2wGraplEbjCWDLigkSShVhLvYuruxBBHEcjvUknkUidYRYnIKa1qDu X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0299.namprd03.prod.outlook.com (2603:10b6:a03:39e::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8887:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b7f7cd7-b65f-4038-18e5-08dc38918416 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ve4wglpn8Z2taSG/vYcYU9HjkWzfbKFBv8yBejI7ouMwheKALkKNGOrYfXeQLKwcDCZjqVFOxTzgMfGPm/4jE3YlXb2PaZSOkcHZi0VqWcrXldkAUu2mebhNJR+2v9H9wAg1GBxCsXcMOr0VEmFgDFn1OFYxZjoI+Homj5wZVdCDeIq/5D8BLx15vaMjJFcz9zswTRHBsjy6sgJQyVsMa0T88zKYz57Hx0tcENU+lGq0QkphhzexAcw2ITE8qGH6GHvWWBzRiEsGHB/+aNgfry8feFxB+lcm6dj/3GF6tgQe5IDIs+uFrOEsEx6fv7XpW4/LpZQXPYI9k7wCS5nPQFE6Bn9dxaH7aa2B1AdVwznv99i+RogTVaKxdJrgZRO91rKU/j0szaoKOnuJQgQwMAtCz9XeG9LLy+DSioIV540cHomj9DVdIeVd/IRV8DKF+x3dkJPxnSAPgygmhEkqp7NzuLRyfHQ0FY1mWvkACbyyZlABSjurxbxk84zI5z7XUI4v7Wg9dIBS9NPEo095nhPooCr0tFcHArA+jg+pZdxiVtFcbyRgtYzjDscpf1i8xgFup++rxBgH3Qiap3HSh9npigM9dDyoCSI/Vgev3A5Gp9p4pT8+Y7SsvxSLKQqN9BJdIVWIxKjT4a0iPQ1xxhlSqy/+nY6AXotJ1m/wv6hRd1vwooELVhwUhqyU6jNxksTFdvcFkqqBBp/qQwSQJW+IplKm1DiMU4BsfzmSULY= 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?8LUOSqAvFOncB0DqBrSzBc3joR4g?= =?utf-8?q?pKSUVWFuGSiC0JCN8fvsMQZBE7pyo3wT5Sc9+/tm6C4NtI6Ao3qLU0e7iDYSKAggI?= =?utf-8?q?I3kmht78fP2KLmHC6i8IVItJnbsWPbyk16hgoC2qSveloRp5/02juP/BN7mK1QkRO?= =?utf-8?q?nMrqNR2Qj0xZrJts2fkY/yHbjmUP4Hmsofw5ZorVsdYPsHvbRQv3hVT4ziFKUuIeU?= =?utf-8?q?TGcYoHfsz+8Px+hYMcoNrCIGy66wd9gDkttcOXnQ/3H1yewIqYX9gC4Qq74iEk5As?= =?utf-8?q?vHrtgHCYY2lG2SmY+8bnfD6uY2Nv3wjbiSrRAslVwH0JdoO8S4/oWIZNd25DBqycR?= =?utf-8?q?+CBHtajacx53HBux5MHXClYVwxSduzrPEfirMMAzCYzurZlUV58umvYaj3VAJFE50?= =?utf-8?q?cUy/nI30VtVYz6EZpauDaAhckjbqpv7jugovjJe4tVqR8MMupjW/pRhYLZTIQyLEm?= =?utf-8?q?Mcrgy+fkcYD3zGH1HWDqp4x9uDm83tv+04B1ztjZcznc+Gw7bcK1GfXfDclmTIPcj?= =?utf-8?q?rhH0RYbGFol3LqdTDdO6K/M1fTyDMkj0oE6/641fvDeWappZ2j0J3yZDwxZbOunVD?= =?utf-8?q?3du7Jh4w1oC5XsExQwkgxrPxQBAaz0h5LOtP+tftyES7CiO4soN/e00yi5RwgLHQ2?= =?utf-8?q?SsLU4ZiNjRNSJFm443lm58BMFgfkYuN4xfjgLv7u06dE/DBMnsbTOX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b7f7cd7-b65f-4038-18e5-08dc38918416 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 19:14:41.7970 (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: aRWsqB+FFIZFNWn98VQEzy8NjTWEZYk7UQbdFbFqfT3pPQ/DON6L0f5OsKskaQF/nzMAL4d3X+8rzMrlnz4qHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8887 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792171321334795728 X-GMAIL-MSGID: 1792171321334795728 Some sai only connect one direction. So allow only "rx" or "tx" for dma-names. Signed-off-by: Frank Li --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..0302752d58a2b 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -86,10 +86,14 @@ properties: - description: DMA controller phandle and request line for TX dma-names: - minItems: 1 - items: - - const: rx - - const: tx + oneOf: + - items: + - const: rx + - const: tx + - items: + - enum: + - rx + - tx interrupts: items: From patchwork Wed Feb 28 19:14:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 207973 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3556919dyb; Wed, 28 Feb 2024 11:16:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWaRVrDwhN/KPmiQtXRuLHV87YrAofbqfJAmKrUX4D3T8RLYrDK18IVVS6oTNBXylhxcAAh2H+0udXDKgqkain66siCgA== X-Google-Smtp-Source: AGHT+IH/AA4GzLo+NnojUPrfUxbTVVDfxAM43XkPgCGfhlGkjCn9qa0/TYQB9XauMG7gcgV74OID X-Received: by 2002:a05:622a:1749:b0:42e:b285:4d7e with SMTP id l9-20020a05622a174900b0042eb2854d7emr2065982qtk.34.1709147770795; Wed, 28 Feb 2024 11:16:10 -0800 (PST) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j9-20020ae9c209000000b00787c36da46fsi169241qkg.190.2024.02.28.11.16.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:16:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85580-ouuuleilei=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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ETxHnBV3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-85580-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85580-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 12B501C236AF for ; Wed, 28 Feb 2024 19:15:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A38957443A; Wed, 28 Feb 2024 19:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ETxHnBV3" Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2047.outbound.protection.outlook.com [40.107.13.47]) (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 1BFC374415; Wed, 28 Feb 2024 19:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147694; cv=fail; b=BZkJ1Lfvssdr+0H89WcyXKZY9RV5JQMKARaIe8LlMxADz4xFoHI8o+M3F+odPrKhpKe9BZPOvMJdLwkS3drYoSnftuR7FJMYN1cAMx6FYFbZ9WOwcGuq5vO+/1szDMgBZtfyhvxuiH+4DQCOgMnQXFXEJ8HrheAoXsZ2YWka+8Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709147694; c=relaxed/simple; bh=scx2tJGGMPCuV31oHuIscaL9iO3JoVAe7DIQfQq/hnM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=drg3W9N4Lgpew78UqFQgy1/aNZH0Nvv2j1BPpkV9QjwvzOBcozAqOlv0QhpstwI9+oW7379BYQQ5Oir1P1BOVa09W1/S2SOHZAvO7qqCFHL2YsFXTcaE3xuLV70gVGXmW09xVyirPZGTDFDlhnk9tMaQBPelYD3xTbnLxyNVM+0= 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=ETxHnBV3; arc=fail smtp.client-ip=40.107.13.47 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=KmcyLLVikJdftgdSnKVaY70CtGA8GAiMIzsB6zeyFAGjvjd/8b1lxeSydBLxyP9eS1/Tx/pVhJLZqJ8WTc9MzIXh5vD56hsIfcTOS6YQvbmak473OTFsqaH5fiSqzKxl5CvOt2nw2xIk8pL4EXzEnZ4Qh4StDOfSMFTSu6jaWMfnnAKMzXevk3reKmsz/0dndwWH+gcQqwxNOR33bNoZMKO83lodsIPOjlZm5V0tO+vJc6RCwRuSYf2KUxrfgT5IpVVeVMFOTT2xDQH1pI8Y69usXSuse7RYysBo6rraGTYtQtPGjP8DZGnIstKYmH65zS/MKkyVX/s739MLms6BGg== 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=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=mc80zldJTs7FvoqOXCwLWZyv0ww0T7ZkqxQHoMVr/2wTJcnuHjfU+Ij+NZF5hpdSYTtHUOx2eD5f63VSe0T4+kTRWjQwMYuM6uE9ILcaY48TtFDuA6JVf5N5uhOwWLrQ08M81YRqu16PJMpNyQ3C2HOf81w79nl0ALzsj6/w+HXfcdvbh8OQoO1L7YUiJlYgv2vEbd0L5Jog7VqKLDlcQ7DCCyxAobyLDbAwVVeXuOLegSTVdn1xY9JDPzPZXnPeAa8P2tZMazJSqd8fc2GMpwu9U/AUDb1eDJHeCF9Jgnx1jckj+DlCqQxIAV6AFV4E7IjOwEYqC4fXFGJE/lHnVA== 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=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=ETxHnBV3W52mH8X6RW+d9ylK49SJ8xf0wukiw8uNF2EP2GsoJzN3pBjHb+35IX7i37DmnAF4ew882IuNpYSLZcOj+SkpEg3pASPmWQwBdI0qbguEIhoY2cr+01ZKfcpjJ/pyrLTGAiCEcfdBw5PBTJ9MxydK7FRSzLXq6eeum4I= 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 DU2PR04MB8887.eurprd04.prod.outlook.com (2603:10a6:10:2e2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Wed, 28 Feb 2024 19:14:45 +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; Wed, 28 Feb 2024 19:14:45 +0000 From: Frank Li Date: Wed, 28 Feb 2024 14:14:16 -0500 Subject: [PATCH v3 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif[0,1] and sai[4,5] Message-Id: <20240228-asrc_8qxp-v3-4-d4d5935fd3aa@nxp.com> References: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> In-Reply-To: <20240228-asrc_8qxp-v3-0-d4d5935fd3aa@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang 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 X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709147666; l=10528; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=scx2tJGGMPCuV31oHuIscaL9iO3JoVAe7DIQfQq/hnM=; b=sHU+x1Vg5EFj8r6rels9h2fP8VCNCl0RVCmAWWhe15WTPYGuZcRWtjQzzMwsoQHcm467UFzDC iSEc7thAUecDro5J+Io7rZbQeD3wnRlHoTAXGcAuFoiQ+n4PcoT1ZXm X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0299.namprd03.prod.outlook.com (2603:10b6:a03:39e::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8887:EE_ X-MS-Office365-Filtering-Correlation-Id: 9dd53318-9b33-4dc8-2a9c-08dc38918656 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UqpV8YPrWWehn1Fsaa3j1Yft2i7p6jSwMoLxxbpA6y5ToHdb5W6ZKqggu1Nzyrghwa8H13lanKfjXk/v1Qjr9vCPmPR9LR0v4v8fAuQeX2I6WPILyHJAw03Xegb/3f8S0d1kuUBYY//gLhCzZIFwihzeboHubsVF5IDjfBHod1KyCCfEs3ymBix00aF2ODfBJ5pKlirW22S+4TLJwrdnjzK1hr+BAqvOj2Pxu7+rqifmolWHBgQS0d9BGZ3AWM6LldezieOqi3sMpgFMWiZqIp4crfCfv8V3WBWgK+AzTIjlwr3Q/zpNz3gn/3U8bpKno6n/dcO85csuqoQ45TatdbAY+G2zUtPEan7psYb13CyVFVFayC1TajpxobZjiO/YsjSv5e5YdJcoc5+Px5B8NCsSBS6haGoZdbqy8ibFOp4xC5XAXxCJZmYhsx4hbIto9GfEXQGQ31qqLj9SmByhjjlaQDKGawgfjKrd0CwIkElxcmuJBoX/JViMIY5WFcA6k+oZ+JrSYk2sL9IiyvHZkKjuT6LL3Gjr7TP336sbvXtsGnVu8C9gpqjbgopkWF4kYWkdduFINmufRjWlmnAjAAumkdhS0KjO12h0iZ8N6+dEE963QNA/zcUgUxpYrSD5C2Hu1JT/JyEtZQppCkAT4qbP5N465QwhDeaH5JW+91z/6Y8JYny8du4OoncBfCTEgtEoulluxAUgEmuNf0qa6bW68+uCsVSi6zL7pBx8geY= 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?bnhoeQmld1DY4Wg9p/+/JmP1bnVB?= =?utf-8?q?tBxPzcNk8b7SIZI0AXEDIKQcQDydeVGeO2w14sayfqnOxjpQiE8WFIR+C2FKTbWAi?= =?utf-8?q?XjV9VWj3Vx91SLxDpFXBa3Au3nwk0xLPjlXnw8sRvWin9vNL5kiuw2my3XEOz+pO6?= =?utf-8?q?nCMvy7xBiriHSG1jglEZaq8bmWILVOh4iSIwGG50/V7JYZvgdxQ6JFJP2wG7f8jDE?= =?utf-8?q?UE9XtrDkb0pu/WlN7Ut4JOoa9Avo/6+OWiGZEoWf2BVfYtdziAOfMJzV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c3wXrD?= =?utf-8?q?Y0kXmu5GOHFoibkTeb77L/I8DYbFZNKjG8C3LRHnprdS8ZljwkOWN1lEP9g7BMDkN?= =?utf-8?q?YTdLrEMzItio1ZiwcDveZzImlWrTKYflNKmYj0vzDw2Kw7X1oQJMx+dKKFtigbRod?= =?utf-8?q?+nnHOADEdoFKs9d6mZcdz5dXCfTBcP/8+zamKgPZeEzvqgaZ3DqlSGo54eKrckPMP?= =?utf-8?q?ZwEakudQH8FDktE2OEqg0p8+gDvdedKJCHY77Whj5K+p7lt3Morom4llKtlottDAS?= =?utf-8?q?wUQChq1R48hTICCFJMphsVVOG8/PLa+GkEzzLxBSeB1Aewk2ywTixh2L3pkdaUm+W?= =?utf-8?q?nCWpQOJ4I3elaqY0/QPgijkpVKwGOxjE61ni2FXFhTRs3qM62J0D6bqt/0FOWRXNN?= =?utf-8?q?en+dWlO/QM0l?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dd53318-9b33-4dc8-2a9c-08dc38918656 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 19:14:45.5890 (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: FumNqSaGQr4ynfRbuZqgb1yEeQA7KwwoRwJVHejAXKjVfKRWu1wxw/P0BJkm4rUDwiXTO7j7UDVUComjMKU+Rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8887 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792171332655743213 X-GMAIL-MSGID: 1792171332655743213 Add asrc[0,1], esai0, spdif[0,1], sai[4,5] and related lpcg node for imx8 audio subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 304 +++++++++++++++++++++++ 1 file changed, 304 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi index 07afeb78ed564..78305559f15c9 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi @@ -6,6 +6,7 @@ #include #include +#include #include audio_ipg_clk: clock-audio-ipg { @@ -481,4 +482,307 @@ acm: acm@59e00000 { "sai3_rx_bclk", "sai4_rx_bclk"; }; + + asrc0: asrc@59000000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59000000 0x10000>; + interrupts = ; + clocks = <&asrc0_lpcg 0>, + <&asrc0_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma0 0 0 0>, + <&edma0 1 0 0>, + <&edma0 2 0 0>, + <&edma0 3 0 FSL_EDMA_RX>, + <&edma0 4 0 FSL_EDMA_RX>, + <&edma0 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <0>; + power-domains = <&pd IMX_SC_R_ASRC_0>; + status = "disabled"; + }; + + esai0: esai@59010000 { + compatible = "fsl,imx8qm-esai", "fsl,imx6ull-esai"; + reg = <0x59010000 0x10000>; + interrupts = ; + clocks = <&esai0_lpcg 1>, <&esai0_lpcg 0>, <&esai0_lpcg 1>, <&clk_dummy>; + clock-names = "core", "extal", "fsys", "spba"; + dmas = <&edma0 6 0 FSL_EDMA_RX>, <&edma0 7 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + status = "disabled"; + }; + + spdif0: spdif@59020000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59020000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif0_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif0_lpcg 0>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", + "rxtx5", "rxtx6", "rxtx7", "spba"; + dmas = <&edma0 8 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 9 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + status = "disabled"; + }; + + spdif1: spdif@59030000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59030000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif1_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif1_lpcg 0>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", + "rxtx5", "rxtx6", "rxtx7", "spba"; + dmas = <&edma0 10 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 11 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + status = "disabled"; + }; + + asrc1: asrc@59800000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59800000 0x10000>; + interrupts = ; + clocks = <&asrc1_lpcg 0>, + <&asrc1_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma1 0 0 0>, + <&edma1 1 0 0>, + <&edma1 2 0 0>, + <&edma1 3 0 FSL_EDMA_RX>, + <&edma1 4 0 FSL_EDMA_RX>, + <&edma1 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <1>; + power-domains = <&pd IMX_SC_R_ASRC_1>; + status = "disabled"; + }; + + sai4: sai@59820000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59820000 0x10000>; + interrupts = ; + clocks = <&sai4_lpcg 1>, + <&clk_dummy>, + <&sai4_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 8 0 FSL_EDMA_RX>, <&edma1 9 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SAI_4>; + status = "disabled"; + }; + + sai5: sai@59830000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59830000 0x10000>; + interrupts = ; + clocks = <&sai5_lpcg 1>, + <&clk_dummy>, + <&sai5_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 10 0 0>; + dma-names = "tx"; + power-domains = <&pd IMX_SC_R_SAI_5>; + status = "disabled"; + }; + + amix: amix@59840000 { + compatible = "fsl,imx8qm-audmix"; + reg = <0x59840000 0x10000>; + clocks = <&amix_lpcg 0>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_AMIX>; + dais = <&sai4>, <&sai5>; + status = "disabled"; + }; + + mqs: mqs@59850000 { + compatible = "fsl,imx8qm-mqs"; + reg = <0x59850000 0x10000>; + clocks = <&mqs0_lpcg 0>, + <&mqs0_lpcg 1>; + clock-names = "mclk", "core"; + power-domains = <&pd IMX_SC_R_MQS_0>; + status = "disabled"; + }; + + asrc0_lpcg: clock-controller@59400000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59400000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_0>; + }; + + esai0_lpcg: clock-controller@59410000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59410000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_ESAI0_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "esai0_lpcg_extal_clk", + "esai0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + }; + + spdif0_lpcg: clock-controller@59420000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59420000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF0_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif0_lpcg_tx_clk", + "spdif0_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + }; + + spdif1_lpcg: clock-controller@59430000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59430000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF1_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif1_lpcg_tx_clk", + "spdif1_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + status = "disabled"; + }; + + asrc1_lpcg: clock-controller@59c00000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c00000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_1>; + }; + + sai4_lpcg: clock-controller@59c20000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c20000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI4_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai4_lpcg_mclk", + "sai4_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_4>; + }; + + sai5_lpcg: clock-controller@59c30000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c30000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI5_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai5_lpcg_mclk", + "sai5_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_5>; + }; + + amix_lpcg: clock-controller@59c40000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c40000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "amix_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_AMIX>; + }; + + mqs0_lpcg: clock-controller@59c50000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c50000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_MQS_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "mqs0_lpcg_mclk", + "mqs0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MQS_0>; + }; };