Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp412134lqp; Tue, 11 Jun 2024 08:04:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/UWKzmy5xckifwErKItR/TRiaKEi2q9NIL5FmQIVDjVr6Pkq5U6ACYtGZx+KspqDKZzQ3wFuh0eTQstz8gqbdrJUER8i2P0/ezFXzUw== X-Google-Smtp-Source: AGHT+IF/n0GTfnrinOWr8Yp5uionIr6wk9YqnpTpoCTLQj1oh30Qz9ozEuXhOVSE7vkDY4N7jipj X-Received: by 2002:a05:6a00:124b:b0:705:9748:7bb8 with SMTP id d2e1a72fcca58-70597488069mr6533022b3a.29.1718118274659; Tue, 11 Jun 2024 08:04:34 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de27ccd833si6988574a12.562.2024.06.11.08.04.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 08:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210104-linux.lists.archive=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=P0Bo7jkd; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-210104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210104-linux.lists.archive=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 7FB8BB215B5 for ; Tue, 11 Jun 2024 14:58:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03ECF134BC; Tue, 11 Jun 2024 14:58:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="P0Bo7jkd" Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2062.outbound.protection.outlook.com [40.107.104.62]) (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 BACC21CD3D; Tue, 11 Jun 2024 14:58:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.62 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718117914; cv=fail; b=tmZmNCZAPt+gRIuuUqmHElodTKmOWqkYDkcBMfXFhXgSjK1IIAFuDE9afxoEiYmU7+hY83aybojU8UvNta1/+tBvXLYdKFfr5MQgufZWLViK+gSuUW+5LE+EeAqpLcJ1Qi6sLqOWNfUH/HPI2IxoIDe2lJ8kpv58XnFe0BoVLl0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718117914; c=relaxed/simple; bh=+d19gZzoZ6cIufA8b0wcNIU9GqIizvEWrjXduRHoly4=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=esD+eqHJtSW/0b0+AXXcu4TT+UCKzWCzXH5mLChE/1hoq6EaZEseNyXIPpTy6ejb5J59lTNdPYFLwz4pX41pY9DN3DFHLpMNqX05oZ/Pf81R3YFF0uEUAwCC6eeTaolqaVF1cv1yvRTcANxfsVulH/fCkv5rssn5ZVYyscq/uTU= 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=P0Bo7jkd; arc=fail smtp.client-ip=40.107.104.62 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=JS5EL9lr17yflaN6Og1JaaOElNSwMgDl6N/6arpHRvWaDLLyY9nAHg/GG08iCJ3X0cZ6GioT+r47nl0dQv6qzRE2FvacMWu8xaT3octlIJlA/ohXAzX9FNRj7xjDmA/i0NnWmSb8/LYW1VHbnbnU5k8AgGmF2yUXscL7EVAuFftX7x73GSKYBy0K0sxOLhBukuacFqvQvR95L6MRO5ygy0enRU//OJE9pmX5Dvyq1ywB5+WV0go4SSkOmeKpB2Q1qUqMRRQvGkBt5QE8oDBTGDpv0ViYf+I1NOKc0dmc27VeAX3c1yp2/HQFngQ0YgzMZsyXXuqcqVQXigQWjW4G0g== 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=fwdN24HSSNI21SbpG+ZEe4+IXF6SviNae2+3XTYJ/9A=; b=IYkESyWmDPUhG4PeXFuHtSOtK7GGl48ZdTVfGRA6SIhktwA1u9dcM9+j7YglCIzPrgCzG8Uj2bc/TCBXHNoO8/Rul1EJIodtD7icaXUerkdoAsemOoeuFlUK3U0TR/3drDLUXS9Ojj/UiB5z8HBkF1L/uD2kJVsJVpfrhL9n8LwDhpylLDHqpH48ta0bov+CWzr84diVVtSictQS05VTxsKUkAIrQC4QxhqXPMmy5OyRbG4vk/tiuKiWDA0lusvJl/TLMv7i5/y9pr2lH58nyKDh3BvAV2doCLIAte4R0TlDOknsFPt3WMhBI7QczoB89Buy4FQ+kS8PkY/Odwytvw== 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=fwdN24HSSNI21SbpG+ZEe4+IXF6SviNae2+3XTYJ/9A=; b=P0Bo7jkdmavvJKrrTssQQpgoYDu+dptxHw7L6vdOIaqr/dTt57PVfpbbrIJwHPEkrBw1cNoBCkv8c7D3fCeF//BbiAVJlpvirgoalne+iGEZVTJeui34s+HPcEzdEUDX6p9e1Xlbkq0tbvIDIuGVxZ79DHlGxXRmCPFdJOMAU3E= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.37; Tue, 11 Jun 2024 14:58:30 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7633.036; Tue, 11 Jun 2024 14:58:30 +0000 Date: Tue, 11 Jun 2024 10:58:21 -0400 From: Frank Li To: Krzysztof Kozlowski Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, krzk+dt@kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, robh@kernel.org, ulf.hansson@linaro.org Subject: Re: [PATCH v3 1/1] dt-bindings: mmc: Convert fsl-esdhc.txt to yaml Message-ID: References: <20240605185046.1057877-1-Frank.Li@nxp.com> <8901d498-d30a-43db-bda2-25d3d1d58e8d@kernel.org> <1a5144e3-aad6-4a1e-ab9f-4c879b050d45@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a5144e3-aad6-4a1e-ab9f-4c879b050d45@kernel.org> X-ClientProxiedBy: BYAPR11CA0077.namprd11.prod.outlook.com (2603:10b6:a03:f4::18) 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_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: a3bd3e0b-0cdb-40e3-b2c0-08dc8a26f4a3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230032|1800799016|366008|376006|52116006|38350700006; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?flluQf9EWJkZdyvYx+rZ6kX+NrqPDOSVsfywjIYcO6MZRC6IsVE0V2iBd3PA?= =?us-ascii?Q?5dj+cz3qg4EmUKPu4jKNacRKJFxhuIVYBlLTyvojfWTohESOWKtNrcXugb1x?= =?us-ascii?Q?Ig05jYeevRDLo0K2L4vCW5HLUbffmphNG5Jeu+zYaJdvsjp8hE/ceFz679AJ?= =?us-ascii?Q?CxHcVnp0jpcVy7BU826pn8rkPep4HCm5wrLAZvGm2yKsQwHCq3iJBRjsZxiw?= =?us-ascii?Q?/ut5GOPduvXX2yeBMLpflRLuQwvnwVljQa3AcHHV2VHfVsg8ZrT45WZsRGY4?= =?us-ascii?Q?HmZkM+i95NO8y8mGMHa3YxPTiN313ITQSunniWSaOF3u/sbGyg/PUNVOhInk?= =?us-ascii?Q?UwtYCi+XQIDmQVLN3Z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nufeaY154G?= =?us-ascii?Q?cL0QdOd3SmomSQ5xnsPh9uqrETcxqHuOUxQLj7s55NlQ3h3Jh4InMuh2/IOJ?= =?us-ascii?Q?dYpp2neOEv3yoHzzGKGy1GYQfZlMbUPIKI169DExVRAzWcO17jQUShcBYS+K?= =?us-ascii?Q?zIaAydE=3D?= 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:(13230032)(1800799016)(366008)(376006)(52116006)(38350700006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?40OeXGetQGO06/UehospDsDzDiciWtJRDc2ACFM+jifLBQbHId0SoIe8K/+7?= =?us-ascii?Q?eAncSQmZWOXQUCgX2ymUnpv/7y7HhMLZ9xLmgeDV0788+nIhWUZYrl+U9Enu?= =?us-ascii?Q?HaizScGc3iftA7Zx2P1B8EOXvkNtmq9YkPc9JS4J7Jdc+6reW5T8ryP6TD2n?= =?us-ascii?Q?KuYMiP0moQhCXxWkmKy+3NjN9VxCWiFxbPAPy29WW3ijbj1jlcZbhhhSRAY4?= =?us-ascii?Q?dpPXmc4TWVMIItXLZIEIl55gpJEceRgQsc6jnb9wQIp2S0RpXxQ3U6KfYHE0?= =?us-ascii?Q?OCaR+VV4k6uHRFHpdE17lfmu6ukCReP/h8BLz56tpEmOvYc/EQMskLPuSBnz?= =?us-ascii?Q?w2AzexoC0mGuahPm5Y0Xf4JimGAvbNws5Y4PjYzzJP25lamIv1CGSTfwrIk1?= =?us-ascii?Q?TNezi5c7dyl9ZwGdqW3bCkuRQTcDrsHj9wzZXrvmSLKeOxPZ7LyYQgd+RA+U?= =?us-ascii?Q?WzKy6KjviAZt9UjKOTszQ4Wtij9bu2DyvylvwnwtkjXYIZSCsud7PilvVwCF?= =?us-ascii?Q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huaSwe3kxDrKaw6xLYHP7Imiz?= =?us-ascii?Q?D2scaToS8SCELeOKd7EW9nyVxLfwT0JEGsJsYn3cEnpPDjxcjqQGylFKSBNO?= =?us-ascii?Q?ZxYQxNJcqdZNG74LoMcf7xgYBOJf5spQlWO0KQY/8izp/sQtR627gj+UVt0w?= =?us-ascii?Q?DPgR4pRZemH7rZMGS3M=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3bd3e0b-0cdb-40e3-b2c0-08dc8a26f4a3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2024 14:58:29.9433 (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: yfP67R8q/u5LzbKgxLfKkVuMg/oyyNopt5R04RI+CWlUO0vljQQTcCDRYgENWbtXIBpasdsUdr30xMUNCooxWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 On Tue, Jun 11, 2024 at 08:44:51AM +0200, Krzysztof Kozlowski wrote: > On 10/06/2024 16:33, Frank Li wrote: > > On Mon, Jun 10, 2024 at 02:29:57PM +0200, Krzysztof Kozlowski wrote: > >> On 06/06/2024 08:44, Krzysztof Kozlowski wrote: > >>> On 05/06/2024 20:50, Frank Li wrote: > >>>> Convert layerscape fsl-esdhc binding doc from txt to yaml format. > >>>> > >>>> Addtional change during convert: > >>>> - Deprecate "sdhci,wp-inverted", "sdhci,1-bit-only". > >>>> - Add "reg" and "interrupts" property. > >>>> - Change example "sdhci@2e000" to "mmc@2e000". > >>>> - Compatible string require fsl,-esdhc followed by fsl,esdhc to match > >>>> most existed dts file. > >>>> - Set clock-frequency to 100mhz in example. > >>>> > >>> > >>> Reviewed-by: Krzysztof Kozlowski > >> > >> Or not... are you sure that DTS validates? Did you test it? kbuild has a > >> bit different opinion. > > > > Need additional patch to fix this DTS warnings. It needs convert to yaml > > firstly. If you like, I can create big patch set to fix all emmc related > > warnings. > > We kind of been here... I raise the problem and you answer with > something unspecific requiring me to dig more to prove my point. I am > not going to play more of that game. > > Did you analyze the errors? Yes, only strange thing is "voltages-ranges". mmc-spi-slot.yaml impact the result. I don't know why mmc-spi-slot.yaml apply to 'ls' platform dts. Any way, below patch can fix this problem. diff --git a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml index 36acc40c7d181..51cf2e4270252 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml @@ -27,7 +27,7 @@ properties: maxItems: 1 voltage-ranges: - $ref: /schemas/types.yaml#/definitions/uint32-array + $ref: /schemas/types.yaml#/definitions/uint32-matrix description: | Two cells are required, first cell specifies minimum slot voltage (mV), second cell specifies maximum slot voltage (mV). @@ -38,6 +38,8 @@ properties: - description: | value for maximum slot voltage in mV default: 3400 + minItems: 1 + maxItems: 8 I will send out all patches soon. > > Best regards, > Krzysztof >