[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241228-th1520-clk_ignore_unused-v1-0-c8f6333d1784@tenstorrent.com>
Date: Sat, 28 Dec 2024 23:47:41 -0800
From: Drew Fustini <dfustini@...storrent.com>
To: Drew Fustini <drew@...7.com>, Guo Ren <guoren@...nel.org>,
Fu Wei <wefu@...hat.com>, Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Jisheng Zhang <jszhang@...nel.org>,
Yangtao Li <frank.li@...o.com>
Cc: linux-riscv@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, Drew Fustini <dfustini@...storrent.com>
Subject: [PATCH 0/2] clk: thead: Fix TH1520 boot dependency on
clk_ignore_unused
Add the CLK_IGNORE_UNUSED flag to apb_pclk, cpu2peri_x2h_clk,
perisys_apb2_hclk and perisys_apb3_hclk. Without this flag, the boot
hangs after "clk: Disabling unused clocks" unless clk_ignore_unused
is in the kernel cmdline.
In order to allow individual clk gates to specify their own flags,
the call to devm_clk_hw_register_gate_parent_data() is changeed to
actually pass the clk flags instead of just 0.
This series is based on linux-next.
Signed-off-by: Drew Fustini <dfustini@...storrent.com>
---
Drew Fustini (2):
clk: thead: Fix clk gate registration to pass flags
clk: thead: Add CLK_IGNORE_UNUSED to fix TH1520 boot
drivers/clk/thead/clk-th1520-ap.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
base-commit: 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2
change-id: 20241227-th1520-clk_ignore_unused-32b2d02ede38
Best regards,
--
Drew Fustini <dfustini@...storrent.com>
Powered by blists - more mailing lists