HI
I want to use UART1_CTS as PWM control, I found this IMX8QXP_UART1_CTS_B_LSIO_PWM3_OUT, but I don't know how to configure pwm3, I use linux L5.4.70.
Thanks!
Hello,
You can take the pwm-backlight as reference.
In the i.MX8qxp mek dts file. You can see the "pwm-backlight" used under the lvds _backlight0 node.
It use the "pwm_mipi_lvds0" to setup the pwm signal. The "pwm_mipi_lvds0" can be found in the imx8qxp-ss-lvds.dtsi. It call the driver is "fsl,imx27-pwm". Here is the driver source code.
https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/pwm/pwm-imx27.c?h=lf-5.10.y
The pwm-backlight driver is here
The document in linux for pwm-backlight is