Skip to content

Commit d0563d3

Browse files
Sota4Everkrzk
authored andcommitted
clk: samsung: exynos990: Add LHS_ACEL gate clock for HSI0 and update CLK_NR_TOP
Add the LHS_ACEL gate clock to the HSI0 clock controller. This clock is critical for USB functionality and mark it as critical to keep it enabled. Update CLK_NR_TOP to include the new clock. Signed-off-by: Denzeel Oliva <wachiturroxd150@gmail.com> Link: https://lore.kernel.org/r/20250831-usb-v2-2-00b9c0559733@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent eb9bc16 commit d0563d3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

drivers/clk/samsung/clk-exynos990.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/* NOTE: Must be equal to the last clock ID increased by one */
2020
#define CLKS_NR_TOP (CLK_DOUT_CMU_CLK_CMUREF + 1)
21-
#define CLKS_NR_HSI0 (CLK_GOUT_HSI0_XIU_D_HSI0_ACLK + 1)
21+
#define CLKS_NR_HSI0 (CLK_GOUT_HSI0_LHS_ACEL_D_HSI0_CLK + 1)
2222
#define CLKS_NR_PERIS (CLK_GOUT_PERIS_OTP_CON_TOP_OSCCLK + 1)
2323

2424
/* ---- CMU_TOP ------------------------------------------------------------- */
@@ -1332,6 +1332,10 @@ static const struct samsung_gate_clock hsi0_gate_clks[] __initconst = {
13321332
"gout_hsi0_xiu_d_hsi0_aclk", "mout_hsi0_bus_user",
13331333
CLK_CON_GAT_GOUT_BLK_HSI0_UID_XIU_D_HSI0_IPCLKPORT_ACLK,
13341334
21, CLK_IGNORE_UNUSED, 0),
1335+
GATE(CLK_GOUT_HSI0_LHS_ACEL_D_HSI0_CLK,
1336+
"gout_hsi0_lhs_acel_d_hsi0_clk", "mout_hsi0_bus_user",
1337+
CLK_CON_GAT_GOUT_BLK_HSI0_UID_LHS_ACEL_D_HSI0_IPCLKPORT_I_CLK,
1338+
21, CLK_IS_CRITICAL, 0),
13351339
};
13361340

13371341
static const struct samsung_cmu_info hsi0_cmu_info __initconst = {

0 commit comments

Comments
 (0)