Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Hardware pwm in user space

84

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
84
Posted at 1/13/2016 17:09:51        Only Author  11#
hi,
I add printk in the probe,it can pritk. use pwm will use this function,

--- a/kernel/drivers/pwm/pwm-rockchip.c
+++ b/kernel/drivers/pwm/pwm-rockchip.c
@@ -630,6 +630,7 @@ static int rk_pwm_probe(struct platform_device *pdev)
        struct rk_pwm_chip *pc;
        int ret;

+       printk("pwm is here\n");
        if (!of_id){


[    0.750802] io scheduler noop registered
[    0.750813] io scheduler deadline registered
[    0.750900] io scheduler cfq registered (default)
[    0.751217] pwm is here
[    0.752517] rockchip-hdmiv2 ff980000.hdmi: rockchip hdmiv2 probe sucess.
[    0.753187] IEP Driver loaded succesfully
Reply

Use props Report

130

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
130
Posted at 2/20/2026 17:54:13        Only Author  12#
The article is very content-rich and has given me many practical insights. This is the L4M3 new study materials exam that helped me land my promotion and salary raise. It’s free today—wishing you all the best in your career progress!
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list