aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/thead
AgeCommit message (Collapse)AuthorFilesLines
2024-07-31clk: thead: fix dependency on clk_ignore_unusedDrew Fustini1-1/+1
Add the CLK_IGNORE_UNUSED flag to the vp-axi clock (CLK_VP_AXI) to avoid depending on clk_ignore_unused in the cmdline. Without this fix, the emmc-sdio clock (CLK_EMMC_SDIO) fails to work after vp-axi is disabled. Signed-off-by: Drew Fustini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks") Signed-off-by: Stephen Boyd <[email protected]>
2024-07-22clk: T-Head: Disable on 32-bit TargetsPalmer Dabbelt1-0/+1
This fails to build on 32-bit targets because of a missing __udivdi3. IIRC the right way to fix that is to avoid the division, but I just want a tree that builds and the only real T-Head platforms are 64-bit right now. Signed-off-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Drew Fustini <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
2024-07-15clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocksDrew Fustini3-0/+1103
Add support for the AP sub-system clock controller in the T-Head TH1520. This include CPU, DPU, GMAC and TEE PLLs. Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf Co-developed-by: Yangtao Li <[email protected]> Signed-off-by: Yangtao Li <[email protected]> Co-developed-by: Jisheng Zhang <[email protected]> Signed-off-by: Jisheng Zhang <[email protected]> Link: https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/tree/main/docs Signed-off-by: Drew Fustini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>