video: tegra20: dc: support binding child devices
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 1 Mar 2025 12:41:28 +0000 (14:41 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Thu, 13 Mar 2025 17:13:17 +0000 (19:13 +0200)
Implement child binding helper within DC bind to support DC PWM backlight
feature.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/tegra20/tegra-dc.c

index 516a397..1f43153 100644 (file)
@@ -632,7 +632,7 @@ static int tegra_lcd_bind(struct udevice *dev)
        plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT *
                (1 << LCD_MAX_LOG2_BPP) / 8;
 
-       return 0;
+       return dm_scan_fdt_dev(dev);
 }
 
 static const struct tegra_dc_soc_info tegra20_dc_soc_info = {