Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3144430pxa; Tue, 25 Aug 2020 12:39:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFYJRIdGvAu4wQo/0ak9USflhBVFFxVdClhBL0zqyF4Utb4uvlhajTat9Klbos5zmLlI+P X-Received: by 2002:a17:906:924d:: with SMTP id c13mr11873582ejx.518.1598384380452; Tue, 25 Aug 2020 12:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384380; cv=none; d=google.com; s=arc-20160816; b=KsJ3IY+7f+SrEf1DrFj0lfQP/zwUO3aevIqPpkwQhO3q1RrBfAQyX8QKemqFmSV/Au JkX2rIXCTQK7FBn62a4XK3b5nl2MCbpoPI3goSfD4ipF7ZOKQJJVE3eINyytRQ20+Lx8 mau4RtL54CtzlPo7BNUkxmkSogAmHGAI8zaqxY40dZsGN9vaoCVOYxkaU4jQaEc7L/vU Q4wDlWHJK78haUmQ3M2ycc+2W6b+tnxNbHNHo72KvNg6SOPvIU+6nWgJBp4n/KJ3Dpku I8cF/O1Hd2tN04N6IA+W6XmABgl47sYsDtH/y6xgpSz3y43yZ/HkBD5UsBLWpqPe+J7t g1zw== 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=sHT8dGYVPJqvvFUZ4uxSoXBb/wJO3CLHRb4NrVeh7hA=; b=ULZ3Cu2lfC6R43TqDzni1PlHUv7ghnkwVreIUj8gVrFhdAJlRCXdtwx6BKCU1MtMtD RB2gR0OhZgNhFAoF3dKOH8eyOua4PydoEVgQRPuPgrOlln/LaRHAQxv56pkfcbIHoScY PPyuGeBO2heR6xavWES7u2yR0o4PHu6lOdMJJd/mxzDXqxGGQQsIqJxcZ3EfjhjQdMvW Cko/w416JZdaBIOvq+hj5fI4j/qan4vDgNfDdNwqVlp6s3KNNnO7a9GwL9lGOePLK9mn xARJ39ESn+ZT1H96hVoU9WTkGnARVIAegSuAK2TrYc2Uy4cQS6sjjUQPRX8qgYVI/iyF Nckg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yGkTGxVa; 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 bn6si2801ejb.74.2020.08.25.12.39.17; Tue, 25 Aug 2020 12:39:40 -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=yGkTGxVa; 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 S1726851AbgHYTg1 (ORCPT + 99 others); Tue, 25 Aug 2020 15:36:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:40234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgHYTgZ (ORCPT ); Tue, 25 Aug 2020 15:36:25 -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 71B752075F; Tue, 25 Aug 2020 19:36:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384183; bh=WtxYWeaqBzB1i02InZhauhu1uKIXvn25zdsRh0fwHbo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yGkTGxVaBvCMs+pWAhRC+QY5i7m5nOxhKaP3srFXWifdwDkJJrBepTC32+t91B5nM UUSrTPr0qklGRTn4YV2/T3OqDerN2V0kPnJqnI02PTGIvucWye/KX6qxfyadQ6LOpO RlQBcNvMf6u6A0db5jGOFKHocuSifVGfIJiOtpYM= 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 03/19] dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs Date: Tue, 25 Aug 2020 21:35:20 +0200 Message-Id: <20200825193536.7332-4-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 Allow parsing GPIO controller children nodes with GPIO hogs to fix warning: arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpio@30240000: 'wl-reg-on' 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 --- .../devicetree/bindings/gpio/fsl-imx-gpio.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index dffd9171ea66..620a52f944e8 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -53,6 +53,23 @@ properties: gpio-ranges: true +patternProperties: + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": + type: object + properties: + gpio-hog: true + gpios: true + input: true + output-high: true + output-low: true + line-name: true + + required: + - gpio-hog + - gpios + + additionalProperties: false + required: - compatible - reg -- 2.17.1