summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2016-03-31 09:59:39 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-03-31 15:57:44 +0200
commit9d34cf17545229e706f9c28adac29ddbca91def3 (patch)
tree37625fab182134bf8648479fece10b5cb116e48a /recipes-bsp
parent3039d7414188ab50556ab2dc1494075374fe6cf9 (diff)
downloadmeta-phytec-9d34cf17545229e706f9c28adac29ddbca91def3.tar.bz2
meta-phytec-9d34cf17545229e706f9c28adac29ddbca91def3.zip
barebox: env: Add possibility to enable touch
Add possibility to enable the capacitive or resistive touch. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd1
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd-res5
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy3/phycard-imx6/boardenv/config-expansions4
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy3/phyflex-imx6/boardenv/config-expansions4
4 files changed, 14 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd b/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd
index 1da9529..7747bf2 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd
+++ b/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd
@@ -2,3 +2,4 @@
of_enable_node /soc/aips-bus@02000000/ldb@020e0008/
of_enable_node /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0
of_enable_node /backlight
+of_enable_node /soc/aips-bus@02100000/i2c@021a4000/edt-ft5x06@38
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd-res b/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd-res
new file mode 100644
index 0000000..2b228f0
--- /dev/null
+++ b/recipes-bsp/barebox/env-2015.11.0-phy3/mx6/commonenv/expansions/imx6qdl-phytec-lcd-res
@@ -0,0 +1,5 @@
+#!/bin/sh
+of_enable_node /soc/aips-bus@02000000/ldb@020e0008/
+of_enable_node /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0
+of_enable_node /backlight
+of_enable_node /soc/aips-bus@02100000/i2c@021a4000/stmpe@41
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy3/phycard-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy3/phycard-imx6/boardenv/config-expansions
index 372a382..b579be0 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy3/phycard-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy3/phycard-imx6/boardenv/config-expansions
@@ -1,7 +1,11 @@
#!/bin/sh
+#use this expansion when a capacitive touchscreen is connected
#. /env/expansions/imx6qdl-phytec-lcd
+#use this expansion when a resisitive touchscreen is connected
+#. /env/expansions/imx6qdl-phytec-lcd-res
+
# imx6qdl-phytec-lcd: 7" display
#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy3/phyflex-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy3/phyflex-imx6/boardenv/config-expansions
index 249dfe5..b7a0035 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy3/phyflex-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy3/phyflex-imx6/boardenv/config-expansions
@@ -1,7 +1,11 @@
#!/bin/sh
+#use this expansion when a capacitive touchscreen is connected
#. /env/expansions/imx6qdl-phytec-lcd
+#use this expansion when a resisitive touchscreen is connected
+#. /env/expansions/imx6qdl-phytec-lcd-res
+
# imx6qdl-phytec-lcd: 7" display
#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6