Message ID | 20200917165301.23100-4-krzk@kernel.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=eaoj=C2=vger.kernel.org=linux-arm-msm-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88A5EC433E2 for <linux-arm-msm@archiver.kernel.org>; Thu, 17 Sep 2020 16:55:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 458C021D7F for <linux-arm-msm@archiver.kernel.org>; Thu, 17 Sep 2020 16:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600361702; bh=4AabZbuK+N6lbfohVlt0qp5YZ6D+w3XFtXgytzSRvZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=tLYiKf6pdVzjc5OgrHJ0Hkz7SGR51HkkZ+CDaKFp+zbgnjai9XyGY9IkimTQmm25U 68C0Ys13aOtdUaT4SVeDaD3eJMLall5xWVwuM7KLYU4TAD+wXbUs22PSMWAkzIavgE RSnevoKM7vUnt9FS6/WLr4ii8WJIAHwZwr/sTmlE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728718AbgIQQyz (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Thu, 17 Sep 2020 12:54:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:59298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728707AbgIQQyR (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Thu, 17 Sep 2020 12:54:17 -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 1292B21D90; Thu, 17 Sep 2020 16:53:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600361657; bh=4AabZbuK+N6lbfohVlt0qp5YZ6D+w3XFtXgytzSRvZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qbl1M2aI7xqVYvVw5qLFkwT4ysLWiNTKVtOgbxzptc2Qf3KT7zGdStHXKb4tjxwiL xAqFECrQQ0vlgvkhjgqTpHM0jQIjrAgBdO4zsdmaPTKCNyqAB2neAxj3Vo2aa2OUav nxTHPK9FOShUL7Fzz4Yt9KeMpHsu33w/EBwirIR8= 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?Niklas_S=C3=B6?= =?utf-8?q?derlund?= <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=A4?= =?utf-8?q?rber?= <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 03/13] dt-bindings: gpio: pl061: add missing properties and include common schema Date: Thu, 17 Sep 2020 18:52:51 +0200 Message-Id: <20200917165301.23100-4-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/pl061-gpio.yaml b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml index 313b17229247..6cbf10d8e120 100644 --- a/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml @@ -19,6 +19,9 @@ select: required: - compatible +allOf: + - $ref: gpio-common.yaml# + properties: $nodename: pattern: "^gpio@[0-9a-f]+$" @@ -51,7 +54,10 @@ properties: gpio-controller: true + gpio-line-names: true + gpio-ranges: + minItems: 1 maxItems: 8 required:
Describe all GPIO controller properties and include the common GPIO schema to be sure all common properties are properly validated. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> --- Documentation/devicetree/bindings/gpio/pl061-gpio.yaml | 6 ++++++ 1 file changed, 6 insertions(+)