* [PATCH] arm64: zynqmp: Add 'silabs, skip-recall' to all si570 clk nodes
@ 2024-01-25 8:07 Michal Simek
2024-02-06 11:32 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2024-01-25 8:07 UTC (permalink / raw)
To: u-boot, git; +Cc: Saeed Nowshadi, Radhey Shyam Pandey, Tom Rini
From: Saeed Nowshadi <saeed.nowshadi@amd.com>
Without 'silabs,skip-recall' property, the driver on System Controller
re-calibrates the output clock frequency at probe() time based on the NVRAM
setting. This re-calibration causes a glitch on the output clock. At
power-on, Versal is also booting and expecting a glitch-free clock for
its correct operation. System Controller should skip the re-calibration
step to prevent any clock instability for Versal.
Signed-off-by: Saeed Nowshadi <saeed.nowshadi@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index f1b0a4aa65dd..0b97fa3f28ac 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -449,6 +449,7 @@
factory-fout = <156250000>;
clock-frequency = <156250000>;
clock-output-names = "si570_zsfp_clk";
+ silabs,skip-recall;
};
};
i2c@6 { /* USER_SI570_1 */
@@ -463,6 +464,7 @@
factory-fout = <100000000>;
clock-frequency = <100000000>;
clock-output-names = "si570_user1";
+ silabs,skip-recall;
};
};
@@ -560,6 +562,7 @@
factory-fout = <200000000>;
clock-frequency = <200000000>;
clock-output-names = "si570_lpddr4_clk2";
+ silabs,skip-recall;
};
};
i2c@5 { /* LPDDR4_SI570_CLK1 */
@@ -574,6 +577,7 @@
factory-fout = <200000000>;
clock-frequency = <200000000>;
clock-output-names = "si570_lpddr4_clk1";
+ silabs,skip-recall;
};
};
i2c@6 { /* HSDP_SI570 */
@@ -588,6 +592,7 @@
factory-fout = <156250000>;
clock-frequency = <156250000>;
clock-output-names = "si570_hsdp_clk";
+ silabs,skip-recall;
};
};
i2c@7 { /* 8A34001 - U219B and J310 connector */
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: zynqmp: Add 'silabs, skip-recall' to all si570 clk nodes
2024-01-25 8:07 [PATCH] arm64: zynqmp: Add 'silabs, skip-recall' to all si570 clk nodes Michal Simek
@ 2024-02-06 11:32 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2024-02-06 11:32 UTC (permalink / raw)
To: u-boot, git; +Cc: Saeed Nowshadi, Radhey Shyam Pandey, Tom Rini
On 1/25/24 09:07, Michal Simek wrote:
> From: Saeed Nowshadi <saeed.nowshadi@amd.com>
>
> Without 'silabs,skip-recall' property, the driver on System Controller
> re-calibrates the output clock frequency at probe() time based on the NVRAM
> setting. This re-calibration causes a glitch on the output clock. At
> power-on, Versal is also booting and expecting a glitch-free clock for
> its correct operation. System Controller should skip the re-calibration
> step to prevent any clock instability for Versal.
>
> Signed-off-by: Saeed Nowshadi <saeed.nowshadi@amd.com>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> index f1b0a4aa65dd..0b97fa3f28ac 100644
> --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -449,6 +449,7 @@
> factory-fout = <156250000>;
> clock-frequency = <156250000>;
> clock-output-names = "si570_zsfp_clk";
> + silabs,skip-recall;
> };
> };
> i2c@6 { /* USER_SI570_1 */
> @@ -463,6 +464,7 @@
> factory-fout = <100000000>;
> clock-frequency = <100000000>;
> clock-output-names = "si570_user1";
> + silabs,skip-recall;
> };
>
> };
> @@ -560,6 +562,7 @@
> factory-fout = <200000000>;
> clock-frequency = <200000000>;
> clock-output-names = "si570_lpddr4_clk2";
> + silabs,skip-recall;
> };
> };
> i2c@5 { /* LPDDR4_SI570_CLK1 */
> @@ -574,6 +577,7 @@
> factory-fout = <200000000>;
> clock-frequency = <200000000>;
> clock-output-names = "si570_lpddr4_clk1";
> + silabs,skip-recall;
> };
> };
> i2c@6 { /* HSDP_SI570 */
> @@ -588,6 +592,7 @@
> factory-fout = <156250000>;
> clock-frequency = <156250000>;
> clock-output-names = "si570_hsdp_clk";
> + silabs,skip-recall;
> };
> };
> i2c@7 { /* 8A34001 - U219B and J310 connector */
Applied.
M
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-06 11:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 8:07 [PATCH] arm64: zynqmp: Add 'silabs, skip-recall' to all si570 clk nodes Michal Simek
2024-02-06 11:32 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox