forked from Minki/linux
0a582821d4
* new 6x10 font * various small fixes and cleanups -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJUPlVtAAoJEPo9qoy8lh71kCQP/RvzQ2/7H7N/P6HsCZvBAwvM 02bp8Wx679MGhzcngv6wGVeUwcE4MyhjIbOFim4ZDduti68N4Q+eIpsqPIeef+JU emcXe9qpcsviS41kTuRc555M9wBBHeSYB7qLubHcsUprez/UTXZZBrWbXkLBn9oD JfP/n82NLOQdjflSrfYciPy3q4x8o3h7uycUxDwrEHI77XsitVCe/M7yJifSOmxn LiBgn983N5YQJdM2Dorgi0cFnKCNlpUVraYlbDAiHokaGNevUowCnTp2EkwwzRpQ QAycfaI7iTd4WniP9x4GBMieHPDoqxoqD397WnvdGCh5VBBZXVRLkQnePPSC7s1l yK6V3UBJB6AmnM4Jxd00aC2dfTjCS6NbaS5yoav0YuH6l7HE/rXgu1APXakV40jh vwKhy+3P/Bu47gPfuXB8LlQAZ/3oQ7dlCAH0P84waHJSlYE72RqYXH4Hr4kLQnDG a+TYYJwFl6mkieiPFEMs+5UlOhyZJ/yQKJHp0Q0ROF0zv86kJQh3P4ozfV8V9Vq7 cDn1RHa6/5e4BKVe0NGCuKAxgpF2InFZKqS81QmtRCSIrs9kjNPTXBMci2XZw9qn UnRvKSrUdtIxlaBKGam+lhOGGN/pzVFJbGfoDBh1SsknwHdrlHzZ1J1rwWJu7a/3 7p+9ferk4UPFNu+UUhNB =f13d -----END PGP SIGNATURE----- Merge tag 'fbdev-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux Pull fbdev updates from Tomi Valkeinen: - new 6x10 font - various small fixes and cleanups * tag 'fbdev-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (30 commits) fonts: Add 6x10 font videomode: provide dummy inline functions for !CONFIG_OF video/atmel_lcdfb: Introduce regulator support fbdev: sh_mobile_hdmi: Re-init regs before irq re-enable on resume framebuffer: fix screen corruption when copying framebuffer: fix border color arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss video: fbdev: valkyriefb.c: use container_of to resolve fb_info_valkyrie from fb_info video: fbdev: pxafb.c: use container_of to resolve pxafb_info/layer from fb_info video: fbdev: cyber2000fb.c: use container_of to resolve cfb_info from fb_info video: fbdev: controlfb.c: use container_of to resolve fb_info_control from fb_info video: fbdev: sa1100fb.c: use container_of to resolve sa1100fb_info from fb_info video: fbdev: stifb.c: use container_of to resolve stifb_info from fb_info video: fbdev: sis: sis_main.c: Cleaning up missing null-terminate in conjunction with strncpy video: valkyriefb: Fix unused variable warning in set_valkyrie_clock() video: fbdev: use %*ph specifier to dump small buffers video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT video: fbdev: au1200fb: delete double assignment video: fbdev: sis: delete double assignment ...
80 lines
2.1 KiB
Plaintext
80 lines
2.1 KiB
Plaintext
Atmel LCDC Framebuffer
|
|
-----------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible :
|
|
"atmel,at91sam9261-lcdc" ,
|
|
"atmel,at91sam9263-lcdc" ,
|
|
"atmel,at91sam9g10-lcdc" ,
|
|
"atmel,at91sam9g45-lcdc" ,
|
|
"atmel,at91sam9g45es-lcdc" ,
|
|
"atmel,at91sam9rl-lcdc" ,
|
|
"atmel,at32ap-lcdc"
|
|
- reg : Should contain 1 register ranges(address and length)
|
|
- interrupts : framebuffer controller interrupt
|
|
- display: a phandle pointing to the display node
|
|
|
|
Required nodes:
|
|
- display: a display node is required to initialize the lcd panel
|
|
This should be in the board dts.
|
|
- default-mode: a videomode within the display with timing parameters
|
|
as specified below.
|
|
|
|
Optional properties:
|
|
- lcd-supply: Regulator for LCD supply voltage.
|
|
|
|
Example:
|
|
|
|
fb0: fb@0x00500000 {
|
|
compatible = "atmel,at91sam9g45-lcdc";
|
|
reg = <0x00500000 0x1000>;
|
|
interrupts = <23 3 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_fb>;
|
|
display = <&display0>;
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
};
|
|
|
|
Atmel LCDC Display
|
|
-----------------------------------------------------
|
|
Required properties (as per of_videomode_helper):
|
|
|
|
- atmel,dmacon: dma controller configuration
|
|
- atmel,lcdcon2: lcd controller configuration
|
|
- atmel,guard-time: lcd guard time (Delay in frame periods)
|
|
- bits-per-pixel: lcd panel bit-depth.
|
|
|
|
Optional properties (as per of_videomode_helper):
|
|
- atmel,lcdcon-backlight: enable backlight
|
|
- atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
|
|
- atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
|
|
- atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
|
|
|
|
Example:
|
|
display0: display {
|
|
bits-per-pixel = <32>;
|
|
atmel,lcdcon-backlight;
|
|
atmel,dmacon = <0x1>;
|
|
atmel,lcdcon2 = <0x80008002>;
|
|
atmel,guard-time = <9>;
|
|
atmel,lcd-wiring-mode = <1>;
|
|
|
|
display-timings {
|
|
native-mode = <&timing0>;
|
|
timing0: timing0 {
|
|
clock-frequency = <9000000>;
|
|
hactive = <480>;
|
|
vactive = <272>;
|
|
hback-porch = <1>;
|
|
hfront-porch = <1>;
|
|
vback-porch = <40>;
|
|
vfront-porch = <1>;
|
|
hsync-len = <45>;
|
|
vsync-len = <1>;
|
|
};
|
|
};
|
|
};
|