Re: [PATCH v2 03/11] memory: mtk-smi: Use clk_bulk clock ops

2021-07-21 Thread Ikjoon Jang
On Thu, Jul 15, 2021 at 8:23 PM Yong Wu wrote: > > Use clk_bulk interface instead of the orginal one to simplify the code. > > SMI have several clocks: apb/smi/gals, the apb/smi clocks are required > for both smi-common and smi-larb while the gals clock are optional. > thus, use devm_clk_bulk_get

[PATCH v2 03/11] memory: mtk-smi: Use clk_bulk clock ops

2021-07-15 Thread Yong Wu
Use clk_bulk interface instead of the orginal one to simplify the code. SMI have several clocks: apb/smi/gals, the apb/smi clocks are required for both smi-common and smi-larb while the gals clock are optional. thus, use devm_clk_bulk_get for apb/smi and use devm_clk_bulk_get_optional for gals. F