[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6485370-b5cc-4774-aac0-6141fcca4c00@foss.st.com>
Date: Mon, 15 Jul 2024 14:04:38 +0200
From: Valentin CARON <valentin.caron@...s.st.com>
To: Rob Herring <robh@...nel.org>
CC: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Krzysztof Kozlowski
<krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Alexandre Torgue
<alexandre.torgue@...s.st.com>,
<linux-rtc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
Amelie Delaunay <amelie.delaunay@...s.st.com>,
Valentin Caron
<valentin.caron@...s.st.com>
Subject: Re: [PATCH 1/4] dt-bindings: rtc: stm32: describe pinmux nodes
On 7/12/24 00:56, Rob Herring wrote:
> On Thu, Jul 11, 2024 at 04:08:40PM +0200, Valentin Caron wrote:
>> STM32 RTC is capable to handle 3 specific pins of the soc (out1, out2,
>> out2_rmp) and to outputs 2 signals (LSCO, alarm-a).
>>
>> This feature is configured thanks to pinmux nodes and pinctrl framework.
>> This feature is available with compatible st,stm32mp1-rtc and
>> st,stm32mp25-rtc only.
>>
>> Signed-off-by: Valentin Caron <valentin.caron@...s.st.com>
>> ---
>> .../devicetree/bindings/rtc/st,stm32-rtc.yaml | 28 +++++++++++++++++++
>> 1 file changed, 28 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml b/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml
>> index 7a0fab721cf1..09221c2f8a0c 100644
>> --- a/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml
>> +++ b/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml
>> @@ -53,6 +53,28 @@ properties:
>> override default rtc_ck parent clock phandle of the new parent clock of rtc_ck
>> maxItems: 1
>>
>> +patternProperties:
>> + "^rtc-[a-z]*-[0-9]+$":
>
> rtc--123 is valid? "*" should be "+"
>
> Otherwise,
>
> Reviewed-by: Rob Herring <robh@...nel.org>
Yes, it should be. I will add this in the next version.
Thanks,
Valentin
Powered by blists - more mailing lists