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