Firefly Open Source Community

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

Hardware pwm in user space

82

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
82
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

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