Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1301480pxk; Thu, 10 Sep 2020 11:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0n/a+LzH2DMuXUja0pP4cb1BwnlAxOB+VZ75amrt32wQuwZd0n9GE/nkelfcgvZY5bKn0 X-Received: by 2002:a50:d942:: with SMTP id u2mr11221199edj.0.1599764180450; Thu, 10 Sep 2020 11:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599764180; cv=none; d=google.com; s=arc-20160816; b=Q5aRWjjFYdowFvPcyB/24ro+aeKnqsuX3ZvijoHBiISYGaNx7cj1dDpMiiJTRy0JQh s8kJr3FDNcFzRSnLMz02RnmkvYwPJh985v4rXs3nYwrpTlskoIwmRzag+UCgnt0ejUOS /sfd0DeqUk5uXe1CsBZFBjySxUlaSlVSSatTENWuIxmatEwsKhjwZD5ocVfc/DtqO6yt 031eXkHpEEHmjgIEjDeeCMUB5uIhkIqQeKjmPhLv6z7FIJJTJNYCIooh8zdOHfvDMv2d d2NhEPyA5QyWTtBrF0f5PkCelXO5Zl0WibM3wgFCNNiDnbVbHBAI9LEWiDw2nQzYpRug qU6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+dtRbmpbYWJUGobu4hCfYgbCPaBl21u8nszSyjuKL8M=; b=clhHtAG3yULnW7b+JusWXjFV1NN8tbeU2FQsznDe/6gBGNqMysV3/hMKL/6kRBi2OD goZQL1F3j1BIkAnBZqE4vLR3jMJOiu+fV/Qf+Hs+89QBEhSzhwjsGMpmV4VwP1tHz8WB /iyN0Lo0AYBt/bIMnGRkSM2KCu+dDEUlpGzCA1XsPK84bF/ns01PZU07+njV8yv7b7Uf 4d/wmTkjaa5Hkb7dbTA1PUqCLG1teebhsho1Fkx6niHMZcMa3LXX4H5KbFK3INr8/loD 5C7U3cfpLESQitXQaQV3gLC0uNpMPZDzdMIWXVp/LspVDMNKt+K84A6J5Z6e1tlsaZaA 8yCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NWf2TTe7; 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 b10si4049612edm.281.2020.09.10.11.55.52; Thu, 10 Sep 2020 11:56:20 -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=NWf2TTe7; 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 S1726731AbgIJSzL (ORCPT + 99 others); Thu, 10 Sep 2020 14:55:11 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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