From patchwork Thu Jun 13 14:32:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1947443 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=sBS+irIG; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-75460-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W0PyY5YjTz1ydW for ; Fri, 14 Jun 2024 00:32:53 +1000 (AEST) 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 061FE1F225E9 for ; Thu, 13 Jun 2024 14:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7F5D145B33; Thu, 13 Jun 2024 14:32:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="sBS+irIG" X-Original-To: devicetree@vger.kernel.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2040.outbound.protection.outlook.com [40.107.7.40]) (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 C2219145A11; Thu, 13 Jun 2024 14:32:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289153; cv=fail; b=RXIBTW0jJh0k0NDa/aft9STGdW71FqzcK7aHc3tnU0MXJ8HrGx3qoyq5jMzr/0P92cvZHsCMFdp+B9s5iDukMz8/6wNBVUlED4iBuHeL1lXB4Ch3b7gKLVsFWZVSMffxUvxXDm3MpOCymirKNF2VGxgQ+ytOO62z+UkZ4Rl4zvU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289153; c=relaxed/simple; bh=6n+jH3bYnRgBJcQ8Scjf6ACZpXnSsURnGHPdQ5Th0eQ=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=K+JhULSTpq8sO6PhD3GOMZMgEo88uPwlbvAe58EEK6AXrjNElHKr1Ri/Q0FmakK9UlwX02hOKu3Z/LGwi6eegjteNzGPvB3obz4+xftdb2b6YhVTABzdYehMuMXcZTnm+3dlDgOqsz3eTGmTdGZ6rAgYXrzaJj0uC/L5SIhGXcU= 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=sBS+irIG; arc=fail smtp.client-ip=40.107.7.40 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=n3XIiJobWC32v87DbZpWNwwWcIBo6gf8m7kqgmqwAeR/jR2K0vnykMIQ//+adjNOODaR/x6OWsuzsXtDNNib/JWyeS/cwGBVVenWtZ9RZle5otShYB6nqS6JZT4bmNi+2/m2L5PFy4sBomQNprlFcXU4CDlTg42Bc7ilMdcZmFoU21y4BrnnHe85/wWhrmWepj/fCeDunCrx0eMP435cwxxolJwMWP1r7dd8xAcvc4Dp6nDntc1RfxUYKi9sq/z6df3c9bNYvih/yYSmnKyBPA/lSrCuANBAy3k6squ6IN3MsHXppzU5XsWxP98FgwjNH2po0qLurTLpbS2CqS4cUQ== 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=tsEiS/KZUKgrdg01xN+BkWHiE7QHU51id+SVG44/d+g=; b=b59Xd8gYi8bvfzkWbrMQhZEBceVMaolA2xWG5cUm1LFXT/BbEqSFGR6YNyLxZcE4lOps1YKLQ4v5d19dCssxoj3fQ6kKOJnA7ghdkucRQrjDdxM4Frn/lvKjE3jtZgwJYTOrm8YBaeNnZcyO3CySI/lW02esOkcZr+nELEDYckPnjrBmZaHLT5g49ba7UpKlw6hVUE/9kphjiCsW9VfUIu4Wqk19T0e42wg/jrlYYgFxPa2pjtvWi8sfXNPHLe6mRS4K4dC6KITduzL/c79dC9ChqZZLc7YQuDmpmhkmCEA7a2CcEUgn7HOzwm0fBMyIYSQ3WL435ynuKd16dzXFAw== 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=tsEiS/KZUKgrdg01xN+BkWHiE7QHU51id+SVG44/d+g=; b=sBS+irIGVQOR+3dH2Xs3VSIWRMEST9p/o+Xup6sAOwV58bncr4G9peZC9p6Gd8ezra45iq3mBsvcAVtW6WmrETIq4iwvPlmdCxZ6lUgi1ojxbXZU/x8dXPCAnwn6O6rbwd71MUZFfwWD8oKxahw5AlxzIlmOYsXe5mYuNigZgHk= 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 PAXPR04MB8256.eurprd04.prod.outlook.com (2603:10a6:102:1c6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.20; Thu, 13 Jun 2024 14:32:29 +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; Thu, 13 Jun 2024 14:32:29 +0000 From: Frank Li Date: Thu, 13 Jun 2024 10:32:05 -0400 Subject: [PATCH v5 1/3] dt-bindings: mmc: mmc-spi-slot: Change voltage-ranges to uint32-matrix Message-Id: <20240613-ls_waring_esdhc-v5-1-36644e2fe21c@nxp.com> References: <20240613-ls_waring_esdhc-v5-0-36644e2fe21c@nxp.com> In-Reply-To: <20240613-ls_waring_esdhc-v5-0-36644e2fe21c@nxp.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718289143; l=1718; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=6n+jH3bYnRgBJcQ8Scjf6ACZpXnSsURnGHPdQ5Th0eQ=; b=4u7rb5K8mtnpZn8RuzSrhb+fQQd2PBh4KPpbjwIA/AxJw5wofg84RCHGEu/4yZBRE45hTyIPy rygpECpvNAvCMj15ycGz5pRq/ojbF6nMxWJUMWrXyq9O9ZyRBm6FX1m X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0017.namprd03.prod.outlook.com (2603:10b6:a02:a8::30) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8256:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d622081-ee9b-42ac-388c-08dc8bb5a73b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230035|1800799019|366011|7416009|376009|52116009|38350700009; X-Microsoft-Antispam-Message-Info: =?utf-8?q?wPR6EJEDo57nyjJ4AnbhA5zFakF6Sva?= =?utf-8?q?Lbt7Mx7Od1x0ttCBtpLUFlk3j09KxFVCOUwnxq3P6gM5dAKJcoi999Z5UVtCSgkcj?= =?utf-8?q?07iZxa2Ak1qQ14V0ie2y/TCzAybdtQqmKH9+dG1duMzakxgdJVNo44YxlIIjIvOw5?= =?utf-8?q?d54fslhW5K9qDT+vIzn5fZ6pujFA9HkKmfjVAAFkQt9Z4PBuV5XjIDk72+lemezRq?= =?utf-8?q?J6Nvk23Au/YYO9kQwXWcLo97shq7/XOhL3c6bbFaCxcH7wJ0WkC2EcnE4FqdxwsjS?= =?utf-8?q?G2+G24Xll8OjBIViipU+MHaYnD+9TXnWk3pfRzzN4BD29h6IGFM5Bgq15DFB/AEzd?= =?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8xG0/DIsmtlPups21Tnh7J/kX+hKtSg41UZU8bXKcbCrKQpr/TNZ/QF3?= =?utf-8?q?pA2fVU6+GWUD1kNmKR/ze0C0nO3rHd/Cn6+X0gWQiDoIkC7qWN9oKlbw=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:(13230035)(1800799019)(366011)(7416009)(376009)(52116009)(38350700009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?WnWO1WDE7RRjCsCL3yDxls7f4P4L?= =?utf-8?q?lHTazKdcNp1q02bPHsdYJnaofCs2yXkY8IigZgm2CgUKV8OwW0jK7RNSvkHp3p4iG?= =?utf-8?q?XYbVwexxP8gdxOF/hd/ucIusBVPiY3CUw9LsJjTERasrasBfQB3GDIu/iB2B+lYMn?= =?utf-8?q?vp7r+8TQFc6r+U+vHdl1rLKCq/WeEZVfIL8Q8ljqIXGsFPVxSrWygBu3r2Wmm+mKP?= =?utf-8?q?BpHT+gnF6UymbcE/NSbNjxIWPztshOxQazUS7P+0w6EVguTIasAgNzDCWsv3TmdyT?= =?utf-8?q?u5IaXD1us7B0u4s8XXFSPD1ul4KfF4OMwZ552t3+TsV++N+YxgVqoprXsV7cccvN3?= =?utf-8?q?XNPJjb0W/RDJs4ULrzTHsy1AB4MJDVAnwY/tQ8nTNX12IH3Kt6Yegc8zAG10Es/1t?= =?utf-8?q?M4h6kqstsXI3IYsJeaanl8vtI7kdXqLXVUhNBnip5mp6JY2K4LTwKUgr8+ByceTcw?= =?utf-8?q?hqWhCUnSHjStd66/ltZeP6vfSLxDkHHWXtHlWo6l0jvj7ErqDEcaZRpi3hJn4elzk?= =?utf-8?q?jcOlknuNFfLo9Cy3Wp4m5qqLs88u91L/1I7Zg5LON1dmA+LhpC56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w0?= =?utf-8?q?BL+DBCn6K1uWIKDI4pPG/icup4lnyLZGEyg1D6hgV2oDiEbp3kRlpyh8zNO0GXsIa?= =?utf-8?q?PrRG9cYwfNaC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d622081-ee9b-42ac-388c-08dc8bb5a73b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2024 14:32:29.1737 (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: /2A0LPMcB9Iw1wzCEWSqo87ZaBs5Y3ZwoWtVKhk71tN01kc6+UiuNnwxwEnjNtO4xQcogOcZUi3XeKv3APWWmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8256 According to common mmc core, voltages-ranges should be matrix. Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) --- Change from v4 to v5 - Change maxItems to 1 Not sure why it impact other mmc yaml's voltage-ranges. Rob's answer: It's a quirk of the tools. When decoding properties, the tools only know all possible types. Types are global, not per binding. Sometimes it can be figured out, but cases like this cannot be. --- Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml index 36acc40c7d181..6e2cdac6a85da 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml @@ -27,17 +27,19 @@ 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). items: - - description: | - value for minimum slot voltage in mV - default: 3200 - - description: | - value for maximum slot voltage in mV - default: 3400 + items: + - description: | + value for minimum slot voltage in mV + default: 3200 + - description: | + value for maximum slot voltage in mV + default: 3400 + maxItems: 1 gpios: description: | From patchwork Thu Jun 13 14:32:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1947444 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=J7ScDJNq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-75461-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W0Pz270ttz1ydW for ; Fri, 14 Jun 2024 00:33:18 +1000 (AEST) 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 0CE7E1C21DDF for ; Thu, 13 Jun 2024 14:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 170FF14659F; Thu, 13 Jun 2024 14:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="J7ScDJNq" X-Original-To: devicetree@vger.kernel.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2083.outbound.protection.outlook.com [40.107.7.83]) (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 89B8F142E9D; Thu, 13 Jun 2024 14:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289158; cv=fail; b=tv/JhAoZbqvD8p6XfVEGyWrm3IknZE5d6v4JV7S0WnacrKxHFJ6L36ImHgZRqrTc1ne5F5jg7y0EMD+RFmRfiVq1cWMGx8fBpjiMW42nUkkwBSIrELyyJuZTYBAsBmaX1TkkJgHDQLp1UCGskrN+hMSAYcvFmzRPiiEM8+aOp8U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289158; c=relaxed/simple; bh=KO/9Dii51hytfogf5YTfygqSFnJxkMKRwTRQWXcQWZY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=s7Z8b6XmeeS+w4lYRpjaNdi6uuvc9RHw6AMDxpYPMWzGPJQD0uKXMWJ+7du/BTwMFcPHc0GNzQV5qKEvobOjdQqn8jcByRCUQW908HnjHbbT5cSU1F0S4dbbJqkKLVdsC9eVLhXHAwTr6jFGz9sH6JL1vAvja+kdECxCSLXG+cE= 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=J7ScDJNq; arc=fail smtp.client-ip=40.107.7.83 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=WG8TvsVv6s1b+4fYYrj8xsRPj4JWXV6y5BorkuQUKhH4k39z/6Mse1Sdnh0bQV0zV2+DPC+rIiU/f+GCQ1LQswCxTfZKrtJfYi/06WkROj2flXPDFchhrEl7V9D7bGUc4qbW0hPZYrnKrVY+cvwZcQEytPd1aIpEhlHABHLhNMJ+3Ilu27DYO6ikhNldX0hNs0vxfOVxGDZfQB+rh8y6waG1rPa5GAXZkBgSedhjH4O3Wpw/NCHJ2ZlnMgr1WNNIGyVJEEyAVB1Ss58VKK/Tw7ukTLrW3TYerEhROs4Flyh8DG8Scp+66Zs3xSBFbZImeCY1A+xiKsVpJTRZ6xYmWw== 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=PrGh1vSUxjxrYTHKhqnht0YI2ZzYqgsKipEZ3IzHndQ=; b=gMLP5FnnbZFVAZihvrJlperSOb4Phsu6wj+CYDhA/gr190+qtds13ok35smHSgd3aQvVT10jLxCfEVfacujMBm7t7rLLK3nYE8iyrj02iL587XCEcI6T2sC1koFQ6mYJJNK2kb3U3xLiRFBzZYxDnAKhS0ElGvVJcowMVth+FH37Es11n9o+WEsBbemd/0bu8pYqqnPPwyhQGpq+azPfM7PDl6J5zF/ES/P74XpM4oFYoTcx6n/7Ve/2Da8WNQ6GYGYczE5fq2IkM1wVkw0AiiL77BS/fQ9QmPOydgmiiCljffdclWBX2D7vDts/Ml8gIdixOL4pSF1ByHJ4wgxTzw== 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=PrGh1vSUxjxrYTHKhqnht0YI2ZzYqgsKipEZ3IzHndQ=; b=J7ScDJNqI8AGGO0vDemG88z8V3nR2ujsgI16TS2amrj4JiwLQ7U/rjlTAFqw7OOn8xFoosZ5ljzBUpmmL++H94d+mZqSMJ5A1Zmyfhj33FaStq032NbT/PwDYqgwhDMNjHiQh7F2dHalqtZlYnDaNUjcB/RR7GtIQNCg8DbZI5w= 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 PAXPR04MB8256.eurprd04.prod.outlook.com (2603:10a6:102:1c6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.20; Thu, 13 Jun 2024 14:32:32 +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; Thu, 13 Jun 2024 14:32:32 +0000 From: Frank Li Date: Thu, 13 Jun 2024 10:32:06 -0400 Subject: [PATCH v5 2/3] dt-bindings: mmc: Convert fsl-esdhc.txt to yaml Message-Id: <20240613-ls_waring_esdhc-v5-2-36644e2fe21c@nxp.com> References: <20240613-ls_waring_esdhc-v5-0-36644e2fe21c@nxp.com> In-Reply-To: <20240613-ls_waring_esdhc-v5-0-36644e2fe21c@nxp.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718289143; l=6976; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=KO/9Dii51hytfogf5YTfygqSFnJxkMKRwTRQWXcQWZY=; b=l/lMHqciyUBU8tRo4FAyNsDO1amWBxYRxkqokENGNjbDDtvI/CgbREKHG5rx6G1fJ/rSHt3GE juttPMNN0pUAShcwWr5sr9Jx9EjR7CuWUy+YyxhlScYr1vol7JvvaRJ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0017.namprd03.prod.outlook.com (2603:10b6:a02:a8::30) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8256:EE_ X-MS-Office365-Filtering-Correlation-Id: 9b5b6c5e-916c-416d-ac1e-08dc8bb5a90b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230035|1800799019|366011|7416009|376009|52116009|38350700009; X-Microsoft-Antispam-Message-Info: =?utf-8?q?UJg+qo2YMl1PEJovXNnLsNstEycg/0m?= =?utf-8?q?MSKziR8yCBFD11+zxvYYYROepjs43aoblRuFPNaOFg22bD4uywjhQfvtMU2srFw5k?= =?utf-8?q?2dOzSpgE/rBIsCp+0+h8/Y5jPsNUBmHeAEzyITqiOFnc0cVL+8DvmhzFXfMBaMUiO?= =?utf-8?q?rTIx5WhMX1r0p+xvosyK0RZcb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WJO+FfBJzkPzmZTz3Lf3SDNhJriJuMlVZIliLbRdVonlc?= =?utf-8?q?zn8akbdmEohmu1KZUJg9+/xClBu9LdKDeN9kpg/nPL1qtiVYUh/0tIt2T+Oj/Xjpn?= =?utf-8?q?YwWCEeBBDpeuEuvpX8BKr8PFtOlStmISFfpl0Vz80C+uv/qfrNnqHRYOYeRhFjQfR?= =?utf-8?q?2KCkRNaZkczYubIA2/J4eu8XqEjzNKIVgt2Yr4oCfV8fi/4vgrtKAV7CWQY4N7Dbm?= =?utf-8?q?IXw8cJP+Stq8C?= 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:(13230035)(1800799019)(366011)(7416009)(376009)(52116009)(38350700009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?JcRCB4WNCKjeMU+HMoy1Ued+Rwkw?= =?utf-8?q?a4LO96+7BXECteFB0VyX6ISC1xzDqiG22spdlr/GFhhKLCzZeKR537dvwvcfVjzJS?= =?utf-8?q?OkHE3S/b+dG+SE3e/+h34kLC7f7Ri38B9PBTTaoFj1EL05VKShMF5/73Yps52DGvy?= =?utf-8?q?8cSlIG3YoBfzDtXbDWB6Qtn7zlWGuyPzqylamMDiIQBPfiyHjRlyrY0DLE4JNT4In?= =?utf-8?q?8+hN0p1VnSy94R7hmUS+dibSgZ0Afc2bI3BgHXW+GmVBWeHOVxiNtQwfYr4u+GTdG?= =?utf-8?q?ZG6MtUniv4qIz5+9dv/RM1NYnA32PLD68PvrYrR636YpvyY/V6lQMlft3Bc5oqBJ5?= =?utf-8?q?qJK57EYyS6hqV0eTjAiTEEd7M48uhBL0hRjemo+9bUA2Nbk++qa+0QcneX+N0xqpJ?= =?utf-8?q?hOnvfLOqF1rp29g/+6MpDhjMA1GXT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ojUFZZ5GSKda+UII2T?= =?utf-8?q?bw7aMSlCVeMrnJ3bXgA7QJhm1Of8Skv9abkExwIpOSJUVH8lbk7Dj589RmM6HKxQJ?= =?utf-8?q?dKpELeoLVAm4VSkM7oluxzZV4OaFKwDpKH+xCPBl34P9asm1/RuVx1M4p9calvjpP?= =?utf-8?q?Rxd8ug0SOvYOAhgy2ONEQO9ZNkGUh0oERmBDrfdwIqbsbB6kePiKt1X1VGJmmvTWH?= =?utf-8?q?TZBcW+c9ABXC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b5b6c5e-916c-416d-ac1e-08dc8bb5a90b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2024 14:32:32.2353 (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: A9CIPwo0p98HQRTcByjCU/34o7GdXU5kziOApPFyr34ecig6NPFg89aeDJLziUiQauKwoXpzoKujeWlmXh237w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8256 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. - clock-frequency is not required now. - Allow dma-coherence - Add clocks Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- Change from v4 to v5 - Add Krzysztof Kozlowski's review tag Change from v3 to v4 - Remove clock-frequency from required - Add dma-coherence - Add clocks - Not add Krzysztof Kozlowski review tag because some additional change. Change from v2 to v3 - add minItems and maxItems for voltage-ranges Change from v1 to v2 - use filename fsl,esdhc.yaml - Add clock-frequency to required - change clock-frequency to 100mhz in example pass dt_binding_check make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,esdhc.yaml SCHEMA Documentation/devicetree/bindings/processed-schema.json CHKDT Documentation/devicetree/bindings LINT Documentation/devicetree/bindings DTEX Documentation/devicetree/bindings/mmc/fsl-ls-esdhc.example.dts DTC_CHK Documentation/devicetree/bindings/mmc/fsl-ls-esdhc.example.dtb --- .../devicetree/bindings/mmc/fsl,esdhc.yaml | 105 +++++++++++++++++++++ .../devicetree/bindings/mmc/fsl-esdhc.txt | 52 ---------- 2 files changed, 105 insertions(+), 52 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/fsl,esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl,esdhc.yaml new file mode 100644 index 0000000000000..b86ffb53b18b5 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/fsl,esdhc.yaml @@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Enhanced Secure Digital Host Controller (eSDHC) + +description: + The Enhanced Secure Digital Host Controller provides an interface + for MMC, SD, and SDIO types of memory cards. + +maintainers: + - Frank Li + +properties: + compatible: + items: + - enum: + - fsl,mpc8536-esdhc + - fsl,mpc8378-esdhc + - fsl,p2020-esdhc + - fsl,p4080-esdhc + - fsl,t1040-esdhc + - fsl,t4240-esdhc + - fsl,ls1012a-esdhc + - fsl,ls1028a-esdhc + - fsl,ls1088a-esdhc + - fsl,ls1043a-esdhc + - fsl,ls1046a-esdhc + - fsl,ls2080a-esdhc + - const: fsl,esdhc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: specifies eSDHC base clock frequency. + + sdhci,wp-inverted: + $ref: /schemas/types.yaml#/definitions/flag + deprecated: true + description: + specifies that eSDHC controller reports + inverted write-protect state; New devices should use the generic + "wp-inverted" property. + + sdhci,1-bit-only: + $ref: /schemas/types.yaml#/definitions/flag + deprecated: true + description: + specifies that a controller can only handle + 1-bit data transfers. New devices should use the generic + "bus-width = <1>" property. + + sdhci,auto-cmd12: + $ref: /schemas/types.yaml#/definitions/flag + description: + specifies that a controller can only handle auto CMD12. + + voltage-ranges: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + items: + items: + - description: specifies minimum slot voltage (mV). + - description: specifies maximum slot voltage (mV). + minItems: 1 + maxItems: 8 + + dma-coherent: true + + little-endian: + $ref: /schemas/types.yaml#/definitions/flag + description: + If the host controller is little-endian mode, specify + this property. The default endian mode is big-endian. + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: sdhci-common.yaml# + +unevaluatedProperties: false + +examples: + - | + mmc@2e000 { + compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; + reg = <0x2e000 0x1000>; + interrupts = <42 0x8>; + interrupt-parent = <&ipic>; + /* Filled in by U-Boot */ + clock-frequency = <100000000>; + voltage-ranges = <3300 3300>; + }; diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt deleted file mode 100644 index edb8cadb95412..0000000000000 --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt +++ /dev/null @@ -1,52 +0,0 @@ -* Freescale Enhanced Secure Digital Host Controller (eSDHC) - -The Enhanced Secure Digital Host Controller provides an interface -for MMC, SD, and SDIO types of memory cards. - -This file documents differences between the core properties described -by mmc.txt and the properties used by the sdhci-esdhc driver. - -Required properties: - - compatible : should be "fsl,esdhc", or "fsl,-esdhc". - Possible compatibles for PowerPC: - "fsl,mpc8536-esdhc" - "fsl,mpc8378-esdhc" - "fsl,p2020-esdhc" - "fsl,p4080-esdhc" - "fsl,t1040-esdhc" - "fsl,t4240-esdhc" - Possible compatibles for ARM: - "fsl,ls1012a-esdhc" - "fsl,ls1028a-esdhc" - "fsl,ls1088a-esdhc" - "fsl,ls1043a-esdhc" - "fsl,ls1046a-esdhc" - "fsl,ls2080a-esdhc" - - clock-frequency : specifies eSDHC base clock frequency. - -Optional properties: - - sdhci,wp-inverted : specifies that eSDHC controller reports - inverted write-protect state; New devices should use the generic - "wp-inverted" property. - - sdhci,1-bit-only : specifies that a controller can only handle - 1-bit data transfers. New devices should use the generic - "bus-width = <1>" property. - - sdhci,auto-cmd12: specifies that a controller can only handle auto - CMD12. - - voltage-ranges : two cells are required, first cell specifies minimum - slot voltage (mV), second cell specifies maximum slot voltage (mV). - Several ranges could be specified. - - little-endian : If the host controller is little-endian mode, specify - this property. The default endian mode is big-endian. - -Example: - -sdhci@2e000 { - compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; - reg = <0x2e000 0x1000>; - interrupts = <42 0x8>; - interrupt-parent = <&ipic>; - /* Filled in by U-Boot */ - clock-frequency = <0>; - voltage-ranges = <3300 3300>; -};