Message ID | 20221026134545.7146-1-vadym.kochan@plvision.eu |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp278094wru; Wed, 26 Oct 2022 06:49:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/7bSFO5MHpi3BUKBg7iegHnUoYiDT7h2xd7d7X9Zz7pKn3C4tWVNLncjhEy59clKNQwQD X-Received: by 2002:a17:907:2e0b:b0:7a7:d37e:4650 with SMTP id ig11-20020a1709072e0b00b007a7d37e4650mr14956710ejc.261.1666792171723; Wed, 26 Oct 2022 06:49:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666792171; cv=pass; d=google.com; s=arc-20160816; b=HIjXV6sqy41QE88ckjlZBy01GZvUa/YnNQKUzjftA6F+ltjY6w2sh/31hkOtvzW/K+ S2kapB3o9e4QpmfpOJIUjrPK//MOHauZSoqBO3ystBmnjXE0l3furE/g/nGEhbbC6nSu hOUutlAHEEAqau9dK0J68iBJOZ06Ucr84M50fn+6855MNv07owuc5dsdzE52rSoJIP/u THwQXCy65QI4gXdQ1371V+1CjSLasUUyL2U4VTdraWwo9FXitbXj7k9jqtOKXLMZNoFp vm+06VU0MC+n+S926RfKfBY8mUra4vMBhXgFvIIo/gmeUChK9elLILUXgojAKKsB6k2G VMiw== 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=cehBbaLsgKTVT3bH7JgyY3iuHVHuBK24delBQuBwn2o=; b=XuyjgQLZmA1dn/fdoKuZBPdUyYDdrg8ZIm9C8tiAqIrtqjvQgsPJJl3b9TR70FPD5g ZqB/4Whv7Lde6E4c8qrwZKenooMpQ05Y3QaRwST1MsSCFt/6WcA+e0a5HaX3Z1mmUJaw daNXOUAJxYQuPvaly61fC5XQNKFmrFYkg/M5kjoChK9Tr9hMkZp0VSWZcLdX/1mvfoF1 C2VT09m1sESJECFtNG2Bqja0hj8pU1UVd6rxykxRdH944r7vtb4DWMs8Psfa4iyV7MCM MQeQKtcjUfj36YAyztAQF8DqkbIhTHR0VLTPXbVHFMTqhcCKKkkNB1qLx1qhD/IMy/Of nCgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=KLfpu49t; 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 eq18-20020a056402299200b00461b0566a29si5397495edb.137.2022.10.26.06.49.07; Wed, 26 Oct 2022 06:49:31 -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=KLfpu49t; 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 S233785AbiJZNqm (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Wed, 26 Oct 2022 09:46:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233672AbiJZNqX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Oct 2022 09:46:23 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2118.outbound.protection.outlook.com [40.107.22.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F9047B5BF; Wed, 26 Oct 2022 06:46:03 -0700 (PDT) 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 <vadym.kochan@plvision.eu> To: Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Elad Nachman <enachman@marvell.com>, Vadym Kochan <vadym.kochan@plvision.eu>, Chris Packham <chris.packham@alliedtelesis.co.nz> 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 Content-Type: text/plain 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+MXWKFoecC9Rc1Gmy3y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lEpCOk5NrDUfmIL8GwLA2SCU7v5aF8E94ofiSika9i0LHmBThRQv7f4S2hApvk6LYysHamb+D7DPbOmK0m+jMN9ECXvRfEVW33PuAatx2YPyfmi20K59QawfO34bWwHjLRReDCZCCn08BuNEYQerKlTm5j+LEbZtnaORl3WeEV4nQsvtasMCRdZniiw+8WTJe6Ip0m/pwmshtnehLGcZfqEtGENJbu48LQ0Ram3A+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-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747758268158568616?= X-GMAIL-MSGID: =?utf-8?q?1747758268158568616?= |
Series |
dt-bindings: mtd: marvell-nand: Add YAML scheme
|
|
Message
Vadym Kochan
Oct. 26, 2022, 1:45 p.m. UTC
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