From patchwork Mon Oct 24 21:01: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: 615 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp686315wru; Mon, 24 Oct 2022 15:43:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70fCOsGk91INsNrodAqqoDG9Cbvb+xPPzfRWkMUUdPvLNgMzbLFgRGHyNCA6X1B/MvoVPG X-Received: by 2002:a17:907:3205:b0:770:8554:c4ee with SMTP id xg5-20020a170907320500b007708554c4eemr30003220ejb.39.1666651385972; Mon, 24 Oct 2022 15:43:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666651385; cv=pass; d=google.com; s=arc-20160816; b=kOPRIYtlMu9lqPXy7pZ1gbDsz+k6aaJgYSAfCfopWD+AeFevrxFJGP5Ok7jZmHbLoB IkPs9fF2SjZfC/unxDdLO+oTlC6TzMr9ykNbmoFxPZel6h9S/EDMx1YJ83BCIiEJJ/Ek 6oHhSBoHIVp4zHz73UkTauBTS3K8vJgUWfCFk/1KVljpZ30tEdWOUoteCMHmuHRPtudF UAvwkDekUA9kKTp8pQp4b1MShs7gMfFmnPUBR/oLw7/xj+uuvfhGGgk6N7XHl3xhJ5/l AxOgPB3Y/u+puCFrc0mSzp4bV/Yiiu6Igq+Gj6Cmpuw3T0sUBj+U8LuqLDrxL4dXF/Of JIzQ== 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=UqGTqYjB3v46jNVAYJGxsAF0IPCp3Dn8a9o5uXuuw/g=; b=0a6ectheUzd0Nl1nYAW8trLV5vliE/E7p7FH+kbnVvEv7xtxxhge2Q1AH/MPPloqdx Z+leBmQXFVRXbGn3HfYkDLm3E2lYe5bgBQt5ndXGQgZt8QhyObbaZVLVbUPFrRRnEMv0 cTUw2dwI9LVyS8UFd4SgwPdqI1uKtxaX3eNu7F+Hrt0BdARpNl3Ny53FVmKAq4JjHg+D kTS0wDyjVJefNVsvirOyZV/urjFZSsKl1I8KFRNKz6sqPc+tyxDAGE/qk2AJuAfaTEk8 RWEy8DjUe7YuSOukIcaK/KuY9/f1cgdmJaRvhgKQd8H1lRmK635zO4JTXwNFtUIxHnuy XOXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=l6ozQrT2; 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 gg12-20020a170906e28c00b0078049ab4bbasi830345ejb.526.2022.10.24.15.42.41; Mon, 24 Oct 2022 15:43:05 -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=l6ozQrT2; 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 S230351AbiJXWlQ (ORCPT + 99 others); Mon, 24 Oct 2022 18:41:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbiJXWkD (ORCPT ); Mon, 24 Oct 2022 18:40:03 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2097.outbound.protection.outlook.com [40.107.103.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E42482C2ADD; Mon, 24 Oct 2022 14:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OWINxz8rwwO5m5phVePvmeKjFdqkeu+WCEcfeCbhJI7++OcDNRcxVqrLhze34ZXQGqZChnmssxnqe7IxkBmY/H6Ydf3A0zaNEuRbiQCk8lkfXe737erbHIXWPUZ7QcACOmlF+TDD4ubUREPUgBX/mdViQ9Ap3iKJijDp7nzB9I5oUjuR1azQ5EeODyPPCVvJTW7GftEfNQg/XAn3/VgFyt4tvwLT15mR2GXDcInwlByWlJFUZNzxBLMP4lbRMY9Y9oGtOW+3biKjrBAJY5ZJAcEAVFko0t0mNc90rlSGyKx5X9xPezngNYND5ONrQbxE5UlUHi/LDawtbSqer+Ca4Q== 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=UqGTqYjB3v46jNVAYJGxsAF0IPCp3Dn8a9o5uXuuw/g=; b=antJOKG92zRdvDVRPDGbhnv9I1XUVWsxVCWvmmqep+reOb+uCdh/HRSnXpYhZG1dP69UcMmaQYbRza1+j3pZ2lRXWOLM1Ld658OB23z7zk/z+U0KcUfhdbIvcOHUU69u77EnQm/DN1rQMAorxboFDTCYecTTm/zBTHJDUo3qvbyjrS33oEjagEpKhd3MxmZ2KJ+Mb2Ul5Q2Oj+8bpGi8yqG2lO8HzvDJNRsM4StUtcxprmWMaHQI6rPlVObbfXTlxonXncWuwSYdCbY3tv3hbASn68xF5meH1r53x7azFUKnvqtDh/UA3j0ZRlNdmLwE93VEilBHyNyC1BCgWNp6NQ== 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=UqGTqYjB3v46jNVAYJGxsAF0IPCp3Dn8a9o5uXuuw/g=; b=l6ozQrT21643jwZzsxK9u52Yr26fi5qSqvQSP+/ua0m5+UD4BsK6iRh+bY2xfSdSQAHIXhFg5yUvhrHc4+qcVv0X/m3uvl5F98306xsFRgkTH2VqU5slyJRAcQd7/pUT9N+Bg+S8TkH1H0cAIRLxoJLIdnvLOfOQXurPDClQdcA= 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 AS1P190MB1798.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:4a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Mon, 24 Oct 2022 21:02:13 +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.023; Mon, 24 Oct 2022 21:02:13 +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 v3 0/2] dt-bindings: mtd: marvell-nand: Add YAML scheme Date: Tue, 25 Oct 2022 00:01:49 +0300 Message-Id: <20221024210153.28852-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: FRYP281CA0016.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10::26) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|AS1P190MB1798:EE_ X-MS-Office365-Filtering-Correlation-Id: d273a858-7ff6-4276-9d77-08dab603060e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KSAbqAeIBEXFyDlz5sIryx9X6jz1zA7S1mKO81OEnTBHK3bIUt0SKSHbjhbeYc8TBQK8qIxubyw3S4PupHhAxZHVuxvZcaI5j9Bt6wusd8+mvD44A8ItFU59JMoeh69gOf3jnY9Q/UTU3rceUnPADNmg15qbXYily+C1dil+OavQMZ1oHeO4D3Uj9wl8oKuV+2H2BdAWlhM0xS5c3apk2kK8lcOEtbSb8RZgkd9/AqlTEwD2HnYxvI/dwXrJtfZqujAvAG6CjgDiVDcgbF/9KOX1v8ZN6lbeo9TS9hzfziOv22I54tl1w+eUEgQe2fGqQCf1DxgC3o0MH5mDzxPw61AJKUBv5FV+IVAxT26oZCRBLqUuKPZDfutQJe1aUgnjCQUa5HcyWbWQHpG16qm29BzQaZBjoNOy4e407RaS6cbaUqI/Uah47Tzvz/z0NZSmWE9I7CtTT0W7V4ecntcaykDgC/9jz8RIJ5gNrXUE2dMPc+3gs6Jh4sQaFj93g/tUWZFbgVXg3PrbO2QT102sO26AH57eJKkxTo0D8ez3naGTPGDNBcxrlrdSYjJI8LsQnlb4f63tf5OOGbM43JyMeAD8XPl/rjCty2aoTnvD3Z2Z2WSBhU1ZosMadYVtNb4saptORK2hOT8deSwnk8kAmAZex1X2nWf5mlMpfdwZ+HUnhkNWHwyJQnTgw4yzvW69mfYLQZjFV6tkzgVfaal+q+ZhBwwHDGxHAqdChgBTuTR4sa3JF8MOhD8xXoOBRC2V+LpRNQQgWu9FMwdHXZHDzg== 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)(366004)(39840400004)(346002)(136003)(34036004)(396003)(376002)(451199015)(4326008)(54906003)(8676002)(66556008)(66476007)(66946007)(921005)(110136005)(316002)(5660300002)(7416002)(36756003)(8936002)(41300700001)(6506007)(6512007)(1076003)(52116002)(83380400001)(41320700001)(186003)(2616005)(86362001)(26005)(6666004)(6486002)(508600001)(38350700002)(38100700002)(2906002)(44832011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZeUa1CNc4cQw7XDiQEK7/cIYvPzdO0TKTX64HKn8zOldy1of9+cF3hfpz3GaVO2JBKeXlmxAPShYuOwOG9Wmw3FkgKBvOO7umUJsXbEQp0DXRGKuEmt5Dkmid7YxeGDLAkzRYwaAehQMPisw1T9SZfLxvJqeWrwmr25pagYXP8r3Dz/fmFV6UWU5c7Bo0UCLec275m5TwsZuTbIH2ntf+tXp4S3MDxjY3ubPGczUsoNgfhb8eagC7x9QBtlWWQx79eUpO0F/9Yt5nphctDuUAthPA8+pcNdIBUrJE03vBU6l0z6KyIlTwysyenaYc6otlZbziJE+Q2Asxd5rX5Rgigmc+aIRR3PJQWRsrM/YVHPl49INCbm9cG9ENkzsKT+8W0X2Tho6kQY5SQgB4E3lQ+nAL9dpvsFGCGCLy8lWbfP07Hb3fgbl74qU5hdxLZjSd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kadnHihxlvlp1oK2IF5o+i0gBB404c4MwSzzJ4l7UlbpAHzgXREpQfmSiWPifa4w1Tds1FVgHYA7XdpLlmjSV6ig== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: d273a858-7ff6-4276-9d77-08dab603060e X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 21:02:13.0687 (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: xldjC1fI/wBG2jV9FZcehI2lFxa7VIlYewunmEuz3kvCPBRCoMXouWj9arPnebLp4bIAGaBsxNRKCa+z5eEamS8iBYABvj8wVBGOd8cxQxI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P190MB1798 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 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?1747610643606771839?= X-GMAIL-MSGID: =?utf-8?q?1747610643606771839?= 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 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 | 189 ++++++++++++++++++ .../devicetree/bindings/mtd/marvell-nand.txt | 126 ------------ MAINTAINERS | 1 - arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 +- 4 files changed, 190 insertions(+), 128 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt