diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-03-28 10:51:36 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2024-04-03 08:45:55 +0800 |
commit | cb8d3006d5ceea3f78c7ab06bfeb63820b31e7ad (patch) | |
tree | 03c4e4ae904f4c773c3a5efc339bf76fe096f534 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8a1365c7bbc122bd843096f0008d259e7a8afc61 (diff) |
arm64: dts: imx8: fix audio lpcg index
lpcg cell0 should be clock's 'indices' instead of 'index'.
imx_lpcg_of_clk_src_get(struct of_phandle_args *clkspec, void *data)
{
struct clk_hw_onecell_data *hw_data = data;
unsigned int idx = clkspec->args[0] / 4;
....
}
<@sai0_lpcg 1> will be the same as <@sai_lpcg 0>.
Replace 0 with IMX_LPCG_CLK_0 and replace 1 with IMX_LPCG_CLK_4.
It can work at iMX8QXP because IMX_LPCG_CLK_4 is ipg clock, which already
enabled. But for iMX8QM IMX_LPCG_CLK_4 is mclk, which trigger issue.
Fixes: 0a9279e9ae88 ("arm64: dts: imx8qxp: Add audio SAI nodes")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions