Skip to contentSkip to conversation

drm: tilcdc: add a da850-specific compatible string

PATCH Superseded Bartosz Golaszewski 2 participants 3 messages Sep 30, 2016

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: tilcdc: add a da850-specific compatible string

Due to some potential tweaks for the da850 LCDC (for example: the required memory bandwith settings) we need a separate compatible for the IP present on the da850 boards.

---
 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/tilcdc/tilcdc_drv.c +1 -0
index a694977..231f2c7 100644
@@ -723,6 +723,7 @@ static int tilcdc_pdev_remove(struct platform_device *pdev)
 
 static struct of_device_id tilcdc_of_match[] = {
 		{ .compatible = "ti,am33xx-tilcdc", },
+		{ .compatible = "ti,da850-tilcdc", },
 		{ },
 };
 MODULE_DEVICE_TABLE(of, tilcdc_of_match);
Signature · 1 line
2.9.3
#1 lore raw
Quoted 8 lines · Bartosz Golaszewski

Due to some potential tweaks for the da850 LCDC (for example: the required memory bandwith settings) we need a separate compatible for the IP present on the da850 boards.

---
 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 +

This patch should document the new compatible in
Documentation/devicetree/bindings/..

Thanks,
Sekhar

#2 lore raw
In reply to Bartosz Golaszewski

2016-09-30 15:00 GMT+02:00 Bartosz Golaszewski <[email protected]>:

Quoted 23 lines

Due to some potential tweaks for the da850 LCDC (for example: the required memory bandwith settings) we need a separate compatible for the IP present on the da850 boards.

---
 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/tilcdc/tilcdc_drv.c +1 -1
index a694977..231f2c7 100644
@@ -723,6 +723,7 @@ static int tilcdc_pdev_remove(struct platform_device *pdev)
 
 static struct of_device_id tilcdc_of_match[] = {
                { .compatible = "ti,am33xx-tilcdc", },
+               { .compatible = "ti,da850-tilcdc", },
                { },
 };
 MODULE_DEVICE_TABLE(of, tilcdc_of_match);
--
Quoted 2 lines

2.9.3

Superseded by v2.