From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 B4D15C43461 for ; Thu, 10 Sep 2020 18:55:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 742F0214F1 for ; Thu, 10 Sep 2020 18:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599764113; bh=XhMR0se3B2M3cCm4dG7gM2H1njurlMTbkC88FGhIKJs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=oF7sUo4nYDRQttAkJ8lq8e2hmcd+mnLGcG+BfF3Rk+sFEf8W7xKC6lXXP07pBvXhg YZlnlHjTVkRjka9HNIzovlRFWzaASsnrX0hR6i5lcu/1yf69Mme02JdA9sFklnnjtk igpD/nfu9YJoucs/jH0y2vNJ0zt8V/Jv6FXVcrQY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726898AbgIJSzD (ORCPT ); Thu, 10 Sep 2020 14:55:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:60144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbgIJSyJ (ORCPT ); Thu, 10 Sep 2020 14:54:09 -0400 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 4BA8921D92; Thu, 10 Sep 2020 18:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599764045; bh=XhMR0se3B2M3cCm4dG7gM2H1njurlMTbkC88FGhIKJs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NWf2TTe71JDTV5fTFH3pnw3HOYxZ5ivZJJsDunUt35gp25A4mNzl407I2iacg6Psi Budl9qFpHKWvZJLdEln1WkpXuBpI3tCHQdwvnqxK5EHBixzH8JD2FeS50pKl/BJZ9Q oW6NJfp9FaoUigAD/y/1aDn9KN/rWfhNcmsuNGLQ= Received: by mail-ed1-f42.google.com with SMTP id ay8so7391618edb.8; Thu, 10 Sep 2020 11:54:05 -0700 (PDT) X-Gm-Message-State: AOAM530PpEiF4gd8hIQjezXCsXKEU4jDKO+O2s24KIZK0hCqdcKi6WP6 lRd0yze+KWFNX6QGZfOtGdAIUkCUMP64yFo52DA= X-Google-Smtp-Source: ABdhPJzxOkwjKIRJe1J7RhPZI8K0aJEHMtzOqR5F+V93515rBHAjgLIuO18iiQn+8UTlJNwgheXSwAxcmyXoMHMFYBk= X-Received: by 2002:a05:6402:180a:: with SMTP id g10mr10672940edy.18.1599764043844; Thu, 10 Sep 2020 11:54:03 -0700 (PDT) MIME-Version: 1.0 References: <20200910175733.11046-1-krzk@kernel.org> <20200910175733.11046-2-krzk@kernel.org> <20200910182814.veviax3n377undkv@akan> In-Reply-To: <20200910182814.veviax3n377undkv@akan> From: Krzysztof Kozlowski Date: Thu, 10 Sep 2020 20:53:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema To: Nishanth Menon Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Russell King , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Joel Stanley , Andrew Jeffery , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Magnus Damm , Tero Kristo , Michal Simek , Guenter Roeck , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Thu, 10 Sep 2020 at 20:28, Nishanth Menon wrote: > > On 19:57-20200910, Krzysztof Kozlowski wrote: > [...] > > + wakeup-source: > > + $ref: /schemas/types.yaml#/definitions/flag > > + > > +patternProperties: > > + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": > > I wonder if "hog" is too generic and might clash with "something-hog" in > the future? This pattern is already used in Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml. It will match only children and so far it did not find any other nodes in ARM and ARM64 dts. I don't expect clashes. Also the question is then - if one adds a child of GPIO expander named "foobar-hog" and it is not a GPIO hog, then what is it? Best regards, Krzysztof