mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-06 10:50:37 +00:00
beaglebone-capes: use backlight hack for all LCD4 variants
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
24ba2ae085
commit
51ce8e5738
@@ -3,7 +3,7 @@ DESCRIPTION = "Userspace setup for beaglebone capes"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
inherit allarch
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ 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"
|
||||
"BB-BONE-LCD4"*)
|
||||
echo "Turning off backlight for LCD4 cape"
|
||||
i2cset -f -y 1 0x24 0x07 0x00;;
|
||||
*)
|
||||
echo "unknown cape: $PARTNUMBER";;
|
||||
|
||||
@@ -6,7 +6,7 @@ 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.")
|
||||
"BB-BONE-LCD4"*)
|
||||
echo "Turning on backlight for LCD4 cape"
|
||||
i2cset -f -y 1 0x24 0x07 0x09
|
||||
i2cset -f -y 1 0x24 0x08 0x60;;
|
||||
|
||||
Reference in New Issue
Block a user