Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp52716pxk; Thu, 10 Sep 2020 23:28:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydRmeYLncW9XsrGv5sSpHH6BPVcCz1QKZn55e1vRmhCdhy539otobum3+TRcj/pn2an9Lc X-Received: by 2002:a17:906:a1d8:: with SMTP id bx24mr559481ejb.161.1599805689859; Thu, 10 Sep 2020 23:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599805689; cv=none; d=google.com; s=arc-20160816; b=Zu8bXG384swgktftvMBIViqPpZWM86sH1vXSyMaXN/q4XvQi8V8J7d0MrpJTkClX+l 70rNv8x5Ej4vfoFkgbz0CDHMTLI/NT4oPHT6BuWBMN2ganjsFBhtm3P4FoHwCoqAlEI7 Frn0qUu7YgvTMOctm5TVc49j9Rl4qROaW8M/3JfLT1queQRqExxwuysA0OzFQ35NMgI8 r50jnP+VkvjrOqImG2Xr4KtyMEs3L4UgjVQ6lRVsXx1h4IWVu35bynIoJuAXH4SIa22P uJmcpPcUinFAhxgS6RjkiAFXv8zvdeJJClqgW56yHDJROGoTaN6S0RKtz5RbGjzDRxQr hjTQ== 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=F8q8VZI/KqEdOVJ9DW+ecexrsQ8uO8xdnTiT3lh40GY=; b=b0nWTjDsMOaZYtOO7srJQ5yAORVmkQShN+PvMs/DYxzPsZKh84ZM7OzM9GTPUJLFq9 ON6JbqzmSUc0N/62l9yKqAWlxx4MV/gIj6RNOwt5p2GNVIQXt2LQP0/Eft/c6AMZtKlH vljDb1g6bQXHBYWQzVLumZcJ37TmBXgaOpGzLr9E+h5Us/eo3Wvj809Fa4i0+3DwEfOh 3SdHO6R0hIfFrxlZ4lGemGqX1eXq1nAMR6dDC2125xPxe/ptzLMBVf/RPR+DrKZObQVK 4Khl4OLzUa4k86dAHnx8sCPDQquc6u8QxNXPs33E/9gaHqYp+SWLU/09MEVh9xL/zKKQ qM3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=iwxNNRSq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si669851ejd.606.2020.09.10.23.27.21; Thu, 10 Sep 2020 23:28:09 -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=@jms.id.au header.s=google header.b=iwxNNRSq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725768AbgIKGYp (ORCPT + 99 others); Fri, 11 Sep 2020 02:24:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbgIKGYm (ORCPT ); Fri, 11 Sep 2020 02:24:42 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE855C061573; Thu, 10 Sep 2020 23:24:39 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id lo4so12215856ejb.8; Thu, 10 Sep 2020 23:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F8q8VZI/KqEdOVJ9DW+ecexrsQ8uO8xdnTiT3lh40GY=; b=iwxNNRSqHQPPw7NRN3+AJDPYeet1cIe/BlZC9CmOPEmivDcmkXwVg6nAsHooODEeC8 9EO7FQ5VufnzEfm3/j4+SKpqHNDE2sPor9HObeojQJ7mkcSDKAYX3+dgbzEnwAmX/zt5 EgDmsRXXN/ycose+Vtdl1SotJHnNGv/5q06uU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F8q8VZI/KqEdOVJ9DW+ecexrsQ8uO8xdnTiT3lh40GY=; b=ReHO9jenfyt7qwSfmGBAa/jLJ526u0LwxWcSTShYipDrGDGZD69Noqi02tX4UvNX16 gGUCZwLjRG0KhWkJWjC1Zn9abhvcoSBWY/uCEwZw1oUud11Rf8mrDOQKHmnwDHnHbBss 3731djuCioFApyUEmLkzGkSlQpwoKPZrmCo67XnuJNFT2njalLelr7zKLK8AaoDxK6hO E9CUtGbinRFJukEAsNo0TrHFSW8/Bi+Yg1F4CRCRd/EAuVs2S9Bmd53YAv0G9qSI9DI8 8IUetcsami60d3p5tg4kAAwUVbM6Icm1MoUaD00fc2wrwQoY6tRoIs2SKEcfTlOEPz21 ZtJg== X-Gm-Message-State: AOAM531gQsapjao0URnJ4zcwePJNfV7J2JLQ6Gs29q/cDcJjMUp1pKaL ctor9DRS9gQDsV19oAWagxX6FLuwIqML39CnhxQ= X-Received: by 2002:a17:906:4c58:: with SMTP id d24mr630416ejw.108.1599805477428; Thu, 10 Sep 2020 23:24:37 -0700 (PDT) MIME-Version: 1.0 References: <20200910175733.11046-1-krzk@kernel.org> <20200910175733.11046-2-krzk@kernel.org> In-Reply-To: <20200910175733.11046-2-krzk@kernel.org> From: Joel Stanley Date: Fri, 11 Sep 2020 06:24:25 +0000 Message-ID: Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema To: Krzysztof Kozlowski 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 , Andrew Jeffery , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Magnus Damm , Tero Kristo , Nishanth Menon , Michal Simek , Guenter Roeck , devicetree , Linux Kernel Mailing List , linux-omap@vger.kernel.org, Linux ARM , linux-aspeed , 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 17:57, Krzysztof Kozlowski wrote: > > Convert the NXP PCA953x family of GPIO expanders bindings to device tree > schema. > > Signed-off-by: Krzysztof Kozlowski > +patternProperties: > + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": > + type: object > + properties: > + gpio-hog: true > + gpios: true > + input: true > + output-high: true > + output-low: true > + line-name: true > + > + required: > + - gpio-hog > + - gpios > + > + usb3-sata-sel-hog { > + gpio-hog; > + gpios = <4 GPIO_ACTIVE_HIGH>; > + output-low; > + line-name = "usb3_sata_sel"; I would prefer we didn't require the addition of hte -hog prefix. It's mostly just a matter of taste, but I can think of a few more concrete reasons: We don't require -high or -low prefixes, so the node name doesn't need to describe the properties that will be found below. Changing around node names for existing boards carries with it the chance of userspace breakage (as sysfs paths change). I would prefer we avoid that if possible. Cheers, Joel