public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx93: Fix the micfil clock-names entries
@ 2023-12-07 12:20 Fabio Estevam
  2023-12-14  2:13 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-12-07 12:20 UTC (permalink / raw)
  To: shawnguo; +Cc: linux-arm-kernel, chancel.liu, shengjiu.wang, Fabio Estevam

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(-)

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";
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: imx93: Fix the micfil clock-names entries
  2023-12-07 12:20 [PATCH] arm64: dts: imx93: Fix the micfil clock-names entries Fabio Estevam
@ 2023-12-14  2:13 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2023-12-14  2:13 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-arm-kernel, chancel.liu, shengjiu.wang, Fabio Estevam

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!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-14  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 12:20 [PATCH] arm64: dts: imx93: Fix the micfil clock-names entries Fabio Estevam
2023-12-14  2:13 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox