<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/clk/mediatek, branch v2026.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/mediatek?h=v2026.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/mediatek?h=v2026.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-12-16T17:14:31Z</updated>
<entry>
<title>clk: mediatek: remove duplicate '@parent' field doc</title>
<updated>2025-12-16T17:14:31Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2025-12-11T21:05:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9d08916a575beba3632c3969b96f74be08560ef7'/>
<id>urn:sha1:9d08916a575beba3632c3969b96f74be08560ef7</id>
<content type='text'>
Remove duplicate '@parent' field documentation in struct mtk_composite.
There is no need to say the same thing twice.

Also fix spelling mistake in the word "parent" while we're at it.

Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: add dummy clk enable/disable ops for apmixedsys clocks</title>
<updated>2025-05-22T19:55:05Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2025-05-06T08:12:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1bf212129768d65a47145209c65bf37b6082d718'/>
<id>urn:sha1:1bf212129768d65a47145209c65bf37b6082d718</id>
<content type='text'>
Starting from commit ac30d90f336 (clk: Ensure the parent clocks are enabled
while reparenting), MediaTek filogic platforms will crash on booting when
initializing mmc devices.

The root cause is that to simplify the code, we reused the topckgen ops for
apmixedsys clocks as they share the get_rate with topckgen clocks while the
clk enable/disable ops are not available for apmixedsys clocks.

Now that a clock will be enabled first before reparenting, we have to add
dummy enable/disable ops for apmixedsys to avoid unexpected behavior when
apmixedsys clocks are the parent clock of the to-be-reparenting clocks.

Fixes: 40746bf429d (clk: mediatek: add clock driver support for MediaTek MT7981 SoC)
Fixes: 37d5a9a29dc (clk: mediatek: add clock driver support for MediaTek MT7986 SoC)
Fixes: ece4e5804f5 (clk: mediatek: add clock driver support for MediaTek MT7987 SoC)
Fixes: 421436981a2 (clk: mediatek: add clock driver support for MediaTek MT7988 SoC)
Signed-off-by: Sam Shih &lt;sam.shih@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: remove CONFIG_MT8512</title>
<updated>2025-02-21T17:36:37Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2025-02-13T09:11:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c36945065fce960f0b7c104fa10cf4a6ec803b62'/>
<id>urn:sha1:c36945065fce960f0b7c104fa10cf4a6ec803b62</id>
<content type='text'>
Defining CONFIG_MT8512 is unnecessary as now board for mediatek
target can be changed in config.
Use CONFIG_TARGET_MT8512 to replace CONFIG_MT8512.

Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: add clock driver support for MediaTek MT7987 SoC</title>
<updated>2025-01-30T20:35:14Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2025-01-23T08:54:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ece4e5804f52a42271e21306c738f2bb4736bf2b'/>
<id>urn:sha1:ece4e5804f52a42271e21306c738f2bb4736bf2b</id>
<content type='text'>
This patch adds clock driver support for MediaTek MT7987 SoC

Signed-off-by: Sam Shih &lt;sam.shih@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: fix uninitialized fields issue in INFRA_MUX struct</title>
<updated>2025-01-23T18:11:49Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2025-01-17T09:16:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b033dfb21df8ae876ec69d84bc8c5fafd7aa8ced'/>
<id>urn:sha1:b033dfb21df8ae876ec69d84bc8c5fafd7aa8ced</id>
<content type='text'>
This patch adds missing initialization of fields in INFRA_MUX struct
which caused uart broken after any other infra mux being enabled by
'clk_prepare_enable'

Signed-off-by: Sam Shih &lt;sam.shih@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: mt7629: fix gate offset of peri clock tree</title>
<updated>2025-01-21T15:28:43Z</updated>
<author>
<name>Sam Shih</name>
<email>sam.shih@mediatek.com</email>
</author>
<published>2025-01-14T10:42:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=544916713943001446e627b2066f06d8aab608e5'/>
<id>urn:sha1:544916713943001446e627b2066f06d8aab608e5</id>
<content type='text'>
The clock definitions in mt7629-clk.h indicate that CLK_PERIBUS_SEL is the
first element in the pericfg clock tree and also serves as a clock mux,
unlike other clocks belonging to the clock gate in pericfg.

This make the clock consumer get a wrong clock gate during request a clock
from &lt;&amp;pericfg&gt;.

Since CLK_PERIBUS_SEL clock is not required in U-Boot, add a clock gate
offset for the pericfg clock tree to resolve this problem.

Signed-off-by: Sam Shih &lt;sam.shih@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: mt7629: fix parent clock of some top clock muxes</title>
<updated>2024-12-31T16:58:52Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2024-12-17T08:39:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6e45549f4dac42748d66462e04f940ef6737289d'/>
<id>urn:sha1:6e45549f4dac42748d66462e04f940ef6737289d</id>
<content type='text'>
According to the mt7629 programming guide, the CLK_TOP_F10M_REF_SEL
shares the same parent selection with CLK_TOP_IRRX_SEL, while the
present parent selection for CLK_TOP_F10M_REF_SEL is actually used
for CLK_TOP_SGMII_REF_1_SEL.

Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>Merge patch series "clk: mediatek: mt7622: clk migration for OF_UPSTREAM"</title>
<updated>2024-08-19T22:15:51Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-08-19T22:15:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa2efb08732aa4daded61fca8e488eb211b28ce4'/>
<id>urn:sha1:aa2efb08732aa4daded61fca8e488eb211b28ce4</id>
<content type='text'>
Christian Marangi &lt;ansuelsmth@gmail.com&gt; says:

These are all the required patches to migrate clk and correctly support
OF_UPSTREAM. This will align the clk index to upstream to support the same
clk implementation with downstream and upstream DTS.
</content>
</entry>
<entry>
<title>clk: mediatek: mt7622: add missing clock PERIBUS_SEL clock</title>
<updated>2024-08-19T22:15:26Z</updated>
<author>
<name>Christian Marangi</name>
<email>ansuelsmth@gmail.com</email>
</author>
<published>2024-08-03T08:43:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=105c78844a6cf72eefbfd614fc52da92bc0341f1'/>
<id>urn:sha1:105c78844a6cf72eefbfd614fc52da92bc0341f1</id>
<content type='text'>
Add missing PERIBUS_SEL clock to match upstream linux clk ID order. Also
convert pericfg to mux + gate implementation as now we have also mux on
top of gates.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>clk: mediatek: mt7622: add missing clock PERI_UART4_PD</title>
<updated>2024-08-19T22:15:26Z</updated>
<author>
<name>Christian Marangi</name>
<email>ansuelsmth@gmail.com</email>
</author>
<published>2024-08-03T08:43:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a776493f4b4b51515db456e635709a93e256dacd'/>
<id>urn:sha1:a776493f4b4b51515db456e635709a93e256dacd</id>
<content type='text'>
Add missing clock PERI_UART4_PD for peri clock gates. This is needed to
match upstream linux clk ID in preparation for OF_UPSTREAM.
Also convert infracfg to mux + gate implementation as now we have mux on
top of gates.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
