From patchwork Mon Jun 19 06:39:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 694625 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B80D4EB64D9 for ; Mon, 19 Jun 2023 06:39:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbjFSGjQ (ORCPT ); Mon, 19 Jun 2023 02:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjFSGjN (ORCPT ); Mon, 19 Jun 2023 02:39:13 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBF2B102; Sun, 18 Jun 2023 23:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1687156752; x=1718692752; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fUkVHkKZ1SlYspf4wL2JjzZTHzbRul4i8BRFPye+n6k=; b=GYtNCdBitepvL5C2CU0iNcTi48j8Ppnv+xtiTE1jhVOziVuGFg698n7S D1wUKMI68I7qmyIqEv/q5Wnz5ozHHt7HYg1d7joHxoyiUoOL0H/zzPxHS tMuFT9bHWN3APyAbCXA/EkgqQOvLTo3gVy5eO7SRbs8esTT6mWEzcLMSM VXF1mL0tlZcVLKy7Ok27YwH/G4+ZHtk5GmgLTbuJfJ3TsvoyczD9AKj01 NKiDmsJKi/Wl9IQ7hbdL9o6IJW4pgKtL3SNyNMYGvd49nc7zVnzGDhaJ7 azwPBaPByMF0pGqg2+4tCMa+hD7N/WR6iWtK/gLsEYYISL3AmL6CCCxp4 w==; X-IronPort-AV: E=Sophos;i="6.00,254,1681164000"; d="scan'208";a="31480823" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jun 2023 08:39:10 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DB7A128007C; Mon, 19 Jun 2023 08:39:09 +0200 (CEST) From: Alexander Stein To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alexander Stein , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/1] dt-bindings: gpio: gpio-vf610: Add parsing of hogs Date: Mon, 19 Jun 2023 08:39:07 +0200 Message-Id: <20230619063907.128561-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Allow parsing GPIO controller children nodes with GPIO hogs. Signed-off-by: Alexander Stein --- Changes in v2: * Narrow the pattern * Remove properties covered by generic dt-schema Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index d2c39dba56add..7c2d152e86170 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -61,6 +61,13 @@ properties: gpio-ranges: maxItems: 1 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg