diff mbox series

arm64: dts: imx93: Fix the micfil clock-names entries

Message ID 20231207122056.2526158-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx93: Fix the micfil clock-names entries | expand

Commit Message

Fabio Estevam Dec. 7, 2023, 12:20 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

fsl,micfil.yaml defines the clock-names in the following sequence:

  clock-names:
    items:
      - const: ipg_clk
      - const: ipg_clk_app
      - const: pll8k
      - const: pll11k
      - const: clkext3
    minItems: 2

imx93.dtsi currently misses the 'pll11k' entry and jump to 'clkext3'.

This leads to the following dt-schema warning:

imx93-11x11-evk.dtb: micfil@44520000: clock-names:3: 'pll11k' was expected
	from schema $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml#

Fix the warning by describing the clocks up to 'pll8k' as 'clkext3'
is assigned to a dummy clock.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Comments

Shawn Guo Dec. 14, 2023, 2:13 a.m. UTC | #1
On Thu, Dec 07, 2023 at 09:20:56AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> fsl,micfil.yaml defines the clock-names in the following sequence:
> 
>   clock-names:
>     items:
>       - const: ipg_clk
>       - const: ipg_clk_app
>       - const: pll8k
>       - const: pll11k
>       - const: clkext3
>     minItems: 2
> 
> imx93.dtsi currently misses the 'pll11k' entry and jump to 'clkext3'.
> 
> This leads to the following dt-schema warning:
> 
> imx93-11x11-evk.dtb: micfil@44520000: clock-names:3: 'pll11k' was expected
> 	from schema $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml#
> 
> Fix the warning by describing the clocks up to 'pll8k' as 'clkext3'
> is assigned to a dummy clock.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index df064ecae6f3..0f4723bae43e 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -484,10 +484,8 @@  micfil: micfil@44520000 {
 					     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX93_CLK_PDM_IPG>,
 					 <&clk IMX93_CLK_PDM_GATE>,
-					 <&clk IMX93_CLK_AUDIO_PLL>,
-					 <&clk IMX93_CLK_DUMMY>;
-				clock-names = "ipg_clk", "ipg_clk_app",
-					      "pll8k", "clkext3";
+					 <&clk IMX93_CLK_AUDIO_PLL>;
+				clock-names = "ipg_clk", "ipg_clk_app", "pll8k";
 				dmas = <&edma1 29 0 5>;
 				dma-names = "rx";
 				status = "disabled";