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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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 F0A80C43461 for ; Fri, 11 Sep 2020 06:43:31 +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 ADC61221EB for ; Fri, 11 Sep 2020 06:43:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oD5kmKXy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADC61221EB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.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:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AQ1HYhWXumW/9PGMSay97pRc7PBMr2uWY/C9p8cqtoY=; b=oD5kmKXyo4AdUDI0VsmhGOS6U vDLAp8I7xoXGeLLlcT5wxIWM4jH7FnTOp8ydrPS7tkF3LSLUXBRO3W/g99/mrNSpTzuPzNQfgw9ye ClX5pisFaMva0hITdyEqNWZXOFaVDVZZsTOsAI4Z6X9rDpFqZmQI95skO8aSQBqf60c+/Hi6fh7Gr ueEiflfAEBdhuaas0t6RwkCdUJb9v1LNeIDaDDLjE6FvGOuIm+bfdYtZKcU3GRgtabRrd+th6KRHc Gob/s2WsMjkuOrqxlR59U8f8xWK59WbRKlWIJUpFKWVUkuTm6I8EumEH70wvf5qKoL2/9nWYXMKgA tjQW14x5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGcl7-0007KA-H2; Fri, 11 Sep 2020 06:42:09 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGcl4-0007JN-JT; Fri, 11 Sep 2020 06:42:07 +0000 Received: by mail-ot1-f68.google.com with SMTP id y5so7497323otg.5; Thu, 10 Sep 2020 23:42:04 -0700 (PDT) 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=Fd37rPIKQ8kE2t3AwO5/OmIuIXHedyKotPXtUMjyF2w=; b=J7kELYIceMojkFmMzjkICAtzYU6EbhHxwJs7n+Fhc+QbwYk0XTFcLXDBJSRqphgRly QiABjLcD0ga754MUf4I7z9rwyWV22tFNWnfau+V717pNKwilqfaPi0sQDE9oHHFvSocN taIF9b0+3le4aBeI298sDNzCH2hNxfbo0UcAG2OezgI+ofJkgSfhPdIdJkHTG/N78MPf mDuqH4YiZc00sapj7CE/qe9G071hFSq3E8aUM8GEuOiTJ4vgW5WzDwZoIvuBovg9qwaD vQEUPdzuBHr0nJk0uZA5x3yxpQLTk070SpKcKPir5F4BTvbYauHyipe6t/OOW1Ijipji rYww== X-Gm-Message-State: AOAM5301hBmzkCLykHG+a19m9OIobN7CeyP2cnWSDY5/EkD4qD4qwsEx WObWKfJ8DNH1KERv2m4Xi7g+4/OdCq+w5I5MxZM= X-Google-Smtp-Source: ABdhPJyHFeXfHoxVfoXb/lF9obDK4GQsw0s+uaaDCZdbjIAVpoMuCLbEzubvLMnxtVhpCEHmoeJzN55crOToqaVuB8s= X-Received: by 2002:a05:6830:1008:: with SMTP id a8mr296058otp.107.1599806523827; Thu, 10 Sep 2020 23:42: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: From: Geert Uytterhoeven Date: Fri, 11 Sep 2020 08:41:52 +0200 Message-ID: Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema To: Krzysztof Kozlowski X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200911_024206_648206_7D311649 X-CRM114-Status: GOOD ( 17.64 ) 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: Nishanth Menon , Andrew Lunn , Geert Uytterhoeven , Tony Lindgren , Linus Walleij , Michal Simek , Linux-Renesas , linux-aspeed@lists.ozlabs.org, Gregory Clement , Magnus Damm , Russell King , Bartosz Golaszewski , Joel Stanley , Guenter Roeck , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Jason Cooper , Sascha Hauer , Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , "open list:TI ETHERNET SWITCH DRIVER \(CPSW\)" , Linux ARM , 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 Hi Krzysztof, On Thu, Sep 10, 2020 at 8:54 PM 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? Perhaps you didn't find any other nodes as children of pca953x controllers? There are other hog nodes in other types of GPIO controllers. Typically they're named after the purpose, e.g. "wifi-disable", "i2c3_mux_oe_n", "pcie_sata_switch", "lcd0_mux". IMHO it's a hog if it contains a "gpio-hog" property, regardless of node naming. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel