![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 71](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092071.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
•
Device tree description of LVDS-1 and HDMI can be found here:
https://git.phytec.de/linux-imx/tree/arch/arm64/
boot/dts/freescale/imx8mp-phyboard-pollux.dtsi?h=v5.10.72_2.2.0-phy9
The device tree of LVDS-0 on PEB-AV-10 can be found here:
https://git.phytec.de/linux-imx/tree/arch/arm64/boot/
dts/freescale/overlays/imx8mp-phyboard-pollux-peb-av-010.dtso?h=v5.10.72_2.2.0-phy9
Backlight Control
If a display is connected to the PHYTEC board, you can control its backlight with the Linux kernel
sysfs
interface. All
available backlight devices in the system can be found in the folder
/sys/class/backlight
. Reading the appropriate
files and writing to them allows you to control the backlight.
To get, for example, the maximum brightness level (
max_brightness
) execute:
target$ cat /sys/
class
/backlight/backlight/max_brightness
which will result in:
7
Valid brightness values are 0 to
<max_brightness>.
To obtain the current brightness level, type:
target$ cat /sys/
class
/backlight/backlight/brightness
you will get for example:
6
Write to the file
brightness
to change the brightness:
target$ echo
0
> /sys/
class
/backlight/backlight/brightness
turns the backlight off,
target$ echo
5
> /sys/
class
/backlight/backlight/brightness
sets the brightness to the third-highest brightness level. For documentation of all files, see