
24 Mar
2023
24 Mar
'23
6:55 a.m.
Hi,
On Fri, 24 Mar 2023 at 07:26, Konrad Dybcio konrad.dybcio@linaro.org wrote:
"clocks" is the standard property used in Linux, "clock" seems to be an U-Boot invention. Use the one that's more standardized.
Signed-off-by: Konrad Dybcio konrad.dybcio@linaro.org
drivers/mmc/msm_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c index 604f9c3ff99c..174435f01f68 100644 --- a/drivers/mmc/msm_sdhci.c +++ b/drivers/mmc/msm_sdhci.c @@ -63,7 +63,7 @@ static int msm_sdc_clk_init(struct udevice *dev) struct clk clk; int ret;
ret = fdtdec_get_int_array(gd->fdt_blob, node, "clock", clkd, 2);
ret = fdtdec_get_int_array(gd->fdt_blob, node, "clocks", clkd, 2);
You have to update corresponding dts files as well to avoid breaking platforms.
-Sumit
if (ret) return ret;
-- 2.40.0