Dear NXP ,
SW version :
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-langdale -m imx-6.1.1-1.0.1.xml
HW : imx8mplus
The LVDS panel can display normally. I want to control pwm backlight .
GPIO1_IO11 : pwm backlight
Please refer to my imx8mp-evk.dts :
cat max_brightness : This value is 100
cat brightness : This value is 80
echo 0 > brightness
cat brightness : This value is 0 but the LVDS panel can still display normally.
I use an oscilloscope to measure the PWM voltage . It always keep 3.3 V .
I add some log in pwm_bl.c .Please refer the pwm_backlight.log and pwm_bl.c .
Please help to solve this problem .
Dear Zhiming,
I use GPIO1_IO11 to config PWM .
set
Brightness =10
Brightness =1
Brightness =0
PWM voltage always keep 3.3V.
Plese help to check my device tree whether it needs to be modified .
From the hardware desgin you attached, the PWM will be pull up with the VDDEXT_3V3, so this is normal. You can remove R2389 to get low value when brightness =0.
Here is my test with same pwm node on EVK board.
Brightness=10
Brightness=1
Brightness =0
You can see that the PWM voltage is zero when brightness=0.
Please verify this with Oscilloscope and provide full dts file.