i3c: dw: rename "pclk" to "apb" to match dt-binding

Change clock name "pclk" to "apb" to match dt-binding doc. No upstream
device tree sources currently use the "pclk" clock name, so no any
backward compatibility issues.

Fixes: a0d48ebf39 ("i3c: dw: Add optional apb clock")
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260814040345.23033-1-jszhang@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
Jisheng Zhang 2026-08-14 12:03:45 +08:00 committed by Alexandre Belloni
parent 9939e4cf59
commit ff2eee2b86

View File

@ -1691,7 +1691,7 @@ int dw_i3c_common_probe(struct dw_i3c_master *master,
return -EINVAL;
}
master->pclk = devm_clk_get_optional_enabled(&pdev->dev, "pclk");
master->pclk = devm_clk_get_optional_enabled(&pdev->dev, "apb");
if (IS_ERR(master->pclk))
return PTR_ERR(master->pclk);