Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3203882pxk; Tue, 15 Sep 2020 12:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySvbuOcXZ/vSHFz2OcBUiK822vgs/Ef2jkQrFfmpAZwEbe8dIsD9I5Cjrgf0ctGNw2YHKQ X-Received: by 2002:a17:907:648:: with SMTP id wq8mr22823898ejb.291.1600199467133; Tue, 15 Sep 2020 12:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600199467; cv=none; d=google.com; s=arc-20160816; b=eEJ8yZgVAWvtdn4GcULFoeJ2ue6GAEwvzCYoW6MXFowHH/7VvmNXNPJJzDZfC2XMsu l/ko9gPnupvom0sAvzw3UImuitFn0JhugE4qsOMDMtw6t3mOvqyfGhQQxl48VquXGWhL +a3Dh9/psqZA9jmvUhdy6R+qRahPjoF0xf87vB/ZL/pPvoEq3XH4Vigo/GpAAB85lBGk WBaSF1o3IsywiqKxKhoqOFmZvPaQp1EoX3fDPU9qwMWZfml4G/FBMNobRuc+KLH3eHys QLrZB3mHdIupDacRNrwqYnHPOhY7Ihe3hPPr8i+YdWbg9k7qLZpFHOYIMMIg7SvrbkIT BOQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=vlMe/O0KpaLLn52vRtI2d+InOdmPVFJgxviIiqo487k=; b=g0FneVd0WprGe+j2dG5NmrNF8enFPP/WlkTnMUJYIXzjM17TdOhDjIO7Wog4mbSHUm GF7eIC1V/tX4e2SeidgD67oh5WX/GBHiFhHowohhwrMpTbBqrl+GB7CB/LINZ2bjbIO6 q1ka22IozrQcwEf62qeWg6wXkzN+klQMddmpgr8OBIrFG92qfSfaSQIJxWSHsOroHjnH Du0KK49uQ7v7pnzHoZ9udf0BR1Qczd+oWYQwXaKJ2jH50yqSJht9j4nC12XYPtWMul6U dqJgd/5/pMSU+cfbOz9I6iAvvPAbZdgs8vbb5p75sqLPa7fqVXlRuMr5zwPPBZyyhJIT gLVA== ARC-Authentication-Results: i=1; mx.google.com; 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 qx23si9905766ejb.355.2020.09.15.12.50.43; Tue, 15 Sep 2020 12:51:07 -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; 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 S1727909AbgIOTsh (ORCPT + 99 others); Tue, 15 Sep 2020 15:48:37 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:38071 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727755AbgIOTrp (ORCPT ); Tue, 15 Sep 2020 15:47:45 -0400 Received: by mail-il1-f194.google.com with SMTP id t18so4188416ilp.5; Tue, 15 Sep 2020 12:47:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vlMe/O0KpaLLn52vRtI2d+InOdmPVFJgxviIiqo487k=; b=Hx4JcNekRElzjsosTQx18YzIcAvdLGVEES+rJid6gQj8CuzpeLZiGqNN91MIJy46XI MPEYE2DZXkOwQsUYD9QW3wYY0zoROIvSvCxBz8JNFWdn4y+pq+PTXOt4/xhsK0pjfk5/ 7J6lXDHBJTBvAMjdGHbW77yU7mS1GYzmU6ZMlNCtBAe2MPmC0soev5xTEx/1mggZ3pG1 9QmQjf1azbHnRho0R3kVgpF/UtJGKgbc/RzWMpK5c0YxtFKAFApKa15QU/uRDCp9zMtT 5wCk6cB1o1WupcgC08+E4VOREBEW5qvRqYDXdqPYHTVdsV9LJpfzca/7mVc9e+1ARyaX 2Oiw== X-Gm-Message-State: AOAM530azeMPhpH9u6NYbGx0xkXn8phd0dSH1cuX1n8l/XFUbHa7hh/A 1k2YWDZQRD9HpQjSVJbMdw== X-Received: by 2002:a92:6901:: with SMTP id e1mr17859827ilc.209.1600199263981; Tue, 15 Sep 2020 12:47:43 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m15sm7972824iow.9.2020.09.15.12.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 12:47:43 -0700 (PDT) Received: (nullmailer pid 2389041 invoked by uid 1000); Tue, 15 Sep 2020 19:47:40 -0000 Date: Tue, 15 Sep 2020 13:47:40 -0600 From: Rob Herring To: Nishanth Menon Cc: Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , =?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 Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema Message-ID: <20200915194740.GA2385241@bogus> References: <20200910175733.11046-1-krzk@kernel.org> <20200910175733.11046-2-krzk@kernel.org> <20200910182814.veviax3n377undkv@akan> <20200910191305.phjtijx2fhkhqavu@akan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910191305.phjtijx2fhkhqavu@akan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 02:13:05PM -0500, Nishanth Menon wrote: > On 20:53-20200910, Krzysztof Kozlowski wrote: > > 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? > > Probably a nitpick.. but then,.. I have'nt seen us depend on hierarchy > for uniqueness of naming.. we choose for example "bus" no matter where > in the hierarchy it falls in, as long it is a bus.. etc.. same argument > holds good for properties as well.. "gpio-hog;" is kinda redundant if > you think of it for a compatible that is already gpio ;).. > > I did'nt mean to de-rail the discussion, but was curious what the DT > maintainers think.. Not really a fan of gpio-hog binding to have another type of hog nor can I imagine what that would be. Rob