aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-27OMAPDSS: HDMI: OMAP4: Complete dumping of core registersRicardo Neri1-1/+46
Add missing register entries when dumping the core. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Complete register definitions for coreRicardo Neri1-1/+47
Add missing register definitions; mainly for colorspace conversion, video timing and interrupt handling. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Rename the HDMI_CORE_CTRL1 registerRicardo Neri2-13/+14
Rename the register to be aligned with the HDMI_CORE_SYS naming convention. Also, update the naming of the #defines used for its fields. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Complete dumping of DPLL registersRicardo Neri1-0/+2
Add the spread spectrum clock configuration registers to the DPLL dump. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Complete register definitions for DPLLRicardo Neri1-0/+2
Add missing register definitions for spread spectrum clocking. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Complete dumping of wrapper registersRicardo Neri1-1/+4
Add missing registers when dumping the HDMI wrapper. Also, order the dump by offset to improve readability. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27OMAPDSS: HDMI: OMAP4: Complete register definitions for wrapperRicardo Neri1-1/+3
Add definitions for missing registers in the HDMI wrapper. Also, order the registers by offset to improve readability. Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27video: atmel_lcdfb: add device tree suportJean-Christophe PLAGNIOL-VILLARD3-32/+291
get display timings from device tree Use videomode helpers to get display timings and configurations from device tree Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27video: atmel_lcdfb: pass the pdata as paramsJean-Christophe PLAGNIOL-VILLARD6-7/+9
so we can use have list gpio as example (probe via DT) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27video: atmel_lcdfb: introduce atmel_lcdfb_power_controlJean-Christophe PLAGNIOL-VILLARD1-11/+11
to simplify the check on the presence of the callback Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-27video: atmel_lcdfb: fix platform data structJean-Christophe PLAGNIOL-VILLARD21-101/+109
Today we mix pdata and drivers data in the struct atmel_lcdfb_info Fix it and introduce a new struct atmel_lcdfb_pdata for platform data only Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: xilinxfb: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: tcx: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: sunxvr1000: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: platinumfb: Remove redundant dev_set_drvdataSachin Kamat1-1/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: p9100: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: ffb: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: cg6: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: cg3: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: cg14: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: bw2: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: amifb: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: mb862xx: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Anatolij Gustschin <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: leo: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: grvga: Remove redundant dev_set_drvdataSachin Kamat1-2/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Cc: Kristoffer Glembo <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: atmel_lcdfb: Remove redundant dev_set_drvdataSachin Kamat1-4/+1
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: jz4740-fb: Use clk_prepare_enable/clk_disable_unprepareLars-Peter Clausen1-5/+5
In preparation to switching the jz4740 clk driver to the common clk framework update the clk enable/disable calls to clk_prepare_enable/clk_disable_unprepare. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: jz4740-fb: Fix LCD_CMD bit definitionsLars-Peter Clausen1-3/+3
Fix the bit offsets for the LCD_CMD definitions. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26framebuffer: arkfb: Fix framebugger typoJoe Perches1-1/+1
s/framebugger/framebuffer/ Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: riva: Remove incorrect checksSachin Kamat1-5/+0
'xoffset' and 'yoffset' are unsigned and hence cannot be less than 0. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: aty: Remove incorrect checksSachin Kamat1-5/+0
'xoffset' and 'yoffset' are unsigned and hence cannot be less than 0. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: cirrusfb: Remove incorrect checksSachin Kamat1-5/+0
'xoffset' and 'yoffset' are unsigned and hence cannot be less than 0. Signed-off-by: Sachin Kamat <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: vfb: Remove incorrect checkSachin Kamat1-3/+2
'yoffset' is unsigned and hence cannot be less than 0. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: uvesafb: Remove redundant NULL checkSachin Kamat1-12/+7
kfree on a NULL pointer is a no-op. Signed-off-by: Sachin Kamat <[email protected]> Cc: Michal Januszewski <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: kyro: Remove redundant breakSachin Kamat1-1/+0
'break' after return statement is redundant. Remove it. Signed-off-by: Sachin Kamat <[email protected]> Cc: Paul Mundt <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: aty: Remove redundant breakSachin Kamat1-1/+0
'break' after return statement is redundant. Remove it. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: da8xx-fb: Staticize reg_contextSachin Kamat1-1/+1
'reg_context' is local to this file. Make it static. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: smscufx: Use NULL instead of 0Sachin Kamat1-1/+1
'info' is a pointer. Use NULL instead of 0. Signed-off-by: Sachin Kamat <[email protected]> Cc: Steve Glendinning <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26video: udlfb: Use NULL instead of 0Sachin Kamat1-1/+1
new_back is a pointer. Use NULL instead of 0. Signed-off-by: Sachin Kamat <[email protected]> Cc: Bernie Thompson <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26backlight: tosa: Remove redundant spi_set_drvdataSachin Kamat1-5/+1
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-26backlight: l4f00242t03: Remove redundant spi_set_drvdataSachin Kamat1-1/+0
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-23OMAPDSS: DISPC: Fix assignment of 0/1 to bool variablesPeter Senna Tschudin1-4/+4
Convert 0 to false and 1 to true when assigning values to bool variables. Inspired by commit 3db1cd5c05f35fb43eb134df6f321de4e63141f2. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @@ bool b; @@ ( -b = 0 +b = false | -b = 1 +b = true ) Signed-off-by: Peter Senna Tschudin <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: mmp: add pitch info in mmp_win structureJing Xiang3-7/+34
Add pitch length info of graphics/video layer, pitch is used to represent line length in byte, the usage depends on pix_fmt. If the fmt is YUV, the pitch[0] will be Y length,pitch[1] will be U length, pitch[2] will be V lenth. If the fmt is RGB, the picth[0] will be line lenth, and pitch[1]/pitch[2] will be 0 and not be used. Signed-off-by: Jing Xiang <[email protected]> Signed-off-by: Jett.Zhou <[email protected]> Signed-off-by: Zhou Zhu <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: mmp: calculate pitch value when fb set winJing Xiang1-12/+16
Add new func mmpfb_set_win to make code clean, it will do resolution and fmt setting of win in mmpfb_set_win. Signed-off-by: Jing Xiang <[email protected]> Signed-off-by: Jett.Zhou <[email protected]> Signed-off-by: Zhou Zhu <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: mmp: optimize some register setting codeGuoqing Li1-15/+7
There are dumplicate code of the smooth setting based on different path, optimized the routine and use readl_relaxed instead. Signed-off-by: Jett.Zhou <[email protected]> Signed-off-by: Jing Xiang <[email protected]> Signed-off-by: Guoqing Li <[email protected]> Signed-off-by: Zhou Zhu <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20ARM: mmp: remove the legacy rbswap setting for ttc_dkb platformJett.Zhou1-3/+1
According to new rbswap scheme of mmp_display, it support appropriate rbswap setting based on specific pix_fmt, then we can remove the legacy rbswap setting for ttc_dkb platform. Signed-off-by: Jett.Zhou <[email protected]> Signed-off-by: Zhou Zhu <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Acked-by: Haojian Zhuang <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: mmp: rb swap setting update for mmp displayGuoqing Li3-8/+17
We could set rb swap in two modules: DMA controler input part and dsi interface output part. DMA input part is based on pix_fmt to set rbswap, dsi output interface part will set rbswap based on platform dsi_rbswap configuration. This patch include below change and enhancement: 1) The input format which support rbswap is based on RGB format, eg. RGB565 indicates the source data in memory is that Red is [15~11], Green is [10~5], Blue is [4:0], Red is MSB, Blue is LSB, but for the display dma input default setting(rbswap = 0), it only support Blue is [15~11], Green is [10~5], Red is [4:0], Red is LSB, Blue is MSB, so for this format(RGB565), display controller need to set rbswap = 1 and it can support the MSB/LSB correctly. BGR/YUV format will not set it in mmp display driver. 2) The dsi output part of rbswap is depend on dsi_rbswap which is defined in specific platfrom. For output dsi interface, it has this feature to do rbswap again if it needs specifc byte sequence of RGB byte for DSI panel. eg. If display content is set RGB565 in memory and DMA input part set rbswap in driver to support Red as MSB , Blue LSB, but dsi panel only support Red as LSB, Blue as MSB, then it can use this feature. If there is no this requirement of panel, this dsi output part is not needed. Signed-off-by: Guoqing Li <[email protected]> Signed-off-by: Jett.Zhou <[email protected]> Signed-off-by: Zhou Zhu <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: w100fb: use dev_get_platdata()Jingoo Han1-1/+1
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: tmiofb: use dev_get_platdata()Jingoo Han1-5/+5
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2013-09-20video: simplefb: use dev_get_platdata()Jingoo Han1-2/+2
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>