[PATCH] drivers: clk: mtk: Decouple MediaTek clock drivers from SoC

Tom Rini trini at konsulko.com
Thu Jun 26 00:24:43 CEST 2025


On Sun, Jun 08, 2025 at 03:07:58AM +0200, Alicja Michalska wrote:

> As a part of ongoing coreboot/U-Boot payload work on modern ARM64
> Chromebooks, we need to decouple MediaTek's clock driver from depending
> on SoC targets.
> 
> This patch essentially mimicks behaviour of Qualcomm clock drivers in
> U-Boot, allowing us to pick them independently if we're building for
> coreboot target.
> 
> Choosing CONFIG_TARGET_$SOC will still automatically enable the clock
> driver for desired target, avoiding breakage.
> 
> Signed-off-by: Alicja Michalska <alicja.michalska at 9elements.com>

This breaks mt7629_rfb, please fix, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250625/30e2dc29/attachment.sig>


More information about the U-Boot mailing list