From: Adrian Alonso Date: Wed, 24 Aug 2011 21:59:18 +0000 (-0500) Subject: formfactor: set target input devices options X-Git-Tag: 2.1~2010 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f622f854e9af9c5f00fcb02e4cf3faee4660f20b;p=meta-freescale.git formfactor: set target input devices options * Each machconfig file provides information that is used in startup to set the input devices for the target platform. HAVE_TOUCHSCREEN sets touchscreen support HAVE_KEYBORD is set when a physical keyboard is attached to the system otherwise a virtual keyboard is used. * More info check formfacto recipe descriptor. Signed-off-by: Adrian Alonso --- diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig new file mode 100644 index 00000000..7f884fe8 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig @@ -0,0 +1,13 @@ +# Display options +HAVE_TOUCHSCREEN=1 +HAVE_KEYBOARD=0 + +TSLIB_TSDEVICE="/dev/input/touchscreen0" + +#DISPLAY_CAN_ROTATE=0 +#DISPLAY_ORIENTATION=0 +#DISPLAY_WIDTH_PIXELS=1024 +#DISPLAY_HEIGHT_PIXELS=720 +#DISPLAY_BPP=16 +#DISPLAY_DPI=150 +#DISPLAY_SUBPIXEL_ORDER=vrgb diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig new file mode 100644 index 00000000..3dbcc111 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig @@ -0,0 +1,11 @@ +# Display options +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 + +#DISPLAY_CAN_ROTATE=0 +#DISPLAY_ORIENTATION=0 +#DISPLAY_WIDTH_PIXELS=1024 +#DISPLAY_HEIGHT_PIXELS=720 +#DISPLAY_BPP=16 +#DISPLAY_DPI=150 +#DISPLAY_SUBPIXEL_ORDER=vrgb diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-fsl-arm/recipes-bsp/formfactor/formfactor_0.0.bbappend new file mode 100644 index 00000000..8c77b8d3 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor_0.0.bbappend @@ -0,0 +1,2 @@ +# Append path for freescale to include costom matchconfig +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"