From patchwork Wed Oct 26 13:45:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 13020653 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 D32D3C433FE for ; Wed, 26 Oct 2022 13:47:35 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fkjJmz7pWEbXU8PXrIPnuF9RtMbnt6Iq0Rhk8kSvSIo=; b=sS0Qh4pkf3fUEj J545krylnSuYZYIatVgjkGFVQ+rjwOC0Xi4zPWZqlrXHXw5f8q3NVE1PGNjtFiotPTUcNaFtgZvYT n7qc8lKCYbVbkaJmELgF7Gnw47u4rZCm8gkCFsK9I2HSzNwXAiTrzx857DBcikrn9reoEwCJpcauW BN1gji5kf4x/GtJsOkSK0bpPwMFHPdAvWzUspZmsSDrrkXBaYmbs7IcdqsJhcM4mtcXH7Y80X9sKf S1m/JwW++H7shu8WpDI4As8e2bxFrMgC3xgsglSQ16WpKb+VWxdVkUzSZRvBMrUTNk0jrxXxiACCM dUmr8zVW83xKl5ygMQxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ongjW-009WWT-EL; Wed, 26 Oct 2022 13:46:14 +0000 Received: from mail-am6eur05on2105.outbound.protection.outlook.com ([40.107.22.105] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ongjP-009WUD-A5; Wed, 26 Oct 2022 13:46:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cf6jmaKXXi1xLGaY27atJy9f+0zMezWC7qcPG8KFSDoRqJh4IYPoFgjIPW2aNxS6Md/JOLwck9Jdf2h2mD/8Ob9MQWZcCv1/OAKGs28tOglDOQBA5lQGdzPsihyFs0X4hehY/xXzJmgwrMDq8liuBbVrCISp0EyvWoevfCXzXn33bG/ETG7aiMx4/p1RYuLTps8E5hqtmrjfQ/dtfYTJP9DVlfl4Kdkg7Chbk7DvHcEk+rljqXKEQH5WI6RZKz0WXApOSr6DceFnpviL4CbLqFMIKNl74TfyCXjh6Lesro9h9CCYJ6Y2r2g+JyfNb8fyXdiNBeywqOvh5WRxWuNxzg== 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=cehBbaLsgKTVT3bH7JgyY3iuHVHuBK24delBQuBwn2o=; b=cAVsyQ/RtfGoKvf5fOsLK0T/h2sgGqIEC/rSqUUKfA8hFR4bxNsUyON/M7swyNWUlwk8YZNhLE5WUTb5NRH294Rg9qLptQmwmKQUm2hRMK+h7/Cjlsi8tS0b7x+QMUeB1L4MIHIwyIr4iZJ5TA0nSl14+PlKK5UFOMkKg8pVJNtta5WC4hv2mI8op6buoSEzryiwZDwFSQmrKc758KprqFpifK6GdyRdITMCGqstLNmRbA+ofWyTfZ7x3DOTpnBHldmaxdRDVFcyzRoo6qwbWi/IOzQFusOLenmrwI+ngVWDEPZhax9E4ERb5b0kcmaXXNzkIq1ZN0FX53K1NJIW9g== 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=cehBbaLsgKTVT3bH7JgyY3iuHVHuBK24delBQuBwn2o=; b=KLfpu49tN6EFYh+Q0UoN69V92upGw60NWjjluw1QpQqlvAMdHnHQfVjpCXN4qntodghS65Ln2Eb8907nepnz3V6PsjKxUJr+MB0V1E1kab+J0QoaQxI/glBFc28KHtIAbp2iNsY/yhyG+DhhqCWVbqsTGcc856/sB5zUuFRaIbE= 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 VE1P190MB0941.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:1a4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Wed, 26 Oct 2022 13:45:59 +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; Wed, 26 Oct 2022 13:45:59 +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 v5 0/2] dt-bindings: mtd: marvell-nand: Add YAML scheme Date: Wed, 26 Oct 2022 16:45:41 +0300 Message-Id: <20221026134545.7146-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: FR0P281CA0150.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:96::8) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|VE1P190MB0941:EE_ X-MS-Office365-Filtering-Correlation-Id: 7211871d-b0e8-418c-f14e-08dab7586a1f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FPk1qQhDG9HZe7lILR4OM5zOZVY7a+XOvqjAwzmKVTJFFGX7yoynu/zoUZNy58bzNAOlrhDbesR31vk1bQt4MT6Av/YekGOKzc7ha+Xh3r3OofJaj2Myb2yUl0x1pmMKuHv3W9NxdQrobl53ukX59GI6o9crHmCN8ScNpaj6NTDSzBg3pl7ERQCeZ2gXqzqXqtHDaxeH2oDuOVdPLHR/bPG0JB8N4pNSP2ZdnOmkIqPUnaG0X7jMTe0kOqnxm58Av/79dSN2H/wYO1xrMruB+GGZH98mXMCySsLgrfC87C6M+GYel9yZSU1YRdchyT4lkpbtQQ8RZkNODK6tYJIotZYV3CGo9JB1U82rAAzsTbo+4DJwtVwx5q8etHodk0BWjk/iGKkeNgE3SSY+YAw9DefJOgyfRiZWHE4IxK5RzdO2gk04/yOexEjjWLu6i8Js5Mve4LGXrkcgB9NK9bkRXkOFvNGZwcqf/eowjyUTxXJY6ex875G2vy8fq1X83O2bNLhB7G+Y5W4Lzo15QIaMnhHDg5VF0RAz5mp2Y63wd4fuznl/rzVInL8P+zrTTeg5lnSAZzv3J3jkADwkczgFUv9kWxzXk90oAL89oqvALuTIQEymQbngdlv8HGmoNZq/umr6nHwKX6LT9qJRo4XweA7vM+ltv7qNFlS0sSG1s2VMRV2sJcTcPmmQxPL+bFd4t2WoEXMAJg65TfFAsy0thoCltES5/hKlV52l45V1n2MDwcr0Ulm0Soo9GKyg26q0+28qFIZ6idw1Z+CEtZzFWg== 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)(136003)(39830400003)(346002)(376002)(34036004)(396003)(366004)(451199015)(8936002)(66946007)(4326008)(66556008)(8676002)(1076003)(41320700001)(66476007)(921005)(6666004)(38350700002)(110136005)(44832011)(508600001)(86362001)(38100700002)(6486002)(36756003)(41300700001)(52116002)(2616005)(5660300002)(7416002)(26005)(2906002)(6506007)(186003)(6512007)(316002)(54906003)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2xMYPKkgxpXyUYg/AwrtzC5GdamtfI1/2UPmQ6Fgv8exwiwqkbMUpiL+QyuZ6mFZpAQeG2byp7bnPSecPV8bGDiysDcivhcJKWbjSCEzauVeYu0A4mlpLde0kDCwjsAhkOx4LJNIrnkkfwabOVmUrRGqpjSNKh5uJognCP7Y4BDO58NWpm9gAJ3mnidla0KTD2i1t5Zlhynhh0kstaCbnFMXWMEiow2aYzaB1+q1jNCzsLI8NWWoPRzHOcNGRmXSUnt362+RdwCglxioTxQms1XY+MXWKFoecC9Rc1Gmy3yHbMRNBK/eZdBfzFxUB/agTqNL4tdQi+7ViDKZdmU1IlCD2y1kW5e+9T0/7a8aEXF5YuAH4zGHio7Xf2bUJwhIpPuSTyrxupLKvxueKfY7DxNHfkupgyo3IdOlkIeUiYG5O/yjtMmD9rTd8gJqcemfRFIPsAwFnSI+SjlSJW2llLhnWVtfS72GksJ3YDNOO8MWHUMhos42g97AlK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ENJbu48LQ0Ram3A+NIINlKBDaHSvhA== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 7211871d-b0e8-418c-f14e-08dab7586a1f X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2022 13:45:59.3235 (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: PGlqrNkTBTxEB0FBIM170a4K/mEa8ZlUVk+bBGVfJVy668IeBTtzM0U8u5ply/9/IEatvp6KL7vKg386IIbGLsEcxQBZha0EM/yn3pGmrp4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1P190MB0941 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_064607_596208_CDB286BC X-CRM114-Status: GOOD ( 10.54 ) 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 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 v5: 1) Get back "label" and "partitions" properties but without ref to the "partition.yaml" which was wrongly used. 2) Add "additionalProperties: false" for nand@ because all possible properties are described. 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 | 195 ++++++++++++++++++ .../devicetree/bindings/mtd/marvell-nand.txt | 126 ----------- MAINTAINERS | 1 - arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 +- 4 files changed, 196 insertions(+), 128 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt