summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-10-24 05:51:28 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-10-24 17:45:41 +0300
commitddbec021a3e5ddd38c89516c30b53ab747824207 (patch)
tree809eba67ab5cbc893471dc0a068b57262d4c8c61 /tools/lib/python
parent8fd705c5e72776c2f1a0212bdedcb9a9753b5bce (diff)
downloadlinux-ddbec021a3e5ddd38c89516c30b53ab747824207.tar.xz
remoteproc: imx_rproc: Simplify clock enable logic using dcfg flags
Simplify the clock enable logic by removing the dedicated imx_rproc_clk_enable() function and integrate the clock handling directly into the probe function to simplify the code. Add a new IMX_RPROC_NEED_CLKS flag in dcfg to indicate whether clock management is required for a given SoC. Update probe logic to conditionally enable clocks based on the new flag. Set the flag for applicable SoCs (e.g., i.MX7D, i.MX8MQ, i.MX93, etc.). No functional changes. Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20251024-imx_rproc_c4-v4-1-af83ed3fdbba@nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions