From patchwork Thu Apr 11 17:07:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13626446 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21032C001CC for ; Thu, 11 Apr 2024 17:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=tyPHcPMrvQ50DD0W3NI3ETn5zk1Mvc5HXo55FQgjPtA=; b=GA4Y0/9mbvfDyhGD7foxa0CNI2 EkkTt2dU0QCAhZNQJLE874cKJaAQyP23FFbwpZU9oM6EYrBtF2GJNZ+96Vi4oLyy0EDY4XqdwoSYr JRRdl+lyfFYgZhJJZXpxtAej70Kj+0cKBjK0tQR8EDOwY9LiTi6X42PPFl4g01hiVEJSZvjAtD5fD b5NBRUWGCfQ2pSU0JT29uuPn2qrkd+TAPieB1QKd8j/mGbodCAEgk7NJw6lknHZtenAoiQTqYyd6H VPiS3Wv8fuAie3VDq+d7hRzLrboasPzYlAB+uSYS3uDBlGOLSTBaOLhTwQb6vEXT9EdWG3+j6nJDy znAPifLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruxuj-0000000DHF6-1JYe; Thu, 11 Apr 2024 17:08:41 +0000 Received: from mail-vi1eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2613::600] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruxuT-0000000DH0Z-1sOb for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2024 17:08:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c2cW2Lv+ScrgBojjr65wb4n3aDzLYLL9/zwFa6L687dKfWzUf04BJjfQjObb/28mdIDgYvJ8GodRgdVaFcGoW7uDz4OqJLENbg2v5r4ApvGoU2Q1q30JDnYUY61X/BCYcsCd1oBMwZW2DjWMosVG0zKzfWqQKOwusbWw1uObzC6LvjPPaC1r5dEp68p7LtCazQJIB/Oz8+NQyymXeHXGWE468l7abaenK3QCHXAX3vY2mPyKwZwzrq2T9/7W0K4zV22T6sNGXQbNYEzdEODDkTLLf2rgVev/BMYXf8iFa4+TgRLBiBBp8nILY3QXGGpYjP8xYO16rRrsdPayMPf5/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=Pj1U8idgGR3bJW7ZJ95N30hrkskmoj3SAMurbtwn7GI=; b=FNlPfGImKTKxsWpQbXNbzAzv+ZkzrwweeOqhSRvqNDm0ywVm0/pjUycwZG68FNWbCJv9q2hbJWtXwPATeQ2VE2M0japLvCaCB3dpu+HBX5vrK/GeEFU7t31jYdJL6mr2GxeCqeiU+WLnGNDjmsfJFfxx/hoHPTndCOQsNA+0dAS6YKcsD4Nx5XB7csjGbqqt/uT8UUoleyQlvZRIPr5Y6RInmfo8z3hSUiUSuhxMC0JbrvJ38HTi10Xm70ISZS8N2QmJXwcJFITgZR0fBoCQYCneuoabwBJwMu1wlIcFzQGiwrg46ZAAnica812CF7ujYUs/3LoeS+HKREX86ErQrA== 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=HKHHzb4CQLzG/JKJv5/rtFFYbQTPkitY2BQZrxZzXIvxyhSSuunNZsfnKxeZ64HJezV1aj0Asix+rddiXjWdfkUG10mkjGxx47emxuz4AOxa6Eb14Ic9C8+zWSHKenk19d4tiiqBpEFJCcNtkXazZgNZrPqsTtvgtcwNpfOuETs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) by DB9PR04MB8394.eurprd04.prod.outlook.com (2603:10a6:10:244::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 11 Apr 2024 17:08:21 +0000 Received: from DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::1d91:1c96:1413:3ab0]) by DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::1d91:1c96:1413:3ab0%6]) with mapi id 15.20.7409.042; Thu, 11 Apr 2024 17:08:21 +0000 From: Frank Li Date: Thu, 11 Apr 2024 13:07:47 -0400 Subject: [PATCH 3/4] arm: dts: nxp: imx6sx: fix esai related warning when do dtb_check Message-Id: <20240411-esai_arm_dts_warning-v1-3-5e1a7c7be9b9@nxp.com> References: <20240411-esai_arm_dts_warning-v1-0-5e1a7c7be9b9@nxp.com> In-Reply-To: <20240411-esai_arm_dts_warning-v1-0-5e1a7c7be9b9@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=1712855283; l=2489; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=txdhzgMKWLH7PYSSomyJMeLCWFmQ6y4g6vZqE/QMPWk=; b=QFb5SLBt2mOpWVSquJfbw7p36uXMCekdVLAcAyWp8vvzCLDlpNah0kwM1KNBakNrInLU1satX CB42MTvDVxPCx52+3COvG3hjHgPJCVZWvWOYSSur101EuNm0Q+oY34g X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR11CA0105.namprd11.prod.outlook.com (2603:10b6:a03:f4::46) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9626:EE_|DB9PR04MB8394:EE_ X-MS-Office365-Filtering-Correlation-Id: 1712adc2-13f0-4f1e-4a75-08dc5a49fda6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XbfK6cT1rTjNIUNVjQTnjBgRt8CP3cTqDmV//GAHAHlMDILoYvoyKebxr1qC7+OS53xC5sofA8/r3LqQk/sL8D8nElhEIbHxwDNiV2IZDK/vVilDjETHkjnbrOmy5SY9RZJaDbQyPZBij7gYPa9N7wbNRVaMH/+FWnlfwQpUCeDnTNCxqjPGp0zRlQMyzoFW194fpT3MJZWWrsXW5gt29gTXSWI00NWqbMtle9eH4YmydF0KX57njJQza++vCyeZ9+ymCDIhY5M0kPv3/ayyys3nUUwbnT7CO0pRsgGAkuE7XMV3Kl3doNvUcZ1uir/a28EQTrKjMRmRIGnpTOGZgnME4v+jiNZ0yHNRQGrX+arGpCUrMVFFHMHZX95AqiJdYIFvaPne0oW/wOQy8q7kMcf4g15e2P+w1ax65hFST/PZipkEO7waQ7DQTJPMm6iwbdtM86wGJxFur/FeG4GjY4Vuqjz8TMT5zIu/MPfTwjyvqXUMmVPL32LZjn/v38AFB86irnrfAZO1CSp27KeEF5EiSNKZInQ2qwVvySGeZH7/aEE99uzLUutRETUa3NC0zSXYVhu/jkU55zMeLMjQ7mYGsoHB+eFjZak/JqJHOOP+5BN9h6ZP9kmMMkwc9pzVk7uy05eGfavHrCTaOxCZIXBTuhowhhXoGOjS/hTkgdfbKQoBk0gdwNUPEqmNHLGM X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9626.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015)(52116005)(7416005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?X59pQ2+dWrsLN/jbw5SwQQwxo52I?= =?utf-8?q?2MbRRAJVyR60m2QvjTuubkIIkIXuo2OKnJwTSWbHyL9u1PMhfQLZKizJ0hEkt0eor?= =?utf-8?q?o7MCsX49OTHRekDG4/Hx7nuPQE15qYN+diCRSvOWap1MQOGDpcfDB/YXBLq9zhNKe?= =?utf-8?q?2P3ce0bnMcMpc5AAGJTTDSz8Uen38SdTiGpgIXAD7ATsPD1msYhERKIPIU44BjSHJ?= =?utf-8?q?Lovvwb9Qy9QMDKZaeDeHKMbehfkVBVhPbciiQ2ifBJWr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OeE?= =?utf-8?q?RK2P9MRthhMB1/WQ0QejBsLlqsurLZyGKTkiedT+Ch8+KsAj6o2NtpvcgYtIym5ls?= =?utf-8?q?uHjgEbZ6Yf/TEGxd9z4a+h/PoL/LtHxB0KNIDzWai4ZWhE0pReMJ6ZDqFRU+fLsfd?= =?utf-8?q?25ZRxxOEX75sA6ZfyZ2wYfC+I3ndua8WW2eXIRSilmePh/1Fbr82nGAFVVg7cZq7w?= =?utf-8?q?3r1E6MybL/vB9L+rkRtzadFtv14dsFfasYSvxcz+TacFv9cIG2zYbPSstpq+Mmxmf?= =?utf-8?q?Izf+Pzos/7ZTvRHSkyO+xAtpg+uDo/JTlcUPe5T36gO6Oev6PvSVBFulB6g7dXFrb?= =?utf-8?q?F/WWkQYk3VFqORTzqpiGKqo04lzUXWT2hPdzRqy0gYSJBQhrBaylEidSkF0hrGd9h?= =?utf-8?q?TBcXTRfKgf+c?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1712adc2-13f0-4f1e-4a75-08dc5a49fda6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2024 17:08:21.7010 (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: EPuG/luo+89LHvJeJKrWQpQI+tEAoV6sjCufxkzImkcIrG90F7cJRBq6NnE/IysErB7ZgtKrDgPH0GLhw3rdXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8394 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240411_100825_936004_16E74249 X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>;