Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1314603pxk; Thu, 10 Sep 2020 12:15:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzi/ao7RkPdwChO1Bo/gP8N/LS/yhPt5yHLipiJYqS2Vat5S5gcjjeMrgoH3WpBKtOwrGw X-Received: by 2002:a17:906:7fca:: with SMTP id r10mr10278646ejs.534.1599765321590; Thu, 10 Sep 2020 12:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599765321; cv=none; d=google.com; s=arc-20160816; b=r5HiyPC8GLs7rzi2r6TKsaaf779qHanpGsqhvg1aMlvxIGZ2ytNZZ5335X7NHtouce NFESmlWuOItyW2m78/PC0xJmLh0R1uC9cDXiStQi78BZw1cYlPjyEKW+5hoxjRaVIvS8 UOsNMX5tVzT2u6/oi6llZCFee3i41qgJqEJLYSo0Jf/0RUDypc3sxeGaH8YIEpc+/0vt O9NDSQI+wQqmkOePiQF+IgyEkuYsxHvCYAvLOqgOlHosmBbJ9EgD97qp5ewq/kVhsNmj 4/0LY/KvSKw83rDNw3EO/a/NRV9t2YFCG1wEN9yMbDCfQsomQLjdy0nLZgdOuvP+mgQ0 LUPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wVHpXIuoo9L0dFhVi0aJ08O8whODuj4HNYWrOX4NFVw=; b=eASzhXUiogCEJWc4ZUOJwrlC8D8R8MXNUspn7UMVmH5Ma1GKmicfW8UgzJeb3tQTt5 HDO9/2J0yGW+qkIPuZUCRACWUe3qkM0CgF++docZysK2gDQE937r4mGUEiK4w2PPhjB5 jhy7BWp066KY+4Xo92nCiAnfq+ix/Lvm+PkytEXJtFBHcsb/ADyTz87ZE6AvW/gVmAOA Q8MFnzDNgZnL3U5/vu17zFXm9sp6KIe6zO5X2tJjdLuh3T6pQsaik9p+vj0RhhTkwFII 8eGsvWVoDhaPHyW4eMHgcR7tYS15ns2jyzShpB9GSG2exrKXYCMufbjTFXwMKHncqdvU PE0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yl4BPTxd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si4178718eds.204.2020.09.10.12.14.59; Thu, 10 Sep 2020 12:15:21 -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=@ti.com header.s=ti-com-17Q1 header.b=yl4BPTxd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbgIJTOT (ORCPT + 99 others); Thu, 10 Sep 2020 15:14:19 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:46390 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726848AbgIJTNy (ORCPT ); Thu, 10 Sep 2020 15:13:54 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08AJD8rM024418; Thu, 10 Sep 2020 14:13:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599765188; bh=wVHpXIuoo9L0dFhVi0aJ08O8whODuj4HNYWrOX4NFVw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=yl4BPTxdastirBjKVIUEbYlKhJVs+eC45YfSESLfNSGpRaj5H77Wldw4r+pESKZsA GdjSwevWbvMm9fEk+EOkbjovsCE08XrltrwJ+zugtJRJRX9XUlJZ7oALrK6tDZdhKW ZKzX5baYKc4I7S2SLccZUq0PnF4UKdn5S7ybT5/k= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08AJD8s5064725 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Sep 2020 14:13:08 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 10 Sep 2020 14:13:07 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 10 Sep 2020 14:13:07 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08AJD5v2030041; Thu, 10 Sep 2020 14:13:07 -0500 Date: Thu, 10 Sep 2020 14:13:05 -0500 From: Nishanth Menon To: Krzysztof Kozlowski CC: Linus Walleij , Bartosz Golaszewski , Rob Herring , =?iso-8859-1?Q?Beno=EEt?= 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 , , "linux-kernel@vger.kernel.org" , , , , , Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema Message-ID: <20200910191305.phjtijx2fhkhqavu@akan> References: <20200910175733.11046-1-krzk@kernel.org> <20200910175733.11046-2-krzk@kernel.org> <20200910182814.veviax3n377undkv@akan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D