Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143275pxa; Tue, 25 Aug 2020 12:37:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcJ3nFdMrJG5uC/3U1F+ARtcvSWeKpExEeFEka9Py9OHOSt8+3vClXww0bYG4E4uIxd95O X-Received: by 2002:a17:906:46c2:: with SMTP id k2mr12846446ejs.448.1598384243808; Tue, 25 Aug 2020 12:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384243; cv=none; d=google.com; s=arc-20160816; b=dYbaCz5oQRbmYNAs+fq8C0A90ozRlkFbzy6W2A61JhngBui9LLHR+mKe541pGSQokM pUGvWd42qJtDa7s6WRzM9kn4zfyG/sb5L9nuN5WJxgt0rCvVPrVEQbPUXMz7RBVk5wt0 Kie/osVTQikf09haDRnE+QDLiNQAjzaVg8y4gRrfSNC5rmBEJQt6T7lCLE9YTm9CKCaC LJ3qlm7Tn7Oox9TpOPi9CyvRcf0f3nB0n99hl3rSHnqzX8vNzzD9c5vufNyLh+bd++YW s52rqHevZ9niywMRoKHrfQsLibaAU/WlG7Zfzuzdy9FrbtBmZG/ygE5+iqmfLXGMiFDT BV0Q== 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=7YSUXrDDIOoYI795I7V+IIz00m+6DQx8YREAR8vpxxU=; b=eJyzSZ3CiG8Qorvi570NSK23Il88ue99t7Ch1S91eGbeIUCNqGdRqzUbJcKAv8N6aG 4fgO2iBSnplwFWLIENeiU7WDnMNG51kWPa0TOsJdW1Jr1BjdisvzakQmifESHlUYp6im s9CA2n6EhsHWYEMSrJeAilhONRN7B5ydPxoNgu7hxPxc9HHJgHBeY2COnoAEVmfN3ybp 6+sRBZxIPxLXqy1wi5rEwycyuk5ToJ5x5SSxqYd8vYnFfYR9A2r4ODpTMRsFqydA+kfl wL4duKASz9yvvrRuVnMGtr4uM4nR9v5r/RVvYCrptTqxW/5tr6PIT1xJ/lYvO739PLw6 Ky7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TUcNYK5r; 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 ay7si9412565edb.183.2020.08.25.12.37.00; Tue, 25 Aug 2020 12:37:23 -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=TUcNYK5r; 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 S1726779AbgHYTgH (ORCPT + 99 others); Tue, 25 Aug 2020 15:36:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:39608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgHYTgG (ORCPT ); Tue, 25 Aug 2020 15:36:06 -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 4F89220825; Tue, 25 Aug 2020 19:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384166; bh=zp5go9e7i/qv1aP2GIDJh42E7oLFhoX9VV8nN5lMI+k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TUcNYK5rkOGP+ncveeXAiCUst53nEMRE9csWGgktTbJxGw0iTLjjSiEtz7A6E1bnh HJr7hEUoMlmDjsFOoyIfXzHK483LqWn9qcGhP+F4aT/DAb3rC6q1g6qHQWNMbXOuS2 rd4o8+VIKBNxDsVQchTRHwIF7u3d56Xe1eaI//BU= 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 01/19] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles Date: Tue, 25 Aug 2020 21:35:18 +0200 Message-Id: <20200825193536.7332-2-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 8 SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000: compatible:0: 'fsl,imx8mm-gpio' is not one of ['fsl,imx1-gpio', 'fsl,imx21-gpio', 'fsl,imx31-gpio', 'fsl,imx35-gpio', 'fsl,imx7d-gpio'] From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000: compatible: ['fsl,imx8mm-gpio', 'fsl,imx35-gpio'] is too long arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000: compatible: Additional items are not allowed ('fsl,imx35-gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/gpio/fsl-imx-gpio.yaml | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index 0b223abe8cfb..454db20c2d1a 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -11,12 +11,21 @@ maintainers: properties: compatible: - enum: - - fsl,imx1-gpio - - fsl,imx21-gpio - - fsl,imx31-gpio - - fsl,imx35-gpio - - fsl,imx7d-gpio + oneOf: + - enum: + - fsl,imx1-gpio + - fsl,imx21-gpio + - fsl,imx31-gpio + - fsl,imx35-gpio + - fsl,imx7d-gpio + - items: + - enum: + - fsl,imx8mm-gpio + - fsl,imx8mn-gpio + - fsl,imx8mp-gpio + - fsl,imx8mq-gpio + - fsl,imx8qxp-gpio + - const: fsl,imx35-gpio reg: maxItems: 1 -- 2.17.1