1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 19:00:49 +00:00

beaglebone-capes: add support for 4.3" LCD cape

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Koen Kooi
2012-06-07 17:40:43 +02:00
committed by Denys Dmytriyenko
parent 536748db58
commit c5e5c304b8
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ DESCRIPTION = "Userspace setup for beaglebone capes"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r1"
PR = "r2"
inherit allarch
@@ -5,6 +5,9 @@ for eeprom in /sys/bus/i2c/devices/3-005*/eeprom ; do
"BB-BONE-LCD3-01.")
echo "Turning off backlight for LCD3 cape"
i2cset -f -y 1 0x24 0x07 0x00;;
"BB-BONE-LCD4-01.")
echo "Turning off backlight for LCD3 cape"
i2cset -f -y 1 0x24 0x07 0x00;;
*)
echo "unknown cape: $PARTNUMBER";;
esac
@@ -6,6 +6,10 @@ for eeprom in /sys/bus/i2c/devices/3-005*/eeprom ; do
echo "Turning on backlight for LCD3 cape"
i2cset -f -y 1 0x24 0x07 0x09
i2cset -f -y 1 0x24 0x08 0x60;;
"BB-BONE-LCD4-01.")
echo "Turning on backlight for LCD4 cape"
i2cset -f -y 1 0x24 0x07 0x09
i2cset -f -y 1 0x24 0x08 0x60;;
*)
echo "unknown cape: $PARTNUMBER";;
esac