Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp693592rwb; Thu, 11 Aug 2022 08:23:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5KC9kSTZvci1vW9ecsKBIaAxK7Um49p0BlDPjPqXjdIWcSyRo9CUaB/7/BeH2AD4Z24RfD X-Received: by 2002:a05:6402:5384:b0:431:6d84:b451 with SMTP id ew4-20020a056402538400b004316d84b451mr31515373edb.46.1660231408813; Thu, 11 Aug 2022 08:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660231408; cv=none; d=google.com; s=arc-20160816; b=VzgYLEIxkPydmw6EPR8B5dVSIyiDGdPQ4Y6zV5AbUik0zew7p7ix8pbQvxeWwbkO+3 VRlOJygcCMwswhRdAOF2h3AGWbR+yFj0IHM9HC9CT2hgySoQIi2MjNBM4bYcB8btBK5M B56TYKa65VuO6PbIR3KUI1swMM43c66yRjrQsMPMW8+OyKVrX8qsO/xfBBYbyeoqF9Ev fg1YabioHMZPcnlbCyX5VW+J4c7DcvWN6e0tAeEFkB4nd+mNrOsb+P/BBu5a/e5JV9Su 6lzZ+wegdYIogvY/Eym80OBgu9N2rxBE3QoSYx3xCSQc4c2wRJ3Z3PvD3+5XGHeAvYdc 3tOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ythLCoVb9L2vBawwAE87aN65NfOERO7MePsawDGE0HM=; b=GZEVa/UoVt8pSi5y7+Ki4u131VP0LGdX4iusQXGDQkUoq9LKA9CFIULi8dJbdiA3md Ew7i38aJOcGs4zqUZWCqGZNNE+EXsHafGtTgWEF8B8Y7e28xNpovS6ITvJoK6yiTaTOf d3/1tcImuXw11o8p43xKk7j0pP+oriCVPlLT4Vhub281Bv1yi0N/rE0qQ5V48pXxUYMX H1QqOLnSHsQxuyvr4RsYrsR2h2NqcYoS9OZ443H7V6qx8alFyLw3M/a3G5YQNX6o+c9p mOPXLQoQty3uL3SF71XEtI4UPf6BEx3CBaoITpCvOUgK5hBVULjIkgjzm3hv8Z+qREja 9SHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GpHMp+mU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc44-20020a17090716ac00b00726e142a88esi8844297ejc.983.2022.08.11.08.23.02; Thu, 11 Aug 2022 08:23:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GpHMp+mU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235400AbiHKPKw (ORCPT + 99 others); Thu, 11 Aug 2022 11:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235543AbiHKPKq (ORCPT ); Thu, 11 Aug 2022 11:10:46 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5698525E82 for ; Thu, 11 Aug 2022 08:10:44 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so25997888lfr.2 for ; Thu, 11 Aug 2022 08:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=ythLCoVb9L2vBawwAE87aN65NfOERO7MePsawDGE0HM=; b=GpHMp+mUorkB7eVPzZYP3xQ08kbw0mkr0pImGlClMbek72EeegLNz+nhuMZOo7wuLu qzOjPuzyDt/Y/ThaKW3KFd16H+SO0VVDwWvTJKnr73a1nhQo8fQr0LvCzR+VBl1QL9f6 m1xSxv7/TpzHVngyUuhfrCYcVrAK0M2o8pR9d67WHzKPntTsGTIjYLMSd2BMshgaNv7f ZwfuvnLKFxkSo6EY4u84KS6jhrXCMD1PO9/uETlCO0Tac3Ey02V40jeHKh4uN13U3XOU 3gsVNo/HiWRRtRqs/cJtjtlwzh93ZwtURmiGfAm95rmKR13v4hPOrhsG13yhr0GvZotH SfTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=ythLCoVb9L2vBawwAE87aN65NfOERO7MePsawDGE0HM=; b=X+bIswlmATNqVQ9RK/KpFefkW9WS1gQ3ujwDnKXWkjK1bLxqxuL3J43eSnWeMVxYTG DvjQTet1G9gU9u3PFvuAox7do3Sm0ebAuPaGxB0ka1G+vXE4ws7GgBcMtKnpG++9iZpb FDLb0IpQHrDdH1eV2z2FCDn4MZNwk75pc+KpJcUoRvSJJfbFV+F2lFLRW43yRQj4V2y3 T2w9l+iF2xPLWfA9Nsk6VqjxnRQ9zZ3KBcCTNAoIP/Br5rn7aTJ0pbvm6vMmj4d2JOZf miOJ1sPy1L2J8NcOGxttyCBPJ39FVuNurb/R1TTKFJFLTGlLt3i7SGppnH4AhDhKa8wW ojnw== X-Gm-Message-State: ACgBeo3v4jVIb95++ADIk36L9sUqixwe70hNNzlO6nA2rHiKhv8nlg8M fJ3Bd4WRBJjpNUUrBAmS50ikBQ== X-Received: by 2002:a05:6512:2316:b0:48a:f2e3:be97 with SMTP id o22-20020a056512231600b0048af2e3be97mr10845161lfu.383.1660230642636; Thu, 11 Aug 2022 08:10:42 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id w12-20020a05651234cc00b0048137a6486bsm726277lfr.228.2022.08.11.08.10.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 08:10:42 -0700 (PDT) Message-ID: <01c832c4-6631-4865-30b3-7f060e27a7ff@linaro.org> Date: Thu, 11 Aug 2022 18:10:36 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [EXT] Re: [PATCH v4 1/3] dt-bindings: gpio: Add imx scu gpio driver bindings Content-Language: en-US To: Shenwei Wang , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linus.walleij@linaro.org" , "brgl@bgdev.pl" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "imx@lists.linux.dev" References: <20220811124135.95299-1-shenwei.wang@nxp.com> <20220811124135.95299-2-shenwei.wang@nxp.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/08/2022 17:52, Shenwei Wang wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Thursday, August 11, 2022 9:36 AM >> To: Shenwei Wang ; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; linus.walleij@linaro.org; brgl@bgdev.pl; >> shawnguo@kernel.org; s.hauer@pengutronix.de; kernel@pengutronix.de; >> festevam@gmail.com; dl-linux-imx >> Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linux- >> gpio@vger.kernel.org; linux-arm-kernel@lists.infradead.org; imx@lists.linux.dev >> Subject: [EXT] Re: [PATCH v4 1/3] dt-bindings: gpio: Add imx scu gpio driver >> bindings >>> diff --git >>> a/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml >>> b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml >>> new file mode 100644 >>> index 000000000000..a1b024cddc97 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml >>> +description: | >>> + This module provides the standard interface to control the >>> + resource pins in SCU domain on i.MX8 platforms. >>> + >>> +properties: >>> + compatible: >>> + enum: >>> + - fsl,imx8qxp-sc-gpio >> >> Now the filename does not match compatible. Use the same compatible as >> filename. > > The subnodes under fsl,scu.yaml have their own naming rule. For example, the watchdog > compatible is "fsl,imx-sc-wdt", but the file name is "fsl,scu-wdt.yaml". The other files have for example fsl,imx-sc-wdt, so they match compatible. > Is the filename required > to match its compatible? Yes, that's the convention. Otherwise people tend to name the files in whatever way they like... Best regards, Krzysztof