lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee447d45-a7af-4af4-ba6c-5341b8428db3@foss.st.com>
Date: Thu, 28 Aug 2025 17:28:02 +0200
From: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
To: Christophe ROULLIER <christophe.roullier@...s.st.com>,
        Yannick Fertre
	<yannick.fertre@...s.st.com>,
        Philippe Cornu <philippe.cornu@...s.st.com>,
        Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
        Maxime Ripard
	<mripard@...nel.org>,
        Thomas Zimmermann <tzimmermann@...e.de>,
        David Airlie
	<airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
        Rob Herring
	<robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley
	<conor+dt@...nel.org>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        "Alexandre Torgue" <alexandre.torgue@...s.st.com>,
        Catalin Marinas
	<catalin.marinas@....com>,
        Will Deacon <will@...nel.org>
CC: <dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
        <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 06/13] dt-bindings: arm: stm32: add required
 #clock-cells property



On 8/28/25 17:18, Christophe ROULLIER wrote:
> On 8/22/25 16:34, Raphael Gallais-Pou wrote:
>> On STM32MP25 SoC, the syscfg peripheral provides a clock to the display
>> subsystem through a multiplexer.  Since it only provides a single clock,
>> the cell value is 0.
>>
>> Doing so allows the clock consumers to reach the peripheral and gate the
>> clock accordingly.
>>
>> Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
>> Reviewed-by: Yannick Fertre <yannick.fertre@...s.st.com>
>> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
>> ---
>>   .../bindings/arm/stm32/st,stm32-syscon.yaml        | 31 +++++++++++++++-------
>>   1 file changed, 21 insertions(+), 10 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
>> b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
>> index
>> ed97652c84922813e94b1818c07fe8714891c089..95d2319afe235fa86974d80f89c9deeae2275232
>> 100644
>> --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
>> +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
>> @@ -36,20 +36,31 @@ properties:
>>     clocks:
>>       maxItems: 1
>>   +  "#clock-cells":
>> +    const: 0
>> +
>>   required:
>>     - compatible
>>     - reg
>>   -if:
>> -  properties:
>> -    compatible:
>> -      contains:
>> -        enum:
>> -          - st,stm32mp157-syscfg
>> -          - st,stm32f4-gcan
>> -then:
>> -  required:
>> -    - clocks
>> +allOf:
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          contains:
>> +            enum:
>> +              - st,stm32mp157-syscfg
>> +              - st,stm32f4-gcan
>> +    then:
>> +      required:
>> +        - clocks
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          const: st,stm32mp25-syscfg
>> +    then:
>> +      required:
>> +        - "#clock-cells"
>>     additionalProperties: false
>>  
> Acked-by: Christophe Roullier <christophe.roullier@...s.st.com>
>
> You can merge it on DRM MISC.

Thanks Christophe ! :)

Best regards,
Raphaël
>
> Best Regards,
>   Christophe
>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ