From patchwork Wed Sep 16 16:22:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 254376 Return-Path: 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=unavailable 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 C6DE2C43461 for ; Wed, 16 Sep 2020 18:21:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8745921D90 for ; Wed, 16 Sep 2020 18:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600280475; bh=4AabZbuK+N6lbfohVlt0qp5YZ6D+w3XFtXgytzSRvZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EsLWbsBzObX01kHxAhcICBQJ9GStvbclkSQtiSZTlUVSQoLaKzOVwRHbatLiU/t9d mwrB9DzJfAWOKz8zmPn7LmfMEk2rn5pcatsGfS78Qrvu2FhxA6oAKr8IvHH12aSnQM Mb/oUI5GOcidCeS11VGrm8XPwYlugMRYcZ2P3lak= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbgIPSM1 (ORCPT ); Wed, 16 Sep 2020 14:12:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:52642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727817AbgIPSKo (ORCPT ); Wed, 16 Sep 2020 14:10:44 -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 25FC822A83; Wed, 16 Sep 2020 16:23:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600273412; bh=4AabZbuK+N6lbfohVlt0qp5YZ6D+w3XFtXgytzSRvZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ry5eMM1sk6xj8SaN1XwXiOiVGXXo7SiTroZv+tK+y9Y1ZtK4Mx4N1hWFJkgf0Nqnw dWqQKjD4sMsuXz5SoDhAbTVmA4PY95mqyBhOfaDZFQZjLclYs3V1e7nGR42gLsaOsF Z0q/1pmCK4WkeMNVV6RLSXBVA1MBoe5ZofX0Tr5o= From: Krzysztof Kozlowski To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Palmer Dabbelt , Paul Walmsley , Masahiro Yamada , Chris Packham , Anson Huang , Sungbo Eo , Stefan Agner , Srinivas Kandagatla , Magnus Damm , Geert Uytterhoeven , Yash Shah , Paul Kocialkowski , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 3/8] dt-bindings: gpio: pl061: add missing properties and include common schema Date: Wed, 16 Sep 2020 18:22:45 +0200 Message-Id: <20200916162250.16098-4-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200916162250.16098-1-krzk@kernel.org> References: <20200916162250.16098-1-krzk@kernel.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 --- Documentation/devicetree/bindings/gpio/pl061-gpio.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: