Skip to content

Commit 7c909b0

Browse files
committed
Merge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux
Pull clock driver fix from Mike Turquette: "A single patch to re-enable audio which is broken on all DRA7 SoC-based platforms. Missed this one from the last set of fixes" * tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux: clk: ti: clk-7xx: Correct ABE DPLL configuration
2 parents 5196626 + a74c52d commit 7c909b0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/clk/ti/clk-7xx.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <linux/clkdev.h>
1717
#include <linux/clk/ti.h>
1818

19-
#define DRA7_DPLL_ABE_DEFFREQ 361267200
19+
#define DRA7_DPLL_ABE_DEFFREQ 180633600
2020
#define DRA7_DPLL_GMAC_DEFFREQ 1000000000
2121

2222

@@ -322,6 +322,11 @@ int __init dra7xx_dt_clk_init(void)
322322
if (rc)
323323
pr_err("%s: failed to configure ABE DPLL!\n", __func__);
324324

325+
dpll_ck = clk_get_sys(NULL, "dpll_abe_m2x2_ck");
326+
rc = clk_set_rate(dpll_ck, DRA7_DPLL_ABE_DEFFREQ * 2);
327+
if (rc)
328+
pr_err("%s: failed to configure ABE DPLL m2x2!\n", __func__);
329+
325330
dpll_ck = clk_get_sys(NULL, "dpll_gmac_ck");
326331
rc = clk_set_rate(dpll_ck, DRA7_DPLL_GMAC_DEFFREQ);
327332
if (rc)

0 commit comments

Comments
 (0)