diff mbox

[U-Boot,7/8] video: sunxi: Switch from 'tx_clk' to 'pclk' for SSD2828

Message ID 1420797676-22515-8-git-send-email-siarhei.siamashka@gmail.com
State Superseded
Delegated to: Hans de Goede
Headers show

Commit Message

Siarhei Siamashka Jan. 9, 2015, 10:01 a.m. UTC
So that we don't need to keep it as a hardcoded magic number
in the code or the hassle exposing it as a Kconfig option.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
---
 drivers/video/sunxi_lcd_panel.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Anatolij Gustschin Jan. 10, 2015, 12:39 a.m. UTC | #1
On Fri,  9 Jan 2015 12:01:15 +0200
Siarhei Siamashka <siarhei.siamashka@gmail.com> wrote:

> So that we don't need to keep it as a hardcoded magic number
> in the code or the hassle exposing it as a Kconfig option.
> 
> Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>

Acked-by: Anatolij Gustschin <agust@denx.de>
diff mbox

Patch

diff --git a/drivers/video/sunxi_lcd_panel.c b/drivers/video/sunxi_lcd_panel.c
index cdde639..ebc0ca5 100644
--- a/drivers/video/sunxi_lcd_panel.c
+++ b/drivers/video/sunxi_lcd_panel.c
@@ -79,7 +79,6 @@  int sunxi_ssd2828_init(const struct ctfb_res_modes *mode)
 		.sdi_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SPI_MOSI),
 		.sdo_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SPI_MISO),
 		.reset_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SSD2828_RESET),
-		.ssd2828_tx_clk_khz                      = 27000,
 		.ssd2828_color_depth                     = 24,
 #ifdef CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828
 		.mipi_dsi_number_of_data_lanes           = 4,