Part Number: AM5708
Hi
We have custom board with am5708 / SDK-05.03.00.07
The DTS file linux-4.14.79\arch\arm\boot\dts\am571x-idk.dts is modified to have
lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ecap2 0 50000 0>;
brightness-levels = <0 51 53 56 62 75 101 152 255>;
default-brightness-level = <8>;
power-supply = <&vsys_3v3>;
};
&epwmss2 {
status = "okay";
ecap2: ecap@48442100 {
status = "okay";
};
};
\u-boot-2018.01\board\ti\am57xx\mux_data.h is modified to have
{MMC3_CMD, (M10 | PIN_OUTPUT_PULLUP)},
after issue the command below nothing change
# cat /sys/kernel/debug/pwm
platform/48442100.ecap, 1 PWM device
pwm-0 (backlight ): requested enabled period: 50000 ns duty: 50000 ns polarity: normal
#
# cat /sys/class/backlight/backlight/brightness
8
# echo 1 > /sys/class/backlight/backlight/brightness
# cat /sys/class/backlight/backlight/brightness
1
#
Can you help to let me know what is missing?
Regards,
Scott