Message ID | 20200917165301.23100-7-krzk@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=eaoj=C2=vger.kernel.org=linux-arm-msm-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 603466CA for <patchwork-linux-arm-msm@patchwork.kernel.org>; Thu, 17 Sep 2020 18:42:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EA51221F1 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Thu, 17 Sep 2020 18:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600368130; bh=pV5NUEmeW9mZ1TS+/Jc3oFxArHOIVWs9UQjncMMV5dA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=O6zTf4uXIGzkY0YKBUEMxKqf0hoE+Y54SNj0waRWkICWNks7EIH2mkhk03BR4Voqn x3XmF0dgOFJYu08zOYLPQ7QKZf9GlEseUyhOt12P7lY9/mj5ZePR5iMF91uVp2uWQ+ qvUjFKNU/rs2cwjNTkbT4axJhXoRCyUw8/ZFP9uE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726440AbgIQSl6 (ORCPT <rfc822;patchwork-linux-arm-msm@patchwork.kernel.org>); Thu, 17 Sep 2020 14:41:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:33764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728747AbgIQQza (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Thu, 17 Sep 2020 12:55:30 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.191]) (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 647A521D24; Thu, 17 Sep 2020 16:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600361729; bh=pV5NUEmeW9mZ1TS+/Jc3oFxArHOIVWs9UQjncMMV5dA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZezngZwDO3KQgBWc5kH7o+363k3VkzXLGbSLbSc0tebpQso6t6pYwNkEyZCDiQPmV SDInDhjroyojBh7Mphf9Czz2rjH6R5ZkFLMbtuCEXnnrfdP8uQrsgKQcvItrVphoK1 F0JF12gmB5ueiJxBeEsZOAKj0ouhtPyo/iU8CgBA= From: Krzysztof Kozlowski <krzk@kernel.org> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <bgolaszewski@baylibre.com>, Rob Herring <robh+dt@kernel.org>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Hoan Tran <hoan@os.amperecomputing.com>, Serge Semin <fancer.lancer@gmail.com>, Masahiro Yamada <yamada.masahiro@socionext.com>, Jacopo Mondi <jacopo+renesas@jmondi.org>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, =?utf-8?q?Nik?= =?utf-8?q?las_S=C3=B6derlund?= <niklas.soderlund+renesas@ragnatech.se>, Mauro Carvalho Chehab <mchehab@kernel.org>, Charles Keepax <ckeepax@opensource.cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, Lee Jones <lee.jones@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@st.com>, =?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>, Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Matthias Brugger <matthias.bgg@gmail.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Chris Packham <chris.packham@alliedtelesis.co.nz>, Anson Huang <Anson.Huang@nxp.com>, Sungbo Eo <mans0n@gorani.run>, Stefan Agner <stefan@agner.ch>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Magnus Damm <magnus.damm@gmail.com>, Yash Shah <yash.shah@sifive.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, - <patches@opensource.cirrus.com>, Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>, Amelie Delaunay <amelie.delaunay@st.com>, Cristian Ciocaltea <cristian.ciocaltea@gmail.com>, Paul Cercueil <paul@crapouillou.net>, Andy Teng <andy.teng@mediatek.com>, Sean Wang <sean.wang@mediatek.com>, Sricharan R <sricharan@codeaurora.org>, Chris Brandt <chris.brandt@renesas.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-unisoc@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, alsa-devel@alsa-project.org, linux-stm32@st-md-mailman.stormreply.com, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org Cc: Krzysztof Kozlowski <krzk@kernel.org> Subject: [PATCH v2 06/13] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Date: Thu, 17 Sep 2020 18:52:54 +0200 Message-Id: <20200917165301.23100-7-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200917165301.23100-1-krzk@kernel.org> References: <20200917165301.23100-1-krzk@kernel.org> Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
gpio: add common dtschema
|
expand
|
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 82f3e4b407d1..7a5745255969 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -22,9 +22,11 @@ allOf: properties: compatible: - enum: - - fsl,vf610-gpio - - fsl,imx7ulp-gpio + oneOf: + - const: fsl,vf610-gpio + - items: + - const: fsl,imx7ulp-gpio + - const: fsl,vf610-gpio reg: description: The first reg tuple represents the PORT module, the second tuple
The i.MX 7ULP DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000: compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000: compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> --- Changes since v1: 1. New patch --- Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)