From patchwork Tue Jun 11 16:01:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13693990 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 4BD50C27C7B for ; Tue, 11 Jun 2024 16:02: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=SBNLghoexbLYibOC/SaI59Q4BDFC9uu8apeKQR3qnwA=; b=pqv+1Zk4mjzY/tnyiIcYR9HkIu 7w09dF7L/kVqtunuAPWds2gTsYKMzmrgmD7p9g/IQwnU/cX5xI6scMR7Qxn1/6jTAchFzdu6JRCwy ZHGiTpcSjlmdT85EtoE1oCg7xRdQzYQr1MgQUqfOM3/41dPav/lCjZEj7l56nPYN4vjGKCEEp+mOM BqgRxdvmgDXQwRDBY31cBUI3oZUu3V/fS3mCV01qvtAN4bq1f4dVsoGO7pbND/kvmfqJdRZsQ3gl+ 23/qnDyW9m/y2tWNYf4Iy8t0pbCzh2zKlg2pJk1prtdtCQ1IWznP6Sg03mxeT8O4+oYeSNzbrIBRE R2tdukmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sH3xF-00000009QN6-34CY; Tue, 11 Jun 2024 16:02:37 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sH3x9-00000009QKW-2Cio for linux-arm-kernel@lists.infradead.org; Tue, 11 Jun 2024 16:02:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YqPRwYMozXz9NYLEvXCfSgqCL3je2+YWhFSqI2yM3pxlBNklgjcqhlo0Kpx8CgTvQmzeQ034B4eVwWVq2i5h0lY7qc2yIkHYEDqD0oOiZedhZUqA+0df0tppKLnvcvW6Q47CePsjJifvZPl5oCmnqTgN5ND4BvvW/R2u5+2Vi9ezJ9yt23gNkS5dkyJM1IxKtrK9gKTu1N1asBBuw8BIVgUE1V2G7BFvts1v/z66UiHeZwzaMQBBQoByGGXx6NfppA7kw2+JHqHwOIGQ2dWhgNccBiAhza5T+G67nMjLRiYuWjEzvdV0LdFVyKfTxlO9i/kKgNe0kYIbHBsMaC3N9g== 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=yRigU/HJWru8YfX/7aohN9dmxVgr27FaA++EasCOa3Y=; b=nabmFLw2cMB+rV5KVpY2xE/m/SmfpP03Oad9kMlzwJurgBAVkpNWElsBvwNYHNIu3LHqn+7gvCRlBA/d1BwP83CXFhxN9hoCarKMPyyX28js/jDqAZ4ekdSR9pMLus+5o3MpWJXP6vgIDaUhW976nRRVfJ5O2whayS2LgrRFVQ3GK5s+FkUnD7TVcXw3+0MZ1Goqu8pLEEFGaM5fFPc2xnLx452T9EdX9rvZ0H/rZ592RrAZk06+10dcXBXBkVDe4i7tVLaT4Gx+i/n+iCQVZ869d36d9THAHif6p5YqvUiiILKbOpxo8DUkJAtaGlSSpqKO0aaqStfHqoBI5kXDfA== 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=yRigU/HJWru8YfX/7aohN9dmxVgr27FaA++EasCOa3Y=; b=U1tDYV4fSLe3/9WTunOiFmsY0ujvPgJTBog9m7ZvelONVXisnJyKgwsQ8sgyFrk7Mc6lg5ouqDgnXvxrgQpMQlPQfqO2bRUOY2dvSrw/iNwHdt3wISBgABsyKE6eH86DV++UbdFMkQmZMHkJV5qhUfXc0s7SubNxMYUw7pYq6AM= 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:20 +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:24 +0000 From: Frank Li Date: Tue, 11 Jun 2024 12:01:46 -0400 Subject: [PATCH v4 1/8] dt-bindings: mmc: Convert fsl-esdhc.txt to yaml Message-Id: <20240611-ls_waring_esdhc-v4-1-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=6845; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=LKlyJXTL1wk9fiWDehxW2c7+JJzS3ilJP9FoltVBtQo=; b=IyXRqzfPQIva/eWVERwh6+e84Th1qiACcFNBOrWcSRnEfYrqVKNxkVrGXWutW4PcuVfli1u/V YvrpytHAojaAj/CCv3+iFxdL0TJqeuObOqGW4EGdwAMsXEQGgctpVhI 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8005:EE_ X-MS-Office365-Filtering-Correlation-Id: a7313f2d-4ac8-4a63-705b-08dc8a2fe27d 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?9nzPnnB5vYxSsHvvseBHhyYMJNG+wZq?= =?utf-8?q?4A4vvhf+5/QYFLBEqdHfB9V/EO9pyL1WE/GfgzpxSU7rpe9y3yK0s8UdmxEZJdSVs?= =?utf-8?q?ABF4wRO1o+ZGIrWG1ZkXzdw7hu+vnz+8JrbS6lAfDPrllVu6f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/9leiNOn00QND5/6IT6XzO1?= =?utf-8?q?wo2CnqR9USbHHshCmmZv7fSECqvQIteUvLU0MYY4+rladGWvBRA/S/ylsCAZ1Zb+z?= =?utf-8?q?z47Qa1N7Zi4TdjTXYvZDSoZvspHx0uq+HAcqNRW9NVTQExngyjRViYX8dkLFagsaY?= =?utf-8?q?8yALbVzCv6PFdRLi1qd79YOv4oycOG+AbjnbACOotJP1ULR7wyfXbukUGy09UVVO0?= =?utf-8?q?gEkJgiV1Vurw5d3Y/rxxtsBO+Xnul7Q2U/XWqJ6u4DhaJepUMlnvSX90n0dMtjBAv?= =?utf-8?q?BsRb8ODaLGFhl?= 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?fUTsB414fyetKUc8cswNQ4gqNu5a?= =?utf-8?q?kK6Nyv/Ba8Tibe0rrKayawUyzUvs+wcwIdVTR7jpw8TYGe0BqAcTJTWDDM6DeuHQ4?= =?utf-8?q?eXXCSiU3sWmrJWPUrLcdIGwU6YS27akwk0ADRaFvUM20Z7CHUkllMsXTIeLLFn5nG?= =?utf-8?q?GHWMnSTXe0xcKzELwOjnW8baDcWcJpCq30AtjunZz7xdJLI0yiWaz0fo9tSqpwgcz?= =?utf-8?q?3RTEk+8vpnLgIZypzQUy4nIFgDeZEWg3s1IM07r3pxn2ON3oKIfI+79FEV+DxxMoi?= =?utf-8?q?u2JT3Afgcx7knC3rACtplya9Qw5H49j1Uwv3NKaVmwtqgHwCjxPpdRAKuHz0/pTDI?= =?utf-8?q?Ytmzvc8oclRVTlqFsLMdaisCPQo0ZMFLE3r1YuzRd+iYp/9KV6hNcyk/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?QREHF9n+qMPQpf3lqXQtGT2ghc1KPGeOsb/PJjY1n80ngu33vTaVej1SFCPYL9y6n?= =?utf-8?q?MZVBOp63i1Y9kjsHmuwL0EzKAcPJ9c4GaNSpNVy7ivNO/LfCPhXs0yCzyaw8AGbu/?= =?utf-8?q?zwVi1dvpv7Kq6qsusOSNnXyX1eamL3Q9kYuYS6bgA+8ZFjJIZmNdQx5M+xWvr+pKH?= =?utf-8?q?kMeiKKSHwFB9kcng6C3opM83+lFiJXKkIMAqKAPkwMQzeYsD38TKVqUWSrDYy/dU0?= =?utf-8?q?JtZG2BLD1c+h?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7313f2d-4ac8-4a63-705b-08dc8a2fe27d 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:24.8502 (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: PbyQUbKNEtVcA0MhE97+TCYN87It9uetuSbq9CLip9un/0O1IaocvBRpZE9TxINYNwQuv+4T7Kqevs0wvDpBlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240611_090231_771906_D035362C X-CRM114-Status: GOOD ( 16.59 ) 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 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 Signed-off-by: Frank Li Reviewed-by: Krzysztof Kozlowski --- 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>; -};