From patchwork Tue Apr 16 14:47:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13631988 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2059.outbound.protection.outlook.com [40.107.8.59]) (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 99B291311A9; Tue, 16 Apr 2024 14:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713278916; cv=fail; b=hY7gfZ2sSK3cwoJjQKOByePJ+CodzebzHk5IUm7r/0O/VkuHcjhwzG9L+oaJqsAEiFGV9HdeFh8QNKNLFWRD7Jmrro9a5SUX60FIF8iabjFLKpQdn1pd1kqyr9oSQVlBW0uwPALKA12NjMHfCeg9r5ad/RIVca/87XVb1NoRbUY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713278916; c=relaxed/simple; bh=txdhzgMKWLH7PYSSomyJMeLCWFmQ6y4g6vZqE/QMPWk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ET0N6/cnvbepi+xcxrzhmYkeOw3D7CEllTf9ke2K7ly1b1jMhfoimoB2dQFoNj0ln0/bMOzGsV3Lh2lrccI5ZEXwStO83Mf0fOyyQTu2vdLflxJpJ4V+/eUjba+dB5Xf1cMFNOU/dhbjEY+IzcKDkI2rbHeg+t+mbCTnfKZ6LMI= 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=rnBLM6x5; arc=fail smtp.client-ip=40.107.8.59 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="rnBLM6x5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PPRnJ7cDv4yjmOFLm9Spn4P57eMCmrY9MbskLlQYOcIYpNdaX3MGdDAd749nOMFiqw0UIl9MZFequBeB+QRyOMXTSSI06LPfh/aBfI/sU44jATcDwjXmlR/ZR07qsm48YgCAgd6gyK3v23ez41O1Q+T5iitn90iarmr19YM2fRgrTspwOpiuNsv8OCipwumbliAmYXjcnw4Asks3xCerSTrylQiFCDjLb0yltrr6WJeg5flGjHIYcmMcBU+VfsGYhhKVl/l86+miNNpzdwOpoTWg1UXcxbeaHneE1iSXEnsAlqSoIJxPEsdZhKoAWQD78CaVUufO1v26Cn/bBZR5QQ== 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=Pj1U8idgGR3bJW7ZJ95N30hrkskmoj3SAMurbtwn7GI=; b=dymLs7GCr0i1Tcc91hJ7feJwFix56xDYXDLdTTxTteeDzy9By5KE41VKVkgv8qbELKrrB41zpNiWGrncBW6jZQ/rQoIpr2yK3M8U2KWEIvoG4lv3a2QtoxAT75EUIgD3FQ3cSvm6g967yE1zHcTZgQnAwstjpRvPzYDS48onVH1e/PqLBt4nklPRg+leWMPF95Kbno8K9K8vKzj9KrcCqh4/IXFX4Y9B4jHkfo6R53EoGZgJYp8vmXslrqr+4mn1LT7ZH6u8O/qWrGUg3Z5paxF5avskcy7oY5vOPjBIwk5nie5GAGhiiRPbD2M9yiNDtx7dsBa/iP7Fb9WsBz2Nqw== 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=Pj1U8idgGR3bJW7ZJ95N30hrkskmoj3SAMurbtwn7GI=; b=rnBLM6x5vR+9UShjxDTrFzSeHIF9YP3jE7X9BP08Vgqr2bdKRjTaMPBI8zCRXzAQUf5t3ELqnDOoBtCL3qa2GuYl7tsuAe5JluBN70Py6eqw6Ggcc5WhdmS1jJlqF46sKQb/v6uXJveDgZYqeqayKY1r6NWf9kU1P/xtbhPHO5U= 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 DU0PR04MB9636.eurprd04.prod.outlook.com (2603:10a6:10:320::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 14:48:31 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 14:48:31 +0000 From: Frank Li Date: Tue, 16 Apr 2024 10:47:49 -0400 Subject: [PATCH v2 3/4] arm: dts: nxp: imx6sx: fix esai related warning when do dtb_check Message-Id: <20240416-esai_arm_dts_warning-v2-3-879e59c0c3b8@nxp.com> References: <20240416-esai_arm_dts_warning-v2-0-879e59c0c3b8@nxp.com> In-Reply-To: <20240416-esai_arm_dts_warning-v2-0-879e59c0c3b8@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shengjiu Wang , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1713278896; l=2489; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=txdhzgMKWLH7PYSSomyJMeLCWFmQ6y4g6vZqE/QMPWk=; b=1Aee7FKHHRXqDKAeShplrCoORf/6ytecvKZvqkyCXDoK3JGl0iFj2NecIBc8taJcqdXV8cX8Y 0d1n3FpXrsbC308y2Bb5WcUTdwFbLbSel/uSSy8TBB/xmfLTV+92OIL X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0020.namprd17.prod.outlook.com (2603:10b6:a03:1b8::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU0PR04MB9636:EE_ X-MS-Office365-Filtering-Correlation-Id: d2a20852-b73b-4ea5-0789-08dc5e244906 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hW0MsQ2t/NFQb/dhRXzzMLMDTwh2FRVSYsSEUqmng2UtCO1lJhqFbr9GoKfuDh7H3DR9YPuhRVtnZvUD5pSRVZ13C5CnG2Tuf1XGTyodUFaEyJYXeLvnFxgmq5Txckp86ckeX71pm0q/3nQhV4E+9T8dBZozEb2qGMO1WL/Wp+lcOkx5ncsTGvmPZGsIByE7MFn/tSje1Aa6syH4O3r63r4LYQSizJ0MxRJ8zjJ/5LUfLkUmiWRmSbS3Fs9c4ELGPCku8mIo7R9TU/7JzgcqdJGF2w/srITH49ZagTP6rRh2nMJ4WJ1TD/lEQfv70p+nFC2E/B++KtxymogTWOUww4BqbWp6zAqzLJOlkv+Itod6oupRo/bkM0L87fJMVkc/LmG+px0Jp2oTcqKiCRxa18bNe20yjwDrbFVvj9tkxbDWIZWTXCsc9MwAAQ1kyZIWkHJfYSRilYf9lPVGEs6MZOoXxKgyBXGIHfv2ViDx0bkPuKoVm58stktOkHggdMtuvlxOK8HxCoEGGKURzpG7+dmT9vATI2/TPFDitU/qyjbQOdeAVpsxlHcoIz7Epvqf6r+LYTnw9ZzPaJzFZD7c6hLt+cEsa2bgOLOhtmlzBrkdF9S64D2VzaKKGEoFKowpvZpSEcTym5RUJRWgDmSeoJZDZ06ra9xJywAd+bXUG79nrjzCWvfE9kVQQWiHtQ6p 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)(52116005)(366007)(376005)(7416005)(1800799015)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wNlBFgAD89CWbmXuSGqdz3HWp4VX?= =?utf-8?q?n8riUH4lIT0mEKxybpOUGQ35f40kKIbhKMXVAF2OJoDab56HDXC8SZ+/oXAhIyhNm?= =?utf-8?q?KItOsty13mGlgd5RPRy0/+79rrsZuQx7oFKUSohKeImD60/grJ0Nu5p5pV/51MPnX?= =?utf-8?q?4NQIOWFbWy8KNwZHYVjn1X2dQ6drOKY/dObB3EqfsdSRfiddE0F7/SNi2Rk3eZIxu?= =?utf-8?q?DLVIUd/De5vHLjNZTADy58KH8jzb23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qCD6rK/U2c3dU58gbDv433hx4?= =?utf-8?q?qpLGVPYfgLoWNME6I5ReBCBflFBuB9UZTVVzEejNoy5a/Ng9Eylz1HNg3czsUSH8U?= =?utf-8?q?tTQMqojoM1f22rLxt8otN8Xclb6nTslP49bVMOx2J3yK8bTtg/y1P+ofSuCUJBlq+?= =?utf-8?q?qgAN//ReZAeMWn/n5qdXCqhfFBi7gkK77D9q5ZhZmSWyWE+Q32JSAafCX9Rv5LcN3?= =?utf-8?q?45juydhyCuvbk3lTdTXtcQagzwQmYMNBwbDcEaW9qm3jTMyNjWRv9EVYU2AleHBJm?= =?utf-8?q?tjbgRAj1/mnnrHSv9xcVVCkzS9Ex3CICnSs3MhuKFpil9fEGkbjdBf3HgI1Oh/deS?= =?utf-8?q?Rdk9XY55/3NY+EXYIA/ysZ1tZHiy3CrhhrUv6M+7+oV5Q/mYVYWrnDodp3vsOc6OB?= =?utf-8?q?c6aRmiUYwRon?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2a20852-b73b-4ea5-0789-08dc5e244906 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 14:48:31.7915 (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: SppNCR7d6lt+ar2yhGTtIJfztSUQy5HiL3iSsVznzUkjdbiwkrh3i3RzQQfYkL5jcy+fvgrZXvzQDmF2dqBTUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9636 Remove undocumented compatible string 'fsl,imx6sx-esai', which never used in driver sound/soc/fsl/fsl_esai.c. Remove unused clock-names 'mem'. Driver never use clock name 'mem'. Fix below warning: arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: compatible:0: 'fsl,imx6sx-esai' is not one of ['fsl,imx35-esai', 'fsl,imx6ull-esai', 'fsl,imx8qm-esai', 'fsl,vf610-esai'] from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arm/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: compatible: ['fsl,imx6sx-esai', 'fsl,imx35-esai'] is too long from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arm/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: clocks: [[2, 239], [2, 240], [2, 152], [2, 239], [2, 196]] is too long from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: clock-names:1: 'extal' was expected from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: clock-names:2: 'fsys' was expected from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: clock-names:3: 'spba' was expected from schema $id: http://devicetree.org/schemas/sound/fsl,esai.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: esai@2024000: clock-names: ['core', 'mem', 'extal', 'fsys', 'spba'] is too long Signed-off-by: Frank Li --- arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi index 0de359d62a472..874f33fb17227 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -339,15 +339,14 @@ uart1: serial@2020000 { }; esai: esai@2024000 { - compatible = "fsl,imx6sx-esai", "fsl,imx35-esai"; + compatible = "fsl,imx35-esai"; reg = <0x02024000 0x4000>; interrupts = ; clocks = <&clks IMX6SX_CLK_ESAI_IPG>, - <&clks IMX6SX_CLK_ESAI_MEM>, <&clks IMX6SX_CLK_ESAI_EXTAL>, <&clks IMX6SX_CLK_ESAI_IPG>, <&clks IMX6SX_CLK_SPBA>; - clock-names = "core", "mem", "extal", + clock-names = "core", "extal", "fsys", "spba"; dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;