lkml.org 
[lkml]   [2019]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v9 0/2] PWM support for HiFive Unleashed
Date
On Mär 15 2019, Yash Shah <yash.shah@sifive.com> wrote:

> You need to make sure the period setting is passed via the
> conventional way in DT file.
> Example:
> pwmleds {
> compatible = "pwm-leds";
> heartbeat {
> pwms = <&L45 0 10000000 0>;
> max-brightness = <255>;
> linux,default-trigger = "heartbeat";
> };
> };

I've now managed to build a working FSBL with that change, but that
didn't change anything. There is not even a heartbeat option in
/sys/class/leds/heartbeat/trigger any more.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

\
 
 \ /
  Last update: 2019-03-18 18:26    [W:0.071 / U:0.388 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site