<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/clk/altera, branch v2026.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/altera?h=v2026.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/altera?h=v2026.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-09-30T06:29:56Z</updated>
<entry>
<title>drivers: clk: agilex: Use FIELD_GET during EMAC clock selection</title>
<updated>2025-09-30T06:29:56Z</updated>
<author>
<name>Naresh Kumar Ravulapalli</name>
<email>nareshkumar.ravulapalli@altera.com</email>
</author>
<published>2025-09-11T05:21:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ff686bcfd14689de3d6a6da9c35340449025ef5'/>
<id>urn:sha1:2ff686bcfd14689de3d6a6da9c35340449025ef5</id>
<content type='text'>
FIELD_GET() macro is used during EMAC clock source selection
for better code readability and maintainability.

Signed-off-by: Naresh Kumar Ravulapalli &lt;nareshkumar.ravulapalli@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex: Fix EMAC clock source selection</title>
<updated>2025-09-30T06:29:56Z</updated>
<author>
<name>Naresh Kumar Ravulapalli</name>
<email>nareshkumar.ravulapalli@altera.com</email>
</author>
<published>2025-09-11T05:21:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=924a9fc4021cf4899c6b1e26d28336f412aa296f'/>
<id>urn:sha1:924a9fc4021cf4899c6b1e26d28336f412aa296f</id>
<content type='text'>
Fix the incorrect bit masking and bit shift used to compute EMAC
control which in turn is used to select EMAC clock from EMAC
source A or B.

Signed-off-by: Naresh Kumar Ravulapalli &lt;nareshkumar.ravulapalli@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex: Support for enable/disable API</title>
<updated>2025-09-30T06:29:55Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@altera.com</email>
</author>
<published>2025-09-09T02:11:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=022b2159b5d24556b7623906de147260fe46e0f2'/>
<id>urn:sha1:022b2159b5d24556b7623906de147260fe46e0f2</id>
<content type='text'>
Update Agilex clock driver to support enabling or disabling
the peripheral clocks via clock driver model APIs.

The caller will pass the clock ID to this driver and the driver
will then proceed to manipulate the desired bit in the Agilex clock
manager peripheral PLL register based on the given clock ID.

Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>clk: altera: Add clock support for Agilex7 M-series</title>
<updated>2025-08-08T14:20:53Z</updated>
<author>
<name>Tingting Meng</name>
<email>tingting.meng@altera.com</email>
</author>
<published>2025-08-04T01:24:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a7c10054d0af0f5973999240f266dce8425725d'/>
<id>urn:sha1:7a7c10054d0af0f5973999240f266dce8425725d</id>
<content type='text'>
Agilex7 M-series reuse the clock driver from Agilex.

Signed-off-by: Tingting Meng &lt;tingting.meng@altera.com&gt;
Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex: Replace status polling with wait_for_bit_le32()</title>
<updated>2025-08-08T14:20:47Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@altera.com</email>
</author>
<published>2025-08-04T01:24:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a44423e7e920f4196a7d50fc9ec09c12ab322f89'/>
<id>urn:sha1:a44423e7e920f4196a7d50fc9ec09c12ab322f89</id>
<content type='text'>
Replace cm_wait_for_fsm() function with wait_for_bit_le32() function
which supports accurate timeout.

Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex: Use real clock source frequency</title>
<updated>2025-08-08T08:00:16Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@altera.com</email>
</author>
<published>2025-08-04T01:24:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=532fd00bdb763748d1c52f37203f3e04dbd4276a'/>
<id>urn:sha1:532fd00bdb763748d1c52f37203f3e04dbd4276a</id>
<content type='text'>
Update the ARMv8 generic timer frequency register (cntfrq_el0)
with the actual hardware timer frequency (COUNTER_FREQUENCY_REAL).

The generic timer frequency was set to 0x200000000 during boot clk
which needs to be set to 0x400000000 when transition from boot clk
to PLL clk.

This will ensure that subsequent timer operations are based on the
correct frequency, ensuring accurate timekeeping.

Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>clk: n5x: Fix misplaced paren</title>
<updated>2025-07-30T09:45:29Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-07-23T11:32:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dff25bb4abd082e852108b04beba0685a2980aaa'/>
<id>urn:sha1:dff25bb4abd082e852108b04beba0685a2980aaa</id>
<content type='text'>
Smatch reported an issue about the precedence of shift being higher than
mask in clk_get_emac_clk_hz. This turned out to be a misplaced paren in
one of the calculations. Fix this by placing the paren in the same place
as in the other similar calculations in the same function.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex5: Set PLL to asynchronous mode</title>
<updated>2025-02-25T16:53:41Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@intel.com</email>
</author>
<published>2025-02-18T08:34:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=58ef50ff9af1ac64fbfdc05188e8f053bef811c4'/>
<id>urn:sha1:58ef50ff9af1ac64fbfdc05188e8f053bef811c4</id>
<content type='text'>
PLL frequency would overshoot from the original target in
synchronous mode during low VCC voltage condition.

To resolve this issue, PLL is set to run on asynchronous mode
instead of enabling synchronous mode in the clock driver.

Signed-off-by: Muhammad Hazim Izzat Zamri &lt;muhammad.hazim.izzat.zamri@altera.com&gt;
Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex5: Replace status polling with wait_for_bit_le32()</title>
<updated>2025-02-25T16:53:37Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@intel.com</email>
</author>
<published>2025-02-18T08:34:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9e7986e0610d4131592c5885aa669e607298e739'/>
<id>urn:sha1:9e7986e0610d4131592c5885aa669e607298e739</id>
<content type='text'>
Replace cm_wait_for_fsm() function with wait_for_bit_le32() function
which supports accurate timeout.

Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Signed-off-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
<entry>
<title>drivers: clk: agilex5: Configure intosc as boot_clk source</title>
<updated>2025-02-25T16:53:35Z</updated>
<author>
<name>Alif Zakuan Yuslaimi</name>
<email>alif.zakuan.yuslaimi@intel.com</email>
</author>
<published>2025-02-18T08:34:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=746f5b8ddb71948bb01edbeacf7c786f5a0f615e'/>
<id>urn:sha1:746f5b8ddb71948bb01edbeacf7c786f5a0f615e</id>
<content type='text'>
Some customers prefer to minimize the use of external oscillators,
especially when using the FPGA first configuration mode.

By enabling the configuration of the HPS internal oscillator as
the boot_clk source instead of the default external oscillator,
(HPS_OSC_CLK) in non-secure boot scenarios, this allows them
to eliminate the need for an additional oscillator device and
a dedicated HPS pin, simplifying board layout and routing.

Signed-off-by: Tingting Meng &lt;tingting.meng@altera.com&gt;
Signed-off-by: Alif Zakuan Yuslaimi &lt;alif.zakuan.yuslaimi@altera.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;
</content>
</entry>
</feed>
