broadsheetfb: add multiple panel type support
PATCH 1/1 broadsheetfb: add multiple panel type support
Hi Geert, Krzysztof, Andrew, fbdev friends,
This patch updates broadsheetfb to add support for multiple panel types. The 3.7" and 6" are known to work but the 9.7" is untested due to lack of hardware. Please let me know your feedback.
Thanks,
jaya
This patch adds support for multiple panel types to broadsheetfb.
Cc Geert Uytterhoeven <[email protected]>
Cc Krzysztof Helt <[email protected]>
Signed-off-by Jaya Kumar <[email protected]>
--- arch/arm/mach-pxa/am300epd.c | 2 +- drivers/video/broadsheetfb.c | 127 ++++++++++++++++++++++++++++++++++++------ include/video/broadsheetfb.h | 1 + 3 files changed, 112 insertions(+), 18 deletions(-)
arch/arm/mach-pxa/am300epd.c +1 -1
@@ -288,7 +288,7 @@ int __init am300_init(void) }module_param (panel_type, uint,0 ); -MODULE_PARM_DESC (panel_type,"Select the panel type: 6, 8, 97" ); +MODULE_PARM_DESC (panel_type,"Select the panel type: 37, 6, 97" );MODULE_DESCRIPTION ("board driver for am300 epd kit" );MODULE_AUTHOR ("Jaya Kumar" );
drivers/video/broadsheetfb.c +110 -17
186 lines not on this page · raw message
include/video/broadsheetfb.h +1 -0
@@ -41,6 +41,7 @@ struct broadsheetfb_par {void (*write_reg)(struct broadsheetfb_par *,u16 reg,u16 val);u16 (*read_reg)(struct broadsheetfb_par *,u16 reg);wait_queue_head_t waitq; +int panel_index; };/* board specific routines */
Signature · 1 line
1.6.3.3