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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 A5109C433E2 for ; Tue, 15 Sep 2020 19:49:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F33F2078D for ; Tue, 15 Sep 2020 19:49:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gTzaK0R7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F33F2078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ueefpfc/XvQIlgbk3RumSdKxWbPRbCZQO6sCLKED5qM=; b=gTzaK0R7zXtvXxdtB4W98Qoxv PF79Sc+IfkzcY6hUBdJcjLw+ifNn3b819q2A3PpCIzqdyGf/jT9E4L9RMkM923IUDpvEdkNhFGKgF +QCqdMpmVoS1H+DTM+j6hsRRoSGzf1gMDt6zVfT0SZyIq9SFplwdEm1n0mkGFnDotC45I1z+xCDBk vpnBZsU0Ipj3sez/58w5BO2i/x3GJMaymyM3+yx075huDMOFACvnphBTpbxKnys39eT5LTJitMsoE n4e+tNOcR6LjQbBq1xwCvFCc0c667venYGkTVHXxnQeYBCkf06lrPgfGSfsMtiV7j4dKEXMPu6oiv PR6UaDrYg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGvc-0004KC-5L; Tue, 15 Sep 2020 19:47:48 +0000 Received: from mail-il1-f195.google.com ([209.85.166.195]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGvY-0004Ig-RU; Tue, 15 Sep 2020 19:47:46 +0000 Received: by mail-il1-f195.google.com with SMTP id x2so4220344ilm.0; 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=kHmH5rFnbeP9QI+L36T8D2A47PvTOaDqXjmclgP/Zz0UlQyuVg9OhdUxBM90xuxJcL DIPaqyxrE/AeYmaxwKcRxQT8Cf/jTSJ4nfxGNuCuYJKZh8ebhRltTadmMLY+C2jdk/gh jkxoyHVO8aprsGYQcJExp7XNR0BiA3g5btlEkuQFmX5qwt376N6nx3YR95a2m0yDFoR5 +ZAMd++W15nkZWBQGMIsnBkeKBzGzsCdQQzWTPJGpZ0d9rn/o2KspjPdjsXx3XoYRlbQ 412Vxnd4uM8HAeD0tOwIRxBihM90zig45FEKg3DEOgew4CJcOOh9/F+rRiPZ8lTq90Kx Ofiw== X-Gm-Message-State: AOAM532KBPcBnVn2a+6XhRhs8lvSrj3mMLpPZWx7gZo1QQ0pbBPYO4KK JgXop6MrbTyo80TmJv9g5Q== X-Google-Smtp-Source: ABdhPJyJBucL9yXLzWld+N7C06O44ALNqm0DtTmTngrhGguRJncbPkgBRf60HAkVwNDjrR37f44klQ== 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 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-Disposition: inline In-Reply-To: <20200910191305.phjtijx2fhkhqavu@akan> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_154744_945196_6CEFE387 X-CRM114-Status: GOOD ( 20.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Geert Uytterhoeven , Tony Lindgren , Linus Walleij , Michal Simek , linux-renesas-soc@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Gregory Clement , Magnus Damm , Russell King , Krzysztof Kozlowski , Bartosz Golaszewski , Joel Stanley , Guenter Roeck , NXP Linux Team , devicetree@vger.kernel.org, Jason Cooper , Sascha Hauer , linux-mediatek@lists.infradead.org, Matthias Brugger , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Jeffery , "linux-kernel@vger.kernel.org" , Tero Kristo , Pengutronix Kernel Team , Sebastian Hesselbarth , Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel