]> code.ossystems Code Review - meta-freescale.git/commitdiff
formfactor: set target input devices options
authorAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 21:59:18 +0000 (16:59 -0500)
committerAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 21:59:18 +0000 (16:59 -0500)
* 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 <b38018@freescale.com>
meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig [new file with mode: 0644]
meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig [new file with mode: 0644]
meta-fsl-arm/recipes-bsp/formfactor/formfactor_0.0.bbappend [new file with mode: 0644]

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 (file)
index 0000000..7f884fe
--- /dev/null
@@ -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 (file)
index 0000000..3dbcc11
--- /dev/null
@@ -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 (file)
index 0000000..8c77b8d
--- /dev/null
@@ -0,0 +1,2 @@
+# Append path for freescale to include costom matchconfig
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"