From patchwork Tue Jun 11 16:01: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: 13693981 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2080.outbound.protection.outlook.com [40.107.249.80]) (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 E184539856 for ; Tue, 11 Jun 2024 16:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718121754; cv=fail; b=kXwL6bk6mo2+gtAIY/XirDjE7rLXNc+33OeWF3lgyQWdTgWuoSdOidePDDcGxgqMdjHAM9BV8HII+ENgwVoaAHUdw05TK08QzUNbGWo757WR41CgN/NkpOaBCY0EUXNs9nHpXECWbcDa0bdu1V80W5HeA0HBmfIkc7dYy/Z7lXs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718121754; c=relaxed/simple; bh=hQrQKWmOiEIPrQyDeO67F8w9gGwoWrNJgZyQxOy7iMM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uoUkO0giJuYH6K1sbqPnOSuXdUSBvV7R1IgxdMQ4iKJGAunUVbsNrPK6OPf07IPTTYM8MbkNXrDnYe5fUIIdPfA1HRGxQGyqvXuzlrpbcb7Yqiypv2Ezl9+UPpLz05FvnrEwmvUDZxayUwwczCc7trgwsopA6Ldo3z7KWhFpg9M= 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=eJtGFJTv; arc=fail smtp.client-ip=40.107.249.80 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="eJtGFJTv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y6pt4vW8DkIEwWstposOmCejQVeG+6D9DzPVD0Fs7DFB9DrhL2D7AYV98LaMeuoTqS3gY3V/21t99W6/8PS7Ocyp3Z0OZllMkZfB9iM4YoJs5EqWiXUAxdgKf8p+z5IaRwIlyxzwHdBNspTgVOoSnFTvOLl5Rzl3b+mkxaBLNYfROO7A3vhXiDBecn85GwNpMIdO0Pv9Z52iIjDSnGgi/z64d2NxQrZ9yUNFDCFy+DZrozCxL1ZpjDAL50kILnb716HzlHwuYOxLDDzcZtFKbuRY5D6yWQZ9s/3MRT6weuO5EybkqCjbb3+iqlIYub9y6DZg3qNEgR/CeM40RBfGVg== 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=VhB8R1dan+WWROOlNNXtlak7PCtS3swdMz+EeW2zg7o=; b=hklllonbBwsgHY6qFDEILZ3eB+X/HuKGSTCjec5eszj7g2lcc8amfghKVGT//6U68FY3edaVwf/r51jw4HuktLQCAx4nFwwhsHziZ0BpHax6imyFtAE4KKZHJ8r6hNFgRWZPdIE62O9j6FiIVYO2MQIEP3ULQzkxQWKpJEa0t07/bTeJ/UEQ6IEhgCwAq+hcNqs0po6A42lHzsakolhmHB8EBNd8MvXF8RoVUjaQYixwn4+dpdL/1CbauCzf3iKx0CtmK/NA0gF6hDdkC20tNZgtg5fgA6j9XS71xfRXgh55onqTUWa9dFgd88g1sZvNDgDSw+uftNtO4RZmBrq11A== 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=VhB8R1dan+WWROOlNNXtlak7PCtS3swdMz+EeW2zg7o=; b=eJtGFJTvPEcjwwU8hdKp85fIFQtH+H6S3U2MAzYhytXv1ElkL+BQmEzFx+owyfVr6x/FZVYWdNQujROO21isJ59mn/NiCQxaTwOJjrBxfb8g7x0viddhrSoHWEEc67ve0qQRPrv6LytpVTs+HuSRrd2z4sG+L873XSNi45o7l/0= 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 AS8PR04MB8005.eurprd04.prod.outlook.com (2603:10a6:20b:2ac::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Tue, 11 Jun 2024 16:02:23 +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 16:02:27 +0000 From: Frank Li Date: Tue, 11 Jun 2024 12:01:47 -0400 Subject: [PATCH v4 2/8] dt-bindings: mmc: mmc-spi-slot: Change voltage-ranges to uint32-matrix Message-Id: <20240611-ls_waring_esdhc-v4-2-d0d8a5b3f3cb@nxp.com> References: <20240611-ls_waring_esdhc-v4-0-d0d8a5b3f3cb@nxp.com> In-Reply-To: <20240611-ls_waring_esdhc-v4-0-d0d8a5b3f3cb@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=1718121738; l=1478; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=hQrQKWmOiEIPrQyDeO67F8w9gGwoWrNJgZyQxOy7iMM=; b=2gpilG4li/I5k8cRN5/p60ceoPvBPzRmiPfoakLqoPKy38SONXWj+Nki0mKcc6e50GVPmgucU UITzlGPnrw3B5bpDTNFLec5Nh5eDVub4BnLD1BRTU+NTzmTIU0bdo6t X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0017.namprd13.prod.outlook.com (2603:10b6:a03:2c0::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8005:EE_ X-MS-Office365-Filtering-Correlation-Id: e7fa11c3-4ca3-45f8-99cf-08dc8a2fe440 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230032|52116006|376006|7416006|366008|1800799016|38350700006; X-Microsoft-Antispam-Message-Info: =?utf-8?q?l9s0A/UAeBHO6ZB+tZhx6zZFcUFwig1?= =?utf-8?q?KE/g1vn+4UhhRqVqRpOF2zU6i67VdxVHLbWRyB8n3LDDz3umuvBb87dLA6F88GrMB?= =?utf-8?q?cSXTzpdXd0v+5Gx8gvC5oyYgAUD8XF26S6Wr1Pwq5ksYvgDEKx6diXSKRh934vFpi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iTLVvsi9R?= =?utf-8?q?Q6FC9DbEcIcYUv0lEzpZPhC7tk8Ahb9nI6uoPMj6vIYcZhYXIMM8yLPV//4R8fUpb?= =?utf-8?q?vhREQqVnncYLWVaO2a6qbn+Vmkp158E5Lh7kPb0RmaRjJG8RvpWhLQe5PthnOoa5N?= =?utf-8?q?c9ggfqG2PYBNBbDJetcV4RB7DYaOkw2TXHrNfWOXvAssRO8iCDvL3ypRfiL+zxW0g?= =?utf-8?q?1cFIsicLbsp+2xg32Lk0kJDcIVF4nkd/MaMKmKwPkybKU9rIVA9U8SQvRWMuVT+vw?= =?utf-8?q?gVGublbk8F5VnHsw32b9wvHidCsGobOI9qHk9c8WYBXv0MVZn+h57sgA=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)(52116006)(376006)(7416006)(366008)(1800799016)(38350700006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?g2MPMaAve8mWY6J2cMAxYm26m30/?= =?utf-8?q?GK0suVXuzBqWFW8+WXz//CnXGbsLIPnLUOqO8PUJ7Km59R65M5zJGrHlZbZ358sd0?= =?utf-8?q?F478EXV9et3gCwsbSRs+h9+dIkqiezHdZkTifPe2AXpzb9N/YDslUErxhgkhEmpxU?= =?utf-8?q?97V5K93kO/jvAA38SFskJpvqlQ12T0bWOCkV9fWGNofjG+5n+UvW1yMGL7W9YCz0B?= =?utf-8?q?O4bwW9WgYLFRue5xdMDGR3CL8PAScOGbpyIRwsQGO6WyDQWbZtwicCBNZYWFneBSQ?= =?utf-8?q?33xN5nW3RKcYxoFSVvh3wakOkIRirxVzia89eYTL8oz/bOquik/br9Un1Kzrq/S9Y?= =?utf-8?q?9W/GdrzR2Yvrqrz0u/BzDP6fb2/zr07xM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MVChpA1utn/itKDddbkCPvIIb+YFs?= =?utf-8?q?Xa50W2H8qRxLL82/aIyDJjwqPZPM/WXz/W1OpgKQpSSwQaQg4hA3D2SMxRTWc+ER3?= =?utf-8?q?PJ4AI+Wrg+lfbHLZO0IY5hMEKE1qHb/t2fKK5lDYnpnd6a5ZCUM0NhzsyYnZNSlUu?= =?utf-8?q?0fNWbR/aMj6uuafaFNgqOJ68YcU11+Q7qDLt8CYChzEg7Wv+6FkfmU+tCyELHTn4x?= =?utf-8?q?2L3N7SvkCTmUx72bhnKFZ08mnmzzdozG7CvXIjSaIeorF/lFF/TnO+fLYpgV9AUBd?= =?utf-8?q?26zXFbzz5Y7v?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7fa11c3-4ca3-45f8-99cf-08dc8a2fe440 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2024 16:02:27.8321 (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: TDRwNs102ArRNQt4Cf+3um/pllzBXDGCRmAjj+SQMOOTn7xMuWYQ6dW9/70QrQJPPd1whRhLDJ96wbmIVWeUaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8005 According to common mmc core, voltages-ranges should be matrix. Signed-off-by: Frank Li --- Not sure why it impact other mmc yaml's voltage-ranges. --- Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml | 17 ++++++++++------- 1 file changed, 10 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..05815b837219d 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml @@ -27,17 +27,20 @@ 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 + minItems: 1 + maxItems: 8 gpios: description: |