Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3144394pxa; Tue, 25 Aug 2020 12:39:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxt0wZM+47qpeEQcvM+EH6o8rzNG0wPw3q0GlHFuAUdwF80tU54ozcNfQMChjsk5xX7YTYm X-Received: by 2002:a17:906:aed1:: with SMTP id me17mr8431050ejb.267.1598384377032; Tue, 25 Aug 2020 12:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384377; cv=none; d=google.com; s=arc-20160816; b=C2/IM9QM54mN+7/nl37NX6zC0cGHj7DDNf+TFCistSZOWbHw+XaE2gIhT3ZaFUC87z rTKX7rQuWDR3y7XB1pKtXS6V/w4OVK7vQGa/KjYVq0mGjQ0MNmww/mUgY1f8swWunoj6 flC2UZe4Zlie3X8StwwUqLuJu8kZoO3SfEiNI9KOjSWxFWfeSuG9c5aa5tqNfcoPYlLR TirqY87YJVwT/9cDn/3SoFOhQyjKkLVWZgKTrki198/iK8ZmQe8A/cGWeY8T7kWE2UNU NW2CSOzAXav5FtWCVqmYfuVidUdEkK7gbRhxR0MOiCVL+GwnFSkuUwN7kMEuwH84gApQ HTdw== 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=NEXw3/ppx9w4tQr09K1WmBAt+dMdM6MW9s9AUhJ74mc=; b=Fo/vi8xxPayLOJMZfOxGcHDcl2CyvZFSdhtgNRtT5CsPPS8ZY431MvQhuZb0lL4phe idsPMIkFa3Tz8MSoSm8TB4Sg2l5nCRld/qcBKYHf3IqxyMK0zMK4qOPbL8dltmdDdZnX ++etPTgsSQxP/DNZXNvbkq2mc3iUeLZhLnF+VU8UB3g2xLjFo4JxDfkiySdq3uv697hA liG5A/RuFU5Im+lU9bxRmoB+snsVfPPuwsR6gMUWCmJEeuKNu5xkiq2VcRbVJxKEdDqF 7rkoGg/4TCYv6abmnu2mP+N7pW/qNE1Yj477J85bBCXK5RbSncC5XdyQoDFTy0cfKM1N jpyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=owtABvA0; 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 d17si9393479edz.218.2020.08.25.12.39.13; Tue, 25 Aug 2020 12:39:37 -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=owtABvA0; 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 S1726826AbgHYTgS (ORCPT + 99 others); Tue, 25 Aug 2020 15:36:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:39958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgHYTgQ (ORCPT ); Tue, 25 Aug 2020 15:36: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 77C132075E; Tue, 25 Aug 2020 19:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384176; bh=xk6HhoLX4rJjVwoRAAYosPxii+730FbZ4sqFYSFntzQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=owtABvA0uvFGwqnPnmSlWbHARZvdR0v16Sq+vWw68+9nY+Aoivv6KPp6EMygKvb31 NhUCQq+nLdXj63Nh/N5FtwNPd9l3L5PuSQ6oQF9rKP7F3HW9OniG3G9n6Ajm8+US+B mDWYazwAXS5kacC+VdYPtA5jAbIjiSlJr3LNfx5M= 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 02/19] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property Date: Tue, 25 Aug 2020 21:35:19 +0200 Message-Id: <20200825193536.7332-3-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 The GPIO controller node can have gpio-ranges property. This fixes dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000: 'gpio-ranges' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Remove maxItems --- Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index 454db20c2d1a..dffd9171ea66 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -51,6 +51,8 @@ properties: gpio-controller: true + gpio-ranges: true + required: - compatible - reg -- 2.17.1