* [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
@ 2025-11-21 7:31 Alexander Stein
2025-11-21 7:31 ` [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: " Alexander Stein
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alexander Stein @ 2025-11-21 7:31 UTC (permalink / raw)
To: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Alexander Stein, linux, imx, linux-arm-kernel, devicetree,
linux-kernel
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>
---
arch/arm64/boot/dts/freescale/tqma8xxs.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
index 2d0a329c2fa50..ebf20d5b5df9c 100644
--- a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
+++ b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
@@ -406,7 +406,7 @@ &sai1 {
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>;
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
2025-11-21 7:31 [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices Alexander Stein
@ 2025-11-21 7:31 ` Alexander Stein
2025-11-21 16:00 ` Frank Li
2025-11-21 15:59 ` [PATCH 1/2] arm64: dts: tqma8xxs: " Frank Li
2025-12-29 12:47 ` Shawn Guo
2 siblings, 1 reply; 5+ messages in thread
From: Alexander Stein @ 2025-11-21 7:31 UTC (permalink / raw)
To: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Alexander Stein, linux, imx, linux-arm-kernel, devicetree,
linux-kernel
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>
---
arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
index 3d20e3bf32ce7..8bfe77113d64b 100644
--- a/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
+++ b/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
@@ -130,7 +130,7 @@ &i2c0 {
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 = <®_1v8>;
ldoin-supply = <®_3v3>;
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
2025-11-21 7:31 [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices Alexander Stein
2025-11-21 7:31 ` [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: " Alexander Stein
@ 2025-11-21 15:59 ` Frank Li
2025-12-29 12:47 ` Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-11-21 15:59 UTC (permalink / raw)
To: Alexander Stein
Cc: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux, imx,
linux-arm-kernel, devicetree, linux-kernel
On Fri, Nov 21, 2025 at 08:31:40AM +0100, Alexander Stein wrote:
> 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>
> arch/arm64/boot/dts/freescale/tqma8xxs.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> index 2d0a329c2fa50..ebf20d5b5df9c 100644
> --- a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> +++ b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> @@ -406,7 +406,7 @@ &sai1 {
> 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>;
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
2025-11-21 7:31 ` [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: " Alexander Stein
@ 2025-11-21 16:00 ` Frank Li
0 siblings, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-11-21 16:00 UTC (permalink / raw)
To: Alexander Stein
Cc: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux, imx,
linux-arm-kernel, devicetree, linux-kernel
On Fri, Nov 21, 2025 at 08:31:41AM +0100, Alexander Stein wrote:
> 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>
> arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
> index 3d20e3bf32ce7..8bfe77113d64b 100644
> --- a/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
> +++ b/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi
> @@ -130,7 +130,7 @@ &i2c0 {
> 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 = <®_1v8>;
> ldoin-supply = <®_3v3>;
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices
2025-11-21 7:31 [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices Alexander Stein
2025-11-21 7:31 ` [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: " Alexander Stein
2025-11-21 15:59 ` [PATCH 1/2] arm64: dts: tqma8xxs: " Frank Li
@ 2025-12-29 12:47 ` Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2025-12-29 12:47 UTC (permalink / raw)
To: Alexander Stein
Cc: Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux, imx, linux-arm-kernel,
devicetree, linux-kernel
On Fri, Nov 21, 2025 at 08:31:40AM +0100, Alexander Stein wrote:
> 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>
Applied both, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-29 12:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-21 7:31 [PATCH 1/2] arm64: dts: tqma8xxs: replace 0 with IMX_LPCG_CLK_0 for lpcg indices Alexander Stein
2025-11-21 7:31 ` [PATCH 2/2] arm64: dts: tqma8xxs-mb-smarc-2: " Alexander Stein
2025-11-21 16:00 ` Frank Li
2025-11-21 15:59 ` [PATCH 1/2] arm64: dts: tqma8xxs: " Frank Li
2025-12-29 12:47 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).