How can use Imx6ull pwm pin in kernel and userspace

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can use Imx6ull pwm pin in kernel and userspace

1,654 Views
analogicstechin
Contributor III

HI ,

 I am using imx6ull  pwm pin using in kernel space but unable to use in user space is there any possibility guide me.

below PIN is my custom board connected to buzzer.

MX6UL_PAD_GPIO1_IO09__PWM2_OUT 

please guide us to use buzzer play in user space.

Labels (1)
0 Kudos
1 Reply

1,181 Views
igorpadykov
NXP Employee
NXP Employee

Hi

for linux pwm driver description one can look at Chapter 47 Pulse-Width Modulator

(PWM) Driver, overview on

imx6s PWM sysfs 

PWM (Linux) 

linux/arch/arm/boot/dts/imx6ull-14x14-evk.dts

imx6ull-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos