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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDF78CCA479 for ; Wed, 13 Jul 2022 12:26:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236446AbiGMM0Y (ORCPT ); Wed, 13 Jul 2022 08:26:24 -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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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