From patchwork Fri Oct 21 19:45:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 617256 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D54AC433FE for ; Fri, 21 Oct 2022 19:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbiJUTrP (ORCPT ); Fri, 21 Oct 2022 15:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbiJUTrO (ORCPT ); Fri, 21 Oct 2022 15:47:14 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2133.outbound.protection.outlook.com [40.107.103.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C41C62930BA; Fri, 21 Oct 2022 12:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eien89ZotiRI9VitqM/UUgEK7++ZesQfGa2ryAYREAVMRjT4FONR0x4NJ3HnKlhc9DXRSqljEXtzLfO8oi7jx/KfpOlO2TI8arh8AmmBMZPtbGVhaIqMtAKSU8NQVswdMmRmnAoTh6/7mtdvEbWif31OSEFiHeyl/4IjlzHieqqattsuMVi1joH+wIrZWIZ4ABRNMk3MiCl2Qv8Fuzmssauk3WRlei86INzOEPQrBT8r9Um9Z/cH5RkMzBVJTv7Ke6oCYqzfU9qwvb653HL45CdGMLSAX9CHAo6g8YJsrr/zbZXt9KXyemoopyHC6JUMxo5V4l5YLWX1o/e08DggyA== 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=P/xfbaDNHxdjfu09gIfamRX6kD8CHGJbFPRQ61Q/5GA=; b=MoEoxw0yrFy+lN0kD2AlUcmkRp1VFZENDbSShvYxQtuKSxPJym4IWRG0IEBb8BIrOPvqVrYRBVGDTDH4jA4zGdnSAQBd7blKkghhtTtpUbg+cqhtGiaUpTtFBqXIxuxx1LMpgWCVg8NHAccE3uc4CH37HUzHcXecLkgj8BrEJ+y+0+vku6wu3iNDcB+mb6nSzovv4uKrxwnWWaqk8W6k3xGzMhDAeTENpllTBM+pG5kLPlq2ZNDG5Y+7bzy6ecl640Qkk0rzErAXd5A36bUbK+TtcM9b7ks4UOUYOpLIG4/fbOkuyd8ButMf5UEkywji0r45lXAPU2lMd3UISUOrmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/xfbaDNHxdjfu09gIfamRX6kD8CHGJbFPRQ61Q/5GA=; b=dx8ZfEGVPaVV66Nu2H1E3ofNb80jlZQAxvcEHoh3vd/GegwzLi8iS895gzGEfghpl878i8Nx7ObZYnhuCbCxptxU8r+iSIxFH+LQRIwBbLn/xrFNr4oQfcSx+vnfyjrOvonhkHCTc4CgVaMVmjVZtcZSsqjTrDCDCFOx7AVuA8g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=plvision.eu; Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) by PAXP190MB1719.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:281::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Fri, 21 Oct 2022 19:47:09 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::a621:b61f:de56:b8]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::a621:b61f:de56:b8%7]) with mapi id 15.20.5746.021; Fri, 21 Oct 2022 19:47:09 +0000 From: Vadym Kochan To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Elad Nachman , Vadym Kochan Subject: [PATCH 1/2] dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme Date: Fri, 21 Oct 2022 22:45:49 +0300 Message-Id: <20221021194552.683-2-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221021194552.683-1-vadym.kochan@plvision.eu> References: <20221021194552.683-1-vadym.kochan@plvision.eu> X-ClientProxiedBy: FR3P281CA0131.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::14) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|PAXP190MB1719:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e0cba34-cf1c-47be-098b-08dab39d0ab4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FVTNm5Y/QLnyFoDwE3TGflj0EaZnAgVJ/+nLbTMwp8x0zCiVWjYns5WdRTRgdLWirxz+DaTJmaMR9NQA13YAFUIueXotMGa3dFOsMQV4zg850IlYuR3KZuyOOmt4+rXaPbc0GOPyARnyG02/Z1H2HqpzselL6263M34h2Pkbl988RvzAMgqe+jLfT/5leE9feLqyKzdlhuJMdOheB8PxiUohnHZwDd8DXkVxnfeEGkcWgOu7XMyscsHg1QpTme2efzTG5AFohF7Bs9WPub9G9DFQA5SRpXAwhCxPM5sABQTisASEkfH7ROQKLmaABXRhKqlUPBoDRAa9F6tFRJQIXcI/zHYSZ1I9gyHu7X2ek2JuUgIvcx1+ndmagbuBohrwXhsbaZ4xqK3ln0qtlLRRY+wEh36iVe7oxnB8bueO645IfDQv+teLJxCE6K9c94MuI3KLXdNTko6My0LA/znYWG8xjHXq9WSXcTy0wwXIZUuT863u+f4NXEWdj23nnsmituGneFNI2WPFV7DlWDGWBoVaYl111qH31cEDbMOxBdltJ+Fm+qq4IvZzuEJO2SUokxTFG5dqBm3oDMzgN+srAilDEDYYc1D5b2aRcONGCNIZqQr5V6sOCAtDuc3cvi4ONuoUw2gSCVrlZt5MA6SzudBZ+Rk4d08eTzT3cIhRjiWT1GLvOJAvxlfsO5Hnlrcg2Rk9a/OuT+sBlTCBESF8MaHICs/4vUjJaINN6fv9L8k6piFBFfQ8F+op+LJLh7mx8++p8w3CXe8d9juJ7lJKx0p9k55PJclm5/yxh1M/8P8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1P190MB0317.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(4636009)(34036004)(39830400003)(396003)(376002)(366004)(136003)(346002)(451199015)(5660300002)(186003)(8676002)(2906002)(26005)(4326008)(921005)(86362001)(2616005)(508600001)(66556008)(38100700002)(36756003)(110136005)(66476007)(6512007)(38350700002)(107886003)(6666004)(66946007)(54906003)(83380400001)(41300700001)(316002)(30864003)(8936002)(41320700001)(44832011)(1076003)(6506007)(6486002)(7416002)(52116002)(966005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-Ch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uHAtQqyNIyvYCrlyaNwBUUXn/98PHcHKrlgk6smTM75oSJ9EcEUPPDs54ZIfnhvheEnVx76E/ZBu0f0NoGKOpiB6n3p8SA9aYwAknINf84dmAqxDe/pJHrV3zwuUpp62Y+1bs9ENZVpaqfFTNc+ATdKiD7kDb7sfbh9iH8uV7VIUIQUAutiAaqAAzqhPbLO7XFRQp0zyf2ZZC4kGVp3Fw4ySAN+691/MxBXSLqhi3nYqkNOxGs6u93ok7JHHBYjsDaRcyj9Kle6eHL4UB5g+EnAqlDIyJe7+WHgi/bElBSZ0rMVm7APzMxsXJ8buvpJfi4tkJ8dczjnLFToToC0tjHDayNrHQ9inLpG5oXx2D3JB3iR59UZXW/lMHcS9HT7MGGuZ5yyCmy3HFesYy2jeedl2A9WO/SX9bryYss10w6hC3vw2WWhlkKpHb+LkAaFVXlE9/iNp8180qrr+lYO3C0JsusAb+bc7xx7XqQhJS34uNB4YTUflszv88TnN4dXv13HJAx/nBDHCPDHzJSO3gKQBFKCklOJ/M+Bxg4/z6402qha747WGp8rDLI+ldpDTm3tbmA4mDA== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 2e0cba34-cf1c-47be-098b-08dab39d0ab4 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 19:47:09.8248 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sRaJdUahpGqFXwA9ApRj1NHVHbPDUWhrR91rezxgxUhk3OCF0WuQfrdjzz9XVdSDMwN6o7LP7j9kl7irWUcapPIaLoQNOOD77XuWpKmtRqI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP190MB1719 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Switch the DT binding to a YAML schema to enable the DT validation. Dropped deprecated compatibles and properties described in txt file. Signed-off-by: Vadym Kochan --- .../bindings/mtd/marvell,nand-controller.yaml | 199 ++++++++++++++++++ .../devicetree/bindings/mtd/marvell-nand.txt | 126 ----------- 2 files changed, 199 insertions(+), 126 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt diff --git a/Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml b/Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml new file mode 100644 index 000000000000..535b7f8903c8 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml @@ -0,0 +1,199 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/marvell,nand-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell NAND Flash Controller (NFC) + +maintainers: + - Miquel Raynal + +properties: + + compatible: + oneOf: + - items: + - const: marvell,armada-8k-nand-controller + - const: marvell,armada370-nand-controller + - const: marvell,armada370-nand-controller + - const: marvell,pxa3xx-nand-controller + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + description: | + Shall reference the NAND controller clocks, the second one is + is only needed for the Armada 7K/8K SoCs + + clock-names: + items: + - const: core + - const: reg + description: | + Mandatory if there is a second clock, in this case there + should be one clock named "core" and another one named "reg" + + dmas: + maxItems: 1 + description: rxtx DMA channel + + dma-names: + items: + - const: rxtx + + marvell,system-controller: + $ref: /schemas/types.yaml#/definitions/phandle + description: Syscon node that handles NAND controller related registers + +patternProperties: + "^nand@[0-3]$": + type: object + properties: + + reg: + minimum: 0 + maximum: 3 + + nand-rb: + minimum: 0 + maximum: 1 + + nand-ecc-strength: + enum: [1, 4, 8] + + nand-on-flash-bbt: true + + nand-ecc-mode: true + + nand-ecc-algo: + description: | + This property is essentially useful when not using hardware ECC. + Howerver, it may be added when using hardware ECC for clarification + but will be ignored by the driver because ECC mode is chosen depending + on the page size and the strength required by the NAND chip. + This value may be overwritten with nand-ecc-strength property. + + nand-ecc-step-size: + const: 512 + description: | + Marvell's NAND flash controller does use fixed strength + (1-bit for Hamming, 16-bit for BCH), so the actual step size + will shrink or grow in order to fit the required strength. + Step sizes are not completely random for all and follow certain + patterns described in AN-379, "Marvell SoC NFC ECC". + + label: + $ref: /schemas/types.yaml#/definitions/string + + partitions: + type: object + $ref: "/schemas/mtd/partitions/partition.yaml" + + marvell,nand-keep-config: + description: | + Orders the driver not to take the timings from the core and + leaving them completely untouched. Bootloader timings will then + be used. + $ref: /schemas/types.yaml#/definitions/flag + + marvell,nand-enable-arbiter: + description: | + To enable the arbiter, all boards blindly used it, + this bit was set by the bootloader for many boards and even if + it is marked reserved in several datasheets, it might be needed to set + it (otherwise it is harmless) so whether or not this property is set, + the bit is selected by the driver. + $ref: /schemas/types.yaml#/definitions/flag + deprecated: true + + additionalProperties: false + + required: + - reg + - nand-rb + +additionalProperties: false + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - interrupts + - clocks + +allOf: + - $ref: "nand-controller.yaml#" + + - if: + properties: + compatible: + contains: + const: marvell,pxa3xx-nand-controller + then: + required: + - dmas + - dma-names + else: + properties: + dmas: false + dma-names: false + + - if: + properties: + compatible: + contains: + const: marvell,armada-8k-nand-controller + then: + required: + - marvell,system-controller + else: + properties: + marvell,system-controller: false + +examples: + - | + #include + nand_controller: nand-controller@d0000 { + compatible = "marvell,armada370-nand-controller"; + reg = <0xd0000 0x54>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&coredivclk 0>; + + nand@0 { + reg = <0>; + label = "main-storage"; + nand-rb = <0>; + nand-ecc-mode = "hw"; + marvell,nand-keep-config; + nand-on-flash-bbt; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "Rootfs"; + reg = <0x00000000 0x40000000>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/mtd/marvell-nand.txt b/Documentation/devicetree/bindings/mtd/marvell-nand.txt deleted file mode 100644 index a2d9a0f2b683..000000000000 --- a/Documentation/devicetree/bindings/mtd/marvell-nand.txt +++ /dev/null @@ -1,126 +0,0 @@ -Marvell NAND Flash Controller (NFC) - -Required properties: -- compatible: can be one of the following: - * "marvell,armada-8k-nand-controller" - * "marvell,armada370-nand-controller" - * "marvell,pxa3xx-nand-controller" - * "marvell,armada-8k-nand" (deprecated) - * "marvell,armada370-nand" (deprecated) - * "marvell,pxa3xx-nand" (deprecated) - Compatibles marked deprecated support only the old bindings described - at the bottom. -- reg: NAND flash controller memory area. -- #address-cells: shall be set to 1. Encode the NAND CS. -- #size-cells: shall be set to 0. -- interrupts: shall define the NAND controller interrupt. -- clocks: shall reference the NAND controller clocks, the second one is - is only needed for the Armada 7K/8K SoCs -- clock-names: mandatory if there is a second clock, in this case there - should be one clock named "core" and another one named "reg" -- marvell,system-controller: Set to retrieve the syscon node that handles - NAND controller related registers (only required with the - "marvell,armada-8k-nand[-controller]" compatibles). - -Optional properties: -- label: see partition.txt. New platforms shall omit this property. -- dmas: shall reference DMA channel associated to the NAND controller. - This property is only used with "marvell,pxa3xx-nand[-controller]" - compatible strings. -- dma-names: shall be "rxtx". - This property is only used with "marvell,pxa3xx-nand[-controller]" - compatible strings. - -Optional children nodes: -Children nodes represent the available NAND chips. - -Required properties: -- reg: shall contain the native Chip Select ids (0-3). -- nand-rb: see nand-controller.yaml (0-1). - -Optional properties: -- marvell,nand-keep-config: orders the driver not to take the timings - from the core and leaving them completely untouched. Bootloader - timings will then be used. -- label: MTD name. -- nand-on-flash-bbt: see nand-controller.yaml. -- nand-ecc-mode: see nand-controller.yaml. Will use hardware ECC if not specified. -- nand-ecc-algo: see nand-controller.yaml. This property is essentially useful when - not using hardware ECC. Howerver, it may be added when using hardware - ECC for clarification but will be ignored by the driver because ECC - mode is chosen depending on the page size and the strength required by - the NAND chip. This value may be overwritten with nand-ecc-strength - property. -- nand-ecc-strength: see nand-controller.yaml. -- nand-ecc-step-size: see nand-controller.yaml. Marvell's NAND flash controller does - use fixed strength (1-bit for Hamming, 16-bit for BCH), so the actual - step size will shrink or grow in order to fit the required strength. - Step sizes are not completely random for all and follow certain - patterns described in AN-379, "Marvell SoC NFC ECC". - -See Documentation/devicetree/bindings/mtd/nand-controller.yaml for more details on -generic bindings. - - -Example: -nand_controller: nand-controller@d0000 { - compatible = "marvell,armada370-nand-controller"; - reg = <0xd0000 0x54>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = ; - clocks = <&coredivclk 0>; - - nand@0 { - reg = <0>; - label = "main-storage"; - nand-rb = <0>; - nand-ecc-mode = "hw"; - marvell,nand-keep-config; - nand-on-flash-bbt; - nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "Rootfs"; - reg = <0x00000000 0x40000000>; - }; - }; - }; -}; - - -Note on legacy bindings: One can find, in not-updated device trees, -bindings slightly different than described above with other properties -described below as well as the partitions node at the root of a so -called "nand" node (without clear controller/chip separation). - -Legacy properties: -- marvell,nand-enable-arbiter: To enable the arbiter, all boards blindly - used it, this bit was set by the bootloader for many boards and even if - it is marked reserved in several datasheets, it might be needed to set - it (otherwise it is harmless) so whether or not this property is set, - the bit is selected by the driver. -- num-cs: Number of chip-select lines to use, all boards blindly set 1 - to this and for a reason, other values would have failed. The value of - this property is ignored. - -Example: - - nand0: nand@43100000 { - compatible = "marvell,pxa3xx-nand"; - reg = <0x43100000 90>; - interrupts = <45>; - dmas = <&pdma 97 0>; - dma-names = "rxtx"; - #address-cells = <1>; - marvell,nand-keep-config; - marvell,nand-enable-arbiter; - num-cs = <1>; - /* Partitions (optional) */ - }; From patchwork Fri Oct 21 19:45:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 617551 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C465DC38A2D for ; Fri, 21 Oct 2022 19:47:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230324AbiJUTrR (ORCPT ); Fri, 21 Oct 2022 15:47:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbiJUTrP (ORCPT ); Fri, 21 Oct 2022 15:47:15 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2133.outbound.protection.outlook.com [40.107.103.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C5952995D1; Fri, 21 Oct 2022 12:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kMdvV7s14r9LVFA4WWS/MTVDXYgu3bL8h6rhd09xvVdLWS6KQOAUHFC1iJVBpQKa4jVcUgfatuU5DzKcWAmpNfNXKiMQgLPJY/GwOIGVq8iQOP/8GikNLp9K/gI2XKvdKD28irBXne3YgbrlWx5tlbmeXdiUBWZbTN9P5H/eQ20TraEoEK0KY8wDMtJqYSqXYjA5bYRuUuHqYUM4HDi1J60qWthUcZM60l8lcaWQsFGRX4BszzHsQWGAEayGML8+NuI3LOqBeA55252qWEDrJ5rX7HM7a7wScdQTXpK86/NFWr7qbaOcWl53ejnVercRDKwBCwFa4eJWPHcBus0X5g== 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=bT3zKk5OE9MeHqRlwAWA3oRF6Rlnl/yzQNBN+2ksvzo=; b=KdzCl8rz8X1/hufYkNAUKI5nh6NrmjP6UTGLtaz+6Qt7OdGlTKH8QkckFMLS02k1g56xp4iT/A7D0dBIvewzopbGJ3UrlGwqNtRL0O1gfo99iyqQwJUSU1rs+oSNtEZioAj1+WAGk8wttpCxWwtRqwU3FnnsDi9YDLkCHxeR4H+onCJWYz189YlTx2Jl+YW7D+YAP6wSydvB+dGicAXHrYFJIjGkd6LvadDorDJaJw5RtKZJ+SDK1KWkC4hwkmT/ZBCRudLsXR5r2skR4tJQDTM7hPdMc92YTl+ttUX2MzBW6c48p8YO7rSxiVk+9li1MFA51YhNos04K2/gRGKmtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bT3zKk5OE9MeHqRlwAWA3oRF6Rlnl/yzQNBN+2ksvzo=; b=keTz0JlaCay01yW6E2mFvzPz+jPuUUzTkvuD9pt7TU4d8t9ayqD7Upt47qJVd19tXx4TiwSPjpRgy0KYE01ehj805ib8Xh9LjwhZJgQrUTdGmoEC6QaituzmbX0/0GbBijDmYnZ8DZXJTxj5ihEPctv8q7pNjUgX1kn44lm3iOk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=plvision.eu; Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) by PAXP190MB1719.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:281::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Fri, 21 Oct 2022 19:47:12 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::a621:b61f:de56:b8]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::a621:b61f:de56:b8%7]) with mapi id 15.20.5746.021; Fri, 21 Oct 2022 19:47:12 +0000 From: Vadym Kochan To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Elad Nachman , Vadym Kochan Subject: [PATCH 2/2] arm64: dts: marvell: cp11x: Fix nand_controller node name according to YAML Date: Fri, 21 Oct 2022 22:45:50 +0300 Message-Id: <20221021194552.683-3-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221021194552.683-1-vadym.kochan@plvision.eu> References: <20221021194552.683-1-vadym.kochan@plvision.eu> X-ClientProxiedBy: FR3P281CA0131.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::14) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|PAXP190MB1719:EE_ X-MS-Office365-Filtering-Correlation-Id: 238d46d4-badd-41c0-2afe-08dab39d0c42 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ViiMWcZcmTtYU8sOK2uHnbqHVLW7QcK0Xp0w6fhNy2NYDzufVRycDhdoERgnlQLuid/c3mJZii9Scgbgh7Ni4n5GZnoh86Cbi5HMx5T2em7OR/v9WvUmI9Sw3qGWVsvjv6lejxMBGiZv3tmEnuhmGzCmRvKLIpFPOnnGB9TCO8JiAG15/eCVJ8ce5oq807zsIBa0qhEFaSVFhMRgT+foqzXUW3x8XmyYox3Wqnn8zsXFjBPf+RaW343AojW0ONCB4gla96TjUXJF0ZDWfhd++Y7yimf5nWHhB8ePfQb+FpueFkBQ1CGfnW64/LrRyTBJFgigUgRDZQSqrNr1I8BqlLNMfFleoQ3asu8leC7pyLIhF8WV6rxJIMKYqegHp7fbcFGjTdx8Ulu86TATod5a4wzjfLbMrW5WXxm780tA0v0cKHhBOyiGkBBA0xklCEuw4VWeDss/nYZScqpW9spvMjtbc2cy/rArrBEQOT2VIwKU8ks4+7MqHYV2SCl3LJd88vGCGM07Cq9Gh9XLQ5k3/0+HHeHxyrlJFBGVGEXoSjEN7niWglKmvjVQihw2htXJT2rgFc0r0K0nND9BkHzyu58rv1EAwVGA0gY5iglHc68Plo81h5IB/BYEOj/7NlXiUuXBaoe/quPkM8W72u357M6v1UQ7Sau9Nq4srgpWe4UkUneZDaW81VwZwF9nj3/rXZaKNA73lwziIwZVIC9130RgGmJaIaQBrzXTssGXSSu+BTI4vahvS316hyHX3ZNsx9DgZy5NrvKRK4pgo0/Fug== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1P190MB0317.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(4636009)(34036004)(39830400003)(396003)(376002)(366004)(136003)(346002)(451199015)(5660300002)(186003)(8676002)(2906002)(26005)(4326008)(921005)(86362001)(2616005)(508600001)(66556008)(38100700002)(36756003)(110136005)(66476007)(6512007)(38350700002)(107886003)(6666004)(66946007)(54906003)(83380400001)(41300700001)(316002)(8936002)(41320700001)(44832011)(1076003)(4744005)(6506007)(6486002)(7416002)(52116002); DIR:OUT; SFP:1102; X-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UDAnA8W9NpNi3PLrhpTWyHGeDnw5kmJ8jOq0OmdxixVKq4ltqKFE/mxFMNNf5Jhxqej0qIOpsb5n4TzevGWN7lI+MGaFNu50e2WgU7BgsyI9+tcj8ASrsfxyJutgeBkjuCzTLVIGBVTfQk9KvZdp5ioK9srwrSJHrvATDWAywz0aAW7Krzor399JPyvEUeJWGMSMvdN63seKIT1aQyCHZOGvl+sH7qVybvBsMuithgEWJmi+gnlf6NUFXYajH9mVtZqrj4UULx2WqTpSzDYiGoaFxIRGzk0DAKsJsZ9hlp5Ocg2qVR+legSPwdZxWw40TBoAlv6f33htBJ2WTp8Tydxypn6zuZtK9vx8dsFNXYYBOPAE/8GO5h9pGYgrQaUNZISj1ixd8GaZRLx+V6pK/aTF+RSynxMFtflkf9Tmp0Jmw0WzsXSeCcUyjb5IAxoTBotWQXDFVyAMgq0ksWUgPmS+U5pXXyOAVrcKcV3n8OFAFLhg+n6WypXRq0Mfxrk5M6WPmzAf2TGxXurDOAiE8AxlDJ9HAGWaBYF0Vm9JStMuz72sjIxCPuho4vNtTGUcfUhw/njGSBF4+2QLQtAEdUPw== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 238d46d4-badd-41c0-2afe-08dab39d0c42 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 19:47:12.4496 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bJrVXvurJ7qCQrKcV1BKlwihYpeHIjgSnTKQxLbAfuZerjD13TAPFz6Elp+pTud0XYxurRFOAsL2f6wuIMraYVCYUmCjfQXpjurSUbFceUk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP190MB1719 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Marvell NAND controller has now YAML to validate it's DT bindings, so change the node name of cp11x DTSI as it is required by nand-controller.yaml Signed-off-by: Vadym Kochan --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi index 7d0043824f2a..982b180b33e6 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi @@ -468,7 +468,7 @@ status = "disabled"; }; - CP11X_LABEL(nand_controller): nand@720000 { + CP11X_LABEL(nand_controller): nand-controller@720000 { /* * Due to the limitation of the pins available * this controller is only usable on the CPM