Hi Yash


On 3/18/19 10:26 AM, Andreas Schwab wrote:
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.


Could you post a copy of the current DTS file and Kconfig that you're using so that Andreas can duplicate your results?


thanks,


- Paul