]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: tqma8xxs-mb-smarc-2: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 21 Nov 2025 07:31:41 +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-mb-smarc-2.dtsi

index 3d20e3bf32ce7c963467c6ecc436ce5dc3e51b7d..8bfe77113d64b943f6c7c76f7cf2f1e4615b88be 100644 (file)
        tlv320aic3x04: audio-codec@18 {
                compatible = "ti,tlv320aic32x4";
                reg = <0x18>;
-               clocks = <&mclkout0_lpcg 0>;
+               clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>;
                clock-names = "mclk";
                iov-supply = <&reg_1v8>;
                ldoin-supply = <&reg_3v3>;