Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: device-tree entry for pwmleds in linux3.12

$
0
0

Hi Titus,

Thank you for reply,
Yes, i had changed 1st parameter from '0' to '1',
And when i do that i dont see any entries under /sys/class/leds/
I get following message in bootlog,

[    2.409570] leds_pwm pwm_led.4: unable to request PWM for led3

LED sub-node properties:
- pwms : PWM property to point to the PWM device (phandle)/port (id) and to
  specify the period time to be used: <&phandle id period_ns>;

One more observation is,
Evenif i change one led's pwm entry other leds also doesn't show up, i had seen some patch related to this issue.

I have one more doubt,
We have three leds and we want to generate pattern wherein 1 led will be ON at time and each one switches ON one by one at specified interval.
With current trigger(timer) i couldn't achive this.I tried other triggers also but it didn't help.
Let me know if you have any suggestions

Thank you,

Regards,
Ankur


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>