Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp640777imw; Wed, 13 Jul 2022 05:31:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tpInyOr3XY86paHliZUQstgsqHInYGh6M2D6C/4nbvSaUAIqhRrXUsAH2rHOIqQtWrW126 X-Received: by 2002:a17:90b:4a83:b0:1ef:de4c:65f0 with SMTP id lp3-20020a17090b4a8300b001efde4c65f0mr10099591pjb.149.1657715484279; Wed, 13 Jul 2022 05:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657715484; cv=none; d=google.com; s=arc-20160816; b=RCsupAWYGc7xgIGNx2QkiZ2NNRC9tVlwFWz49kX2B77pEKaS3JG2oqDahuPCq/PJiu jmzZQR3uq6qi2Y2cFf0LiyMC2g+r6gDWPsAelVoaL8iCipYsfiJsm/sJwSyAQEkLJbm8 c2FnZDG0f2/E7a3InLbSftYYLRtSsgSBOvPfgw8iGz6e+ey4JiForo/XJAyO0gl5RLPw ebJCgpaxivUIwYBQ++kLfFVJS5n0isO/EZE0OIfzArWMpjRciBbTxd1GbANi+EHHYyum riqGEG6tZA0oVVsYNQkTsq43XedNZ3OQ4CAs0HhtrXkGTQDKLv154zDdcUgn+Tv1fGwL 2ozg== 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=hY/DzheLCg0VbuBOH1SoR4Jn7G8LgrCI2a6S3S81Qto=; b=YhfwCW+0BipdFF/ihdcy8QkPsFYK5RktgXURkz4p58CMOqXVF++FAjL2S3cZ37CBjh 5FmO0+zu1pxM5BjjnVul9AzGpeDjlHOifv2uiG6TmwcW18qQ5GeGlcmhEaVJ0Fd2Zt+j nrs/s71g4RoVSM5MEAks7w6SBzqp0D8oxxIRzgt/D9AbL/x7jh40lpbWfDMG0GhuD7VV AXCgdKKab2025OChj+dTx6J/CPkK3pvvR0J7NYIY/XlN3eE/WAD0Pz+yZzYBZ2Svnh36 rrDXBJaIW2vWKAD0oHX7wFO0gPVKWbFyiQMrIxSZ8r3WDZzt+9jGteU96V0EIcytQE9q lcXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=gGZulg3b; 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=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu18-20020a17090b389200b001f06f142d0fsi2934122pjb.101.2022.07.13.05.31.11; Wed, 13 Jul 2022 05:31:24 -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=@foss.st.com header.s=selector1 header.b=gGZulg3b; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236407AbiGMM0a (ORCPT + 99 others); Wed, 13 Jul 2022 08:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236449AbiGMMZ5 (ORCPT ); Wed, 13 Jul 2022 08:25:57 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 181CFECB9A; Wed, 13 Jul 2022 05:25:47 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26D8uJAv023228; Wed, 13 Jul 2022 14:25:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=hY/DzheLCg0VbuBOH1SoR4Jn7G8LgrCI2a6S3S81Qto=; b=gGZulg3bmSVzyMBi2Psy94w+lwfECK73kPsXyKle4m0kmGpa0dJ4OZxP8hFAHKJeReIM /Gbs8FDoD+A3EABBqsSoStMGo5lP8q3yNBmJMTTcNVK9sEQqoYNzAPzAn0u54Xre79SK K6NpGbYnvs9fcp9mLK8MSgz2wUIvm6UrD2CpYEPbG056aG6F/rOExf37tmNxH806gixm Va+t/LRIxJwSTGKstDGPAndqcZi0OzZ6Us0j6k+1CY8rPi7uxfbS0AzPEpmkiiRqN0EP 0noRPZ5RCjOSwUC6VyUCNJu13MiCtBdnKbamjsYNIY5CJ4ujiS7yPQFSp7Ko2vwXYzbV Ww== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3h94gugy74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Jul 2022 14:25:29 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0FC6610002A; Wed, 13 Jul 2022 14:25:29 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 09B8221F14C; Wed, 13 Jul 2022 14:25:29 +0200 (CEST) Received: from [10.48.1.102] (10.75.127.49) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Wed, 13 Jul 2022 14:25:28 +0200 Message-ID: <077731cf-0525-56af-c615-27cbb5f6e089@foss.st.com> Date: Wed, 13 Jul 2022 14:25:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] dt-bindings: mfd: stm32-timers: Move fixed string node names under 'properties' Content-Language: en-US To: Rob Herring , Lee Jones , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: , , , References: <20220706211934.567432-1-robh@kernel.org> From: Fabrice Gasnier In-Reply-To: <20220706211934.567432-1-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-12_14,2022-07-13_02,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,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 7/6/22 23:19, Rob Herring wrote: > Fixed string node names should be under 'properties' rather than > 'patternProperties'. Additionally, without beginning and end of line > anchors, any prefix or suffix is allowed on the specified node name. > > Move the stm32 timers 'counter' and 'timer' nodes to the 'properties' > section. > > Signed-off-by: Rob Herring Hi Rob, You can add my: Reviewed-by: Fabrice Gasnier Thanks and Best Regards, Fabrice > --- > .../bindings/mfd/st,stm32-lptimer.yaml | 28 +++++++++---------- > .../bindings/mfd/st,stm32-timers.yaml | 20 ++++++------- > 2 files changed, 24 insertions(+), 24 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml > index ec7f0190f46e..a58f08aa430d 100644 > --- a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml > +++ b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml > @@ -58,43 +58,43 @@ properties: > - "#pwm-cells" > - compatible > > -patternProperties: > - "^trigger@[0-9]+$": > + counter: > type: object > > properties: > compatible: > - const: st,stm32-lptimer-trigger > - > - reg: > - description: Identify trigger hardware block. > - items: > - minimum: 0 > - maximum: 2 > + const: st,stm32-lptimer-counter > > required: > - compatible > - - reg > > - counter: > + timer: > type: object > > properties: > compatible: > - const: st,stm32-lptimer-counter > + const: st,stm32-lptimer-timer > > required: > - compatible > > - timer: > +patternProperties: > + "^trigger@[0-9]+$": > type: object > > properties: > compatible: > - const: st,stm32-lptimer-timer > + const: st,stm32-lptimer-trigger > + > + reg: > + description: Identify trigger hardware block. > + items: > + minimum: 0 > + maximum: 2 > > required: > - compatible > + - reg > > required: > - "#address-cells" > diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml > index 10b330d42901..1bd663f886dc 100644 > --- a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml > +++ b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml > @@ -87,6 +87,16 @@ properties: > - "#pwm-cells" > - compatible > > + counter: > + type: object > + > + properties: > + compatible: > + const: st,stm32-timer-counter > + > + required: > + - compatible > + > patternProperties: > "^timer@[0-9]+$": > type: object > @@ -107,16 +117,6 @@ patternProperties: > - compatible > - reg > > - counter: > - type: object > - > - properties: > - compatible: > - const: st,stm32-timer-counter > - > - required: > - - compatible > - > required: > - compatible > - reg