[PATCH] dt-bindings: rcc: Add common clock properties

Gabriel FERNANDEZ gabriel.fernandez at foss.st.com
Wed Feb 9 08:23:25 PST 2022


Hi Marek,

You can add

Acked-by: Gabriel Fernandez <gabriel.fernandez at foss.st.com>


On 2/7/22 16:43, Marek Vasut wrote:
> Add common properties appearing in DTSes (assigned-clocks and similar)
> to fix dtbs_check warnings like:
>
> arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: rcc at 50000000: 'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
> Cc: Gabriel Fernandez <gabriel.fernandez at foss.st.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> To: devicetree at vger.kernel.org
> ---
>   .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml          | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> index a0ae4867ed27e..9bcf198bae170 100644
> --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> @@ -62,6 +62,12 @@ properties:
>     reg:
>       maxItems: 1
>   
> +  clocks: true
> +  clock-names: true
> +  assigned-clocks: true
> +  assigned-clock-parents: true
> +  assigned-clock-rates: true
> +
>   required:
>     - "#clock-cells"
>     - "#reset-cells"



More information about the linux-arm-kernel mailing list