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: 13018148 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 B8541FA373F for ; Mon, 24 Oct 2022 21:03:39 +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=Wl+2iY8sAEuaXFAZmhv/Gc30oUTw4cpb+SJzvHyn568=; b=LvmpGpDBn/rvMK QVkLXvHVk8uuOHJIWwqyFFksut9cwqCeZ0AQTbb5Tj08iKB/ibezmkrdqtTTsevXhOkWUYaKCw93F DzGsoVTAW/BsMrIGlJm6nbe/SjVjudw4Bi8PD7iiNYvTOB8Lfi0XZrNapee8yiyIyK1BfTObMTr6z HClpkkCDNqyJSrkrJhdKp570RsI4UeQFMBEL0x0iTS1ZGSGcRDfwh0QY0TZRA40FTy4AUql4NGjEf AhrBJ+fi1qFnf1uLJ8diTeHCN3euvjBfjwlrjBHb/ja38JkzA4YPRGwVk/Jbh1qE+kEsbtrL6PESX HLA1JBQUEFc6zmqII3Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1on4aW-003286-1O; Mon, 24 Oct 2022 21:02:24 +0000 Received: from mail-vi1eur03on2106.outbound.protection.outlook.com ([40.107.103.106] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1on4aP-00326p-Qv; Mon, 24 Oct 2022 21:02:19 +0000 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+nAL9dpvsFGCGCLy8lWbfP07Hb3fgbl74qU5hdxLZjSdjxEB1WwBslrVrbuavfdDFJ2ps3kz7KI1izp91ekmNrVqXLtc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XREpQfmSiWPifa4w1Tds1FVgHYA7XdpLlmjSV6ig== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_140218_146716_673DF470 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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 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