From patchwork Tue Oct 25 10:17:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 652 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp924649wru; Tue, 25 Oct 2022 03:31:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VAoiG742Jse430zTfk/JR8CS3uqfhFjVfv7PpqEKgqI5kU5l0nGovqh7BnFCh4GIllrd2 X-Received: by 2002:a17:90b:3e82:b0:20d:2fa1:d08d with SMTP id rj2-20020a17090b3e8200b0020d2fa1d08dmr80903596pjb.162.1666693893563; Tue, 25 Oct 2022 03:31:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666693893; cv=pass; d=google.com; s=arc-20160816; b=c0djt9xIIibNQ2DbkKvfXhdrx7omDFcJxYpBRipRXO1UFWdgOge2ZjI4eDOOzBHAOU ALydEAKBoJqkflDnGUvStrCzVj+SspyDxe6vN9q/uwrlTYpCwu8GOad/Ow+F4QkX/q1n gCW4EWWVgtbEGogTIf14DXKKNUd5LqLykEKiUnOf1svOEbhvR0fcD3SVJxX6Hte39TUj VrPEYk5ZuqH+uik4yZFTl5yeLxt4/8R+fBGZeWK3TW5WU6utLcjhLZFe2zJTXsc1KKqi gh+1+IT0bL0DLwcXBJQdhuU0AZGIcpd9HB4PRU4O38vNBZ9HGyA+3G0+U8j1XAnl9a3c y5JQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=70vnxq1xQuAnjc6aYpSdHRgehWWGttkxloyG0WgUWXs=; b=tmClNThBYcdtIDVd9ACVNNA+5sR/cR5mlXscPD6wDDd+Im5qV/agj0oTaZEk8wYjE5 7KYMRkBgX2otu18V4dtvQsfohiRFwXcsOMXdKYeid7rF7Ie3i2Wt7dTBYq9CYlTKj6Oc VPix//PRMs8GcARG0VpbcEvf/D+T5DuLxP1A4EO/x8kv9dNHbuhUBPgzsDUJIUtpzKid WSQG9XPO1AL7jXHg9BmkFlyOUvY9C23abz0IaCrcNQpldEfEWeiRE7jMa+fhBt7J/KDr gwLGytB4qvhLMlUY9/P9/ny5KSTS2RUbaAWu59HX7g2Y5oO/Rw5YFTVtpiQ3WZvwZs54 jAgw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=nyGdJOnz; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=plvision.eu Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f22-20020a631f16000000b0041b7be8ef1csi2650282pgf.219.2022.10.25.03.31.19; Tue, 25 Oct 2022 03:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=nyGdJOnz; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=plvision.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbiJYKVn (ORCPT + 99 others); Tue, 25 Oct 2022 06:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232390AbiJYKVE (ORCPT ); Tue, 25 Oct 2022 06:21:04 -0400 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2094.outbound.protection.outlook.com [40.107.249.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AADC18B753; Tue, 25 Oct 2022 03:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JuVnKH3I6qRj5g5eAoLwADH+/fheWowZWVhn8QNWBmp4gU6b7ujQ9ICauOEbfnhzyMpYkmyph0DF8OBXM8rAVRfJa73YyTWKphurRafrSOYNSzfn4owZYjjeNDU4L/BHtRjWMJIr5ADyIbx90oeEOIasoQQCs4DC5lWVDSIBg+7dT6nApJI2Gr1BYkzsEfo3Nrancv95griISwO5Dlo1BS5bYRg3JSlvQiLc1v/OPbW+eVp+cmyvKWUDUapxZ97j6oSRUyx/+NxpeNSZ2aPndwyJ1+Zk1MATodmmnnSfgJjisOSzhxnLh1OLwOXXOcKEB2XF3wt16Ze+dmg9k8EQDw== 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=70vnxq1xQuAnjc6aYpSdHRgehWWGttkxloyG0WgUWXs=; b=iFnXM++ZKUgPkuTXBcZpBxftcMM+gU0YRjfnaO8rabavpOIykef3sWXUV5GTJ4jpimd0WxXj82ljImXDsxA/ihlzXYVpQ2S6GdcMmQ8/iH2TG95tv0sr3d534BnHOud122Td4Vnw7AudfyRkoHQVPN7ij5aYfNWhFBVVD+N4v92VwLVPtidD4wOcI0odzTq0xi0PBqy/D827qbz9Mtn1qFQceJDQgkRcYTTIE9z9a/GhuO5sgWRB8Vwz7Dux/z3iWASdAHaefdL/xTYAS9yD+29MRuws1v66+GpShxuj72xD9nnHZW5JUgppHD9/j8+h74p/vzBUylXao+5hVfJtdA== 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=70vnxq1xQuAnjc6aYpSdHRgehWWGttkxloyG0WgUWXs=; b=nyGdJOnzfC1kV8eD2NwQeIZ8W/xBV3Fnw7sRyW+u79M0CiMrcuZXOWOIccEKQMz5M3nhykm00L6+4GzDf7dimtqZymMOPdVZfXjjPKCz1Ju3TUOOPq1It1LIEr4GGNt391Ie0GAoCWa5VrWS7kh/yClxNa36yCSnehksDWp3ciE= 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 VI1P190MB0733.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:121::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Tue, 25 Oct 2022 10:18:04 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::2b03:a6ec:3529:b969]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::2b03:a6ec:3529:b969%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 10:18:04 +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 , Chris Packham Subject: [PATCH v4 0/2] dt-bindings: mtd: marvell-nand: Add YAML scheme Date: Tue, 25 Oct 2022 13:17:09 +0300 Message-Id: <20221025101713.11893-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: FR3P281CA0146.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::18) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|VI1P190MB0733:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b4fffbe-f267-4a6a-14b6-08dab6723381 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e6O8Xlcpgf29uzCr8u3Va50Gd87hQWPS1kNa4O+KLxGBkmZWRBWVw4Y2xd6PmqNFRN7NHlCRELwy1b8srzgctFwmYgw2r8pzIxT8mZrBAYre27ZC7nKmMQoiOyMvsdTBJoLw6OwFcf8k4C6RmiQ/iOM1x20nz+2gLR36Dk76Ch2eGFXr6xARunm9AOgMxfbs06VOGDDR4u+ZehcDdg3wr4/ZFFVsonKN73Tze1l3FEpZD+9uA1zmGTX5sCKlVIs1xfKcnF2/d9G/ZAzlREK3BrVMZWJstbIQmFnjY5oO0vsRuF9eF0Q2Alenz/3swex2miMZ2njIUMnTMHq/3YpHMnxpkC5qwjnnruzSStCGyvE4viA75krBIm/hrFeB/QLlTpxYKYXYE3eb3tPdD/Se8RZfVZlxkmeI04eG04G7bBubWYLv9Ttxl5kZBKUAfnm4ULQ12ujQAz3MLhczo3YMJpsQAjTFTGN1+0P1rA95gLt9nqx+Wdi4ZrZ8l9SlufiuPS20qVuvv6jwQHQ18Gp40Bni7Zs0VQPyG9i7Wr0Zgtdn+O98WyHr/Y/FGq/V03GRST28JU+aKXCyX6KqdcHR7DBZyXwPAZ65apm8VeaMvyywSng2UmGokVwqsElEFvFgrGSofpaUdFjKeeqSrBBP/rcXvyi/r0LefYWAvelKg89q0udysmCBQoYUyFYaBKqxy2EPFaOAips6uw6Ba8JWx7fRjeaioXq2eqGQlpA50tRf23NMgl9pYD/mhdagmvFOK0bwILlqLLmpi+Z5y/4ImKnrnJrDorlLmGfYPU67xpk= 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)(376002)(366004)(34036004)(396003)(39830400003)(346002)(136003)(451199015)(86362001)(36756003)(38100700002)(38350700002)(921005)(2906002)(5660300002)(7416002)(83380400001)(44832011)(8936002)(41320700001)(52116002)(6506007)(186003)(2616005)(1076003)(26005)(6512007)(66946007)(110136005)(54906003)(8676002)(508600001)(316002)(66556008)(66476007)(6486002)(41300700001)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7CD75MRpryd2mr+D7shX9E4+j3yGLekAheoXUMRRCQNZwzL9oBLrX9I3OoMiPxYY/+lqzpCnGo+BqSvsL4eUM0kM8yzCewDiB5JeFwUR1QJGz5OxTvlb5hgOHLgcZbaOaKGrVlvTs8ChRWNJfE1vSn9OzRw+L9WqY0dvnvRUaTj+WyIq+g3K1A+qBTXl0FAd79i84t55Pc2jPTXPVPB1MMdTeaN9zvTDZzNJcxx6jAtVsYqKFzaYGfWb1poGWQg+xcl8cZG1NA57/dfOGdLl4vYs56qW0tFlc+2nOQh/GGz3nPJZBhBNY6OwcKQ2k9eDRdX9GOa/dt5Fqvpy72bM61MYe1ajkkk8jNAO7CmGnMTBoxEJLC8nIipjP6+u253w5Xy4X6RNynk+uOWXIjL7LfPLAXNQi0cTCSga6hnfL0MJgDQn9B4fr46NlYjlTRBQV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RAUAaQ+p6CCLl53C5LftVSM8XD8/8BWVZFdNs3HWVZ5sgE3tohAwVYXyWSbOtimjYzLiz+ET8MAj9DCEaUqnX+ZICR3i5hq4LB54yA== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 3b4fffbe-f267-4a6a-14b6-08dab6723381 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 10:18:04.2970 (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: Q4NzygpnHpHi0nX8zCOzlUTmC9kQR6S0arRO5uHznC8hj56/1Dx8SKc3V9+ixP2FfTrywGiO8VN1ePlNSV6Bb7Zl4+98uyCR1AoqwxPi4JU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P190MB0733 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747655215920231433?= X-GMAIL-MSGID: =?utf-8?q?1747655215920231433?= Add YAML scheme for the Marvell's NAND controller to validate it's DT bindings. Old txt file is deleted, not included the compatibles and properties which were marked as deprecated. Also fix node name in cp11x DTSI acording to nand-controller.yaml v4: 1) Remove "label" and "partitions" properties 2) Use 2 clocks for A7K/8K platform which is a requirement v3: 1) Remove txt version from the MAINTAINERS list 2) Use enum for some of compatible strings 3) Drop: #address-cells #size-cells: as they are inherited from the nand-controller.yaml 4) Add restriction to use 2 clocks for A8K SoC 5) Dropped description for clock-names and extend it with minItems: 1 6) Drop description for "dmas" 7) Use "unevalautedProperties: false" 8) Drop quites from yaml refs. 9) Use 4-space indentation for the example section v2: 1) Fixed warning by yamllint with incorrect indentation for compatible list Vadym Kochan (2): dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme arm64: dts: marvell: cp11x: Fix nand_controller node name according to YAML .../bindings/mtd/marvell,nand-controller.yaml | 187 ++++++++++++++++++ .../devicetree/bindings/mtd/marvell-nand.txt | 126 ------------ MAINTAINERS | 1 - arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 +- 4 files changed, 188 insertions(+), 128 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt