[PATCH v2 3/9] drm/st: Add STM32 LTDC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This patch adds support for the STM32 LCD-TFT display controller.

Signed-off-by: Yannick Fertre <yannick.fertre@xxxxxx>
---
 drivers/gpu/drm/stm/ltdc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
index 0a393e2..148607d 100644
--- a/drivers/gpu/drm/stm/ltdc.c
+++ b/drivers/gpu/drm/stm/ltdc.c
@@ -1246,7 +1246,7 @@ int ltdc_load(struct drm_device *ddev)
 
 	mutex_init(&ltdc->err_lock);
 
-	ltdc->pixel_clk = devm_clk_get(dev, "clk-lcd");
+	ltdc->pixel_clk = devm_clk_get(dev, "lcd");
 	if (IS_ERR(ltdc->pixel_clk)) {
 		DRM_ERROR("Unable to get lcd clock\n");
 		return -ENODEV;
@@ -1263,7 +1263,7 @@ int ltdc_load(struct drm_device *ddev)
 		return PTR_ERR(regs);
 	}
 
-	ltdc->map = devm_regmap_init_mmio_clk(dev, "clk-lcd", regs,
+	ltdc->map = devm_regmap_init_mmio_clk(dev, "lcd", regs,
 					      &ltdc_regmap_config);
 	if (IS_ERR(ltdc->map)) {
 		dev_err(dev, "Couldn't create ltdc register mapping\n");
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux