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: 804610 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="J7ScDJNq" 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: linux-mmc@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+8Dvmh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XiJYwMCvirYxDQYP?= =?utf-8?q?Ry6GWIq1psYnA52Pnf1cWJO+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+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q?asTNSUYphRFe+JE0Bf5RnA7rRDVprqDvTj5TSqUH4cGjolQojUFZZ5GSKda+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>; -};