]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 21 Nov 2025 07:31:40 +0000 (08:31 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Dec 2025 13:04:41 +0000 (21:04 +0800)
Replace the 0 with IMX_LPCG_CLK_0 for LPCG clock indices. Although the
numerical value is identical, the LPCG input is defined as
IMX_LPCG_CLK_<n>, so using the symbolic constant improves clarity and
consistency with the LPCG clock naming convention.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/tqma8xxs.dtsi

index 2d0a329c2fa504357d425d452cb4a54b2412fc07..ebf20d5b5df9cb27d13cfc7b45c13fc683cc608e 100644 (file)
        assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>,
                          <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>,
                          <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>,
-                         <&sai1_lpcg 0>;
+                         <&sai1_lpcg IMX_LPCG_CLK_0>;
        assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_sai1>;