2024-08-22 11:53 PM
i am facing the issue like i could not able to access the PWM pins
i want like this only (/sys/class/pwm/pwmchipX/).
but i get output like this only.
{
root@stm32mp1:~# cd /sys/class/pwm/
root@stm32mp1:/sys/class/pwm# ls
root@stm32mp1:/sys/class/pwm# ls
}
Note: i am using qt quick i want to read Pins as a PWM and get back to display.
2024-08-23 12:36 AM
Hello @asadullah4571 ,
Please refer to following wiki pages :
Kind regards,
Erwan.
2024-08-23 03:00 AM
i configured the kernel defconfig
PC> bitbake -c menuconfig virtual/kernel
i configured the PWM [M] (module) to [*] (built in).
and now comming to Device tree.
i didn't change any thing in .dtsi (stm32mp151.dtsi) (Stm32 microprocessr level) as According to your reference.
so should i change in .dts (stm32mp157f-dk2.dts) file (board level).
i follow this one https://wiki.st.com/stm32mpu/wiki/TIM_device_tree_configuration#
i did not understand any thing
please help me out , i stuck from the last 4 days