[PATCH v2 3/9] drm/st: Add STM32 LTDC driver
Yannick Fertre
yannick.fertre at st.com
Fri Feb 10 06:54:43 PST 2017
This patch adds support for the STM32 LCD-TFT display controller.
Signed-off-by: Yannick Fertre <yannick.fertre at st.com>
---
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(<dc->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,
<dc_regmap_config);
if (IS_ERR(ltdc->map)) {
dev_err(dev, "Couldn't create ltdc register mapping\n");
--
1.9.1
More information about the linux-arm-kernel
mailing list