summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2016-03-08 09:46:01 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-03-10 13:07:26 +0100
commit0bcf4056b2d502ab36986bc5b75e79d0d3d42425 (patch)
treef5ebe13af4b5e84e24b66d7499ba7fefbcac22f1 /recipes-bsp
parent544750d6160ba31bf246be9ff63fbd178f24b4e5 (diff)
downloadmeta-phytec-0bcf4056b2d502ab36986bc5b75e79d0d3d42425.tar.bz2
meta-phytec-0bcf4056b2d502ab36986bc5b75e79d0d3d42425.zip
barebox: imx6: env: add different display sizes
Add device tree commands in config-expansion to select different display sizes for LCD-018 and LCD-025. Signed-off-by: Stefan Christ <s.christ@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-phy2/phyboard-alcor-imx6/boardenv/config-expansions12
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-subra-imx6/boardenv/config-expansions13
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy2/phycard-imx6/boardenv/config-expansions13
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy2/phyflex-imx6/boardenv/config-expansions13
4 files changed, 51 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-alcor-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-alcor-imx6/boardenv/config-expansions
index 91c2fa2..621b077 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-alcor-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-alcor-imx6/boardenv/config-expansions
@@ -1,3 +1,15 @@
#!/bin/sh
#. /env/expansions/imx6qdl-phytec-lcd
+
+# imx6qdl-phytec-lcd: 7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6
+
+# imx6qdl-phytec-lcd: 5.7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETMV570G2DHU
+
+# imx6qdl-phytec-lcd: 4.3" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0430G0DH6
+
+# imx6qdl-phytec-lcd: 3.5" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0350G0DH6
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-subra-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-subra-imx6/boardenv/config-expansions
index d55289f..d7b61bf 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-subra-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy2/phyboard-subra-imx6/boardenv/config-expansions
@@ -2,6 +2,19 @@
#. /env/expansions/imx6qdl-phytec-lcd
+# imx6qdl-phytec-lcd: 7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6
+
+# imx6qdl-phytec-lcd: 5.7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETMV570G2DHU
+
+# imx6qdl-phytec-lcd: 4.3" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0430G0DH6
+
+# imx6qdl-phytec-lcd: 3.5" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0350G0DH6
+
+
#Enable VM-010-BW-LVDS
of_camera_selection -a 0x48 -p 0 -b phyCAM-S+ VM-010-BW
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy2/phycard-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy2/phycard-imx6/boardenv/config-expansions
index 862063f..b3e94cd 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy2/phycard-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy2/phycard-imx6/boardenv/config-expansions
@@ -2,5 +2,18 @@
#. /env/expansions/imx6qdl-phytec-lcd
+# imx6qdl-phytec-lcd: 7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6
+
+# imx6qdl-phytec-lcd: 5.7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETMV570G2DHU
+
+# imx6qdl-phytec-lcd: 4.3" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0430G0DH6
+
+# imx6qdl-phytec-lcd: 3.5" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0350G0DH6
+
+
#Enable VM-010-BW-LVDS
of_camera_selection -a 0x48 -p 0 -b phyCAM-S+ VM-010-BW
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy2/phyflex-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy2/phyflex-imx6/boardenv/config-expansions
index 46532f6..e111d65 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy2/phyflex-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy2/phyflex-imx6/boardenv/config-expansions
@@ -2,6 +2,19 @@
#. /env/expansions/imx6qdl-phytec-lcd
+# imx6qdl-phytec-lcd: 7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0700G0DH6
+
+# imx6qdl-phytec-lcd: 5.7" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETMV570G2DHU
+
+# imx6qdl-phytec-lcd: 4.3" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0430G0DH6
+
+# imx6qdl-phytec-lcd: 3.5" display
+#of_display_timings -S /soc/aips-bus@02000000/ldb@020e0008/lvds-channel@0/display-timings/ETM0350G0DH6
+
+
#Enable VM-011-COL on CSI0
of_camera_selection -a 0x48 -p 0 -b phyCAM-P VM-011-COL