[PATCH] ARM: dts: imx6qdl-tx6: Fix 'fixed-clock' description

Lothar Waßmann LW at KARO-electronics.de
Mon Oct 7 23:15:09 PDT 2024


Hi,

> From: Fabio Estevam <festevam at denx.de>
> 
> Per fixed-clock.yaml, it is not correct to pass unit address and
> reg to represent 'fixed-clock'.
> 
> Remove it to fix the following dt-schema warning:
> 
> clock at 0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Reported-by: Rob Herring <robh at kernel.org>
> Closes: https://lore.kernel.org/linux-arm-kernel/172808887941.121658.5039774358299826312.robh@kernel.org/
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Acked-by: Lothar Waßmann <LW at KARO-electronics.de>

> ---
>  arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi
> index 5a194f4c0cb9..2fa37d1b16cc 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi
> @@ -70,9 +70,8 @@ clocks {
>  		#address-cells = <1>;
>  		#size-cells = <0>;
>  
> -		mclk: clock at 0 {
> +		mclk: clock {
>  			compatible = "fixed-clock";
> -			reg = <0>;
>  			#clock-cells = <0>;
>  			clock-frequency = <26000000>;
>  		};

Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list