Skip to contentSkip to conversation

clk: tegra: support 48MHz clock for pll_p_out1

PATCH RESEND New Svyatoslav Ryhel 1 participant 2 messages Jun 25

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover clk: tegra: support 48MHz clock for pll_p_out1

UEFI on Surface2 sets pll_p_out1 to 48MHz which is not supported by kernel and causes BUG() early on. Fix this by adding 48MHz clock support for pll_p_out1 along with 48MHz support for pll_a, main pll_p_out1 descendant.

---
Changes in v2:
- aligned with downstream 3.4 kernel for tegra114 logic
---

Dmitry Osipenko (1):
clk: tegra: support 48MHz clock for pll_p_out1

 drivers/clk/tegra/clk-pll.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.51.0
#1 lore raw

PATCH RESEND v2 1/1 clk: tegra: support 48MHz clock for pll_p_out1

From: Dmitry Osipenko <[email protected]>

UEFI on Surface2 sets pll_p_out1 to 48MHz which is not supported by kernel and causes BUG() early on. Add 48MHz clock support for pll_p_out1.

---
 drivers/clk/tegra/clk-pll.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/tegra/clk-pll.c +1 -0
index d86003b6d94f..adfb74f111ef 100644
@@ -575,6 +575,7 @@ static int _calc_rate(struct clk_hw *hw, struct tegra_clk_pll_freq_table *cfg,
 		break;
 	case 9600000:
 	case 28800000:
+	case 48000000:
 		/*
 		 * PLL_P_OUT1 rate is not listed in PLLA table
 		 */
Signature · 1 line
2.51.0