video: ti: am335x: Fix tilcdc clock names.
authorSukrut Bellary <sbellary@baylibre.com>
Wed, 12 Mar 2025 06:57:09 +0000 (23:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 31 Mar 2025 23:04:20 +0000 (17:04 -0600)
The commit 211b3d726378 ("arm: dts: am3x: Non-functional changes sync
with v6.3-rc6") changed the tilcdc clock names.
Fix the tilcdc driver to use the new clock names.

Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
drivers/video/ti/tilcdc.c

index 493e2f1..340c792 100644 (file)
@@ -234,7 +234,7 @@ static int tilcdc_probe(struct udevice *dev)
                return -EINVAL;
        }
 
-       err = uclass_get_device_by_name(UCLASS_CLK, "lcd_gclk@534", &clk_dev);
+       err = uclass_get_device_by_name(UCLASS_CLK, "clock-lcd-gclk@534", &clk_dev);
        if (err) {
                dev_err(dev, "failed to get lcd_gclk device\n");
                return err;
@@ -252,7 +252,7 @@ static int tilcdc_probe(struct udevice *dev)
                return rate;
        }
 
-       err = uclass_get_device_by_name(UCLASS_CLK, "dpll_disp_m2_ck@4a4",
+       err = uclass_get_device_by_name(UCLASS_CLK, "clock-dpll-disp-m2@4a4",
                                        &clk_dev);
        if (err) {
                dev_err(dev, "failed to get dpll_disp_m2 clock device\n");