Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143924pxa; Tue, 25 Aug 2020 12:38:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYEhtWQPBekTpbNH+oZCxoMczXDS9YG3htxlJ17KBozOtTWFY+SA+hAqXG3MQqsMTccwCx X-Received: by 2002:a17:906:6b87:: with SMTP id l7mr11670528ejr.198.1598384321110; Tue, 25 Aug 2020 12:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384321; cv=none; d=google.com; s=arc-20160816; b=wfSTOJQfh+iLnQUHrMfBXg3e7/mTJ86DI1+iiu4l0egMdlCCFc4h/4n8Na+Gnoy0t1 p/hQYIz8Tav8cnzugVEmmCIC6YO8vscB53BQ2lU/u94wHjnHsYzcJ02PGLor8PEwOwOw BT5svDAw/aBESq9UN5eeitfu7D6CC/Co66V2JxFqhtQTZN9lYqkGmJCcD8MNYUsD65wj uT/j7K0AvG9dIbNU5VZ0BMKy+rNycc62H/wryVrM1Sm3Tw56HSMPkhDXbVzAaW6/XZdi 5mCYQ0e/HO2hnFeOpLRsQh8l5HWZXKHGGa+i9H60ZwZ4EiQIXuZinB4RRQUsyoLZKmQA Lorw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=yi3Cg6w9J1fUk7dOkRdbObr6jfFbUZOwve2yJ3FcdBs=; b=telVOS0XilGxxVf0eX/4VBNQMhxKfuh2bYrAfuesXxLyCTrGAY/Z6ABUrI44LKMO7u sYgNq8+XYrNdUTiq6hMEl7Xg6fxKeIG/nb3i70s/wLi7HXCZWRts7sHCBNo2mt981uMI SYRSIvccmXNzPHZcmcIxLyC8W4lBI3MfLY7YpSNhteOdD2FozItT6PCg6517CgCQGClI zbAqJvWwHlshM1n2/czVbio3FHZKY5eBjSPjqQ1Ry4zY+MZ10Ku8uWnXjzIWlBvF7JwM 5RTm3Waqv/D5EkM+TqRXtCIpaKbxd0w/+MTMWUIiKCZ83jMEUPpHG0TfhXnTllgD5ETn rgKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZvXktDJp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si10156789edv.603.2020.08.25.12.38.18; Tue, 25 Aug 2020 12:38:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZvXktDJp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbgHYThS (ORCPT + 99 others); Tue, 25 Aug 2020 15:37:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:42056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgHYThQ (ORCPT ); Tue, 25 Aug 2020 15:37:16 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FA582075F; Tue, 25 Aug 2020 19:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384235; bh=rOlkyLq/MJZ1DAenvWhfuxACksm2nB3ySP8n+l1ST3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZvXktDJpjhhw0EWhLxqSsFJ6IOM1gQ3Htm7yyJ6Ag937D5wrX2EnnoMF5YUp7AeEA 3FDALBAU+qT3cyJz/vC+HoTsYXwxzSaEaFCNL4Nvza3++5pufG1XxrSNM0uzC/xl+/ 8Gm3XNQkXO1ADTR239k9AUaPWQV9zsGATnVi63Qs= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Miquel Raynal , Mark Rutland , Thierry Reding , Anson Huang , Li Yang , Han Xu , Frank Li , Fugang Duan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v3 09/19] dt-bindings: mtd: gpmi-nand: Add i.MX 8M compatibles Date: Tue, 25 Aug 2020 21:35:26 +0200 Message-Id: <20200825193536.7332-10-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825193536.7332-1-krzk@kernel.org> References: <20200825193536.7332-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000: compatible:0: 'fsl,imx8mm-gpmi-nand' is not one of ['fsl,imx23-gpmi-nand', 'fsl,imx28-gpmi-nand', 'fsl,imx6q-gpmi-nand', 'fsl,imx6sx-gpmi-nand', 'fsl,imx7d-gpmi-nand'] From schema: Documentation/devicetree/bindings/mtd/gpmi-nand.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000: compatible: ['fsl,imx8mm-gpmi-nand', 'fsl,imx7d-gpmi-nand'] is too long arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000: compatible: Additional items are not allowed ('fsl,imx7d-gpmi-nand' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/mtd/gpmi-nand.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml index 3201372b7f85..28ff8c581837 100644 --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml @@ -20,12 +20,18 @@ description: | properties: compatible: - enum: - - fsl,imx23-gpmi-nand - - fsl,imx28-gpmi-nand - - fsl,imx6q-gpmi-nand - - fsl,imx6sx-gpmi-nand - - fsl,imx7d-gpmi-nand + oneOf: + - enum: + - fsl,imx23-gpmi-nand + - fsl,imx28-gpmi-nand + - fsl,imx6q-gpmi-nand + - fsl,imx6sx-gpmi-nand + - fsl,imx7d-gpmi-nand + - items: + - enum: + - fsl,imx8mm-gpmi-nand + - fsl,imx8mn-gpmi-nand + - const: fsl,imx7d-gpmi-nand reg: items: -- 2.17.1