Skip to content

Commit 9ab073b

Browse files
committed
Merge tag 'fbdev-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull fbdev changes from Tomi Valkeinen: - Improvements to da8xx-fb to make it support v2 of the LCDC IP, used eg in BeagleBone - Himax HX8369 controller support - Various small fixes and cleanups * tag 'fbdev-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (42 commits) video: da8xx-fb: fix the polarities of the hsync/vsync pulse video: da8xx-fb: support lcdc v2 timing register expansion video: da8xx-fb: fixing timing off by one errors video: da8xx-fb fixing incorrect porch mappings video: xilinxfb: replace devm_request_and_ioremap by devm_ioremap_resource fbmem: move EXPORT_SYMBOL annotation next to symbol declarations drivers: video: fbcmap: remove the redundency and incorrect checkings video: mxsfb: simplify use of devm_ioremap_resource Release efifb's colormap in efifb_destroy() at91/avr32/atmel_lcdfb: prepare clk before calling enable video: exynos: Ensure definitions match prototypes OMAPDSS: fix WARN_ON in 'alpha_blending_enabled' sysfs file OMAPDSS: HDMI: Fix possible NULL reference video: da8xx-fb: adding am33xx as dependency video: da8xx-fb: let compiler decide what to inline video: da8xx-fb: make clock naming consistent video: da8xx-fb: set upstream clock rate (if reqd) video: da8xx-fb: reorganize panel detection video: da8xx-fb: ensure non-null cfg in pdata video: da8xx-fb: use devres ...
2 parents eced5a0 + 028cd86 commit 9ab073b

19 files changed

Lines changed: 542 additions & 285 deletions

File tree

‎Documentation/devicetree/bindings/video/simple-framebuffer.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Required properties:
1212
- stride: The number of bytes in each line of the framebuffer.
1313
- format: The format of the framebuffer surface. Valid values are:
1414
- r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b).
15+
- a8b8g8r8 (32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r).
1516

1617
Example:
1718

‎drivers/video/Kconfig‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,13 +2100,6 @@ config GPM1040A0_320X240
21002100
bool "Giantplus Technology GPM1040A0 320x240 Color TFT LCD"
21012101
depends on FB_NUC900
21022102

2103-
config FB_NUC900_DEBUG
2104-
bool "NUC900 lcd debug messages"
2105-
depends on FB_NUC900
2106-
help
2107-
Turn on debugging messages. Note that you can set/unset at run time
2108-
through sysfs
2109-
21102103
config FB_SM501
21112104
tristate "Silicon Motion SM501 framebuffer support"
21122105
depends on FB && MFD_SM501
@@ -2228,15 +2221,17 @@ config FB_SH7760
22282221
panels <= 320 pixel horizontal resolution.
22292222

22302223
config FB_DA8XX
2231-
tristate "DA8xx/OMAP-L1xx Framebuffer support"
2232-
depends on FB && ARCH_DAVINCI_DA8XX
2224+
tristate "DA8xx/OMAP-L1xx/AM335x Framebuffer support"
2225+
depends on FB && (ARCH_DAVINCI_DA8XX || SOC_AM33XX)
22332226
select FB_CFB_FILLRECT
22342227
select FB_CFB_COPYAREA
22352228
select FB_CFB_IMAGEBLIT
22362229
select FB_CFB_REV_PIXELS_IN_BYTE
2230+
select FB_MODE_HELPERS
2231+
select VIDEOMODE_HELPERS
22372232
---help---
22382233
This is the frame buffer device driver for the TI LCD controller
2239-
found on DA8xx/OMAP-L1xx SoCs.
2234+
found on DA8xx/OMAP-L1xx/AM335x SoCs.
22402235
If unsure, say N.
22412236

22422237
config FB_VIRTUAL

‎drivers/video/atmel_lcdfb.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -902,14 +902,14 @@ static int __init atmel_lcdfb_init_fbinfo(struct atmel_lcdfb_info *sinfo)
902902

903903
static void atmel_lcdfb_start_clock(struct atmel_lcdfb_info *sinfo)
904904
{
905-
clk_enable(sinfo->bus_clk);
906-
clk_enable(sinfo->lcdc_clk);
905+
clk_prepare_enable(sinfo->bus_clk);
906+
clk_prepare_enable(sinfo->lcdc_clk);
907907
}
908908

909909
static void atmel_lcdfb_stop_clock(struct atmel_lcdfb_info *sinfo)
910910
{
911-
clk_disable(sinfo->bus_clk);
912-
clk_disable(sinfo->lcdc_clk);
911+
clk_disable_unprepare(sinfo->bus_clk);
912+
clk_disable_unprepare(sinfo->lcdc_clk);
913913
}
914914

915915

0 commit comments

Comments
 (0)