From: Yash Shah <yash.shah@sifive.com> To: Andreas Schwab <schwab@suse.de> Cc: Palmer Dabbelt <palmer@sifive.com>, linux-pwm@vger.kernel.org, linux-riscv@lists.infradead.org, Thierry Reding <thierry.reding@gmail.com>, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sachin Ghadi <sachin.ghadi@sifive.com>, Paul Walmsley <paul.walmsley@sifive.com> Subject: Re: [PATCH v9 0/2] PWM support for HiFive Unleashed Date: Fri, 15 Mar 2019 17:19:59 +0530 [thread overview] Message-ID: <CAJ2_jOE3RH9FyFg_NATcLEpHv5y89zdh06Ji2x8n3C_gp-wn6A@mail.gmail.com> (raw) In-Reply-To: <mvmimwotn60.fsf@suse.de> On Tue, Mar 12, 2019 at 3:44 PM Andreas Schwab <schwab@suse.de> wrote: > > On Mär 12 2019, Yash Shah <yash.shah@sifive.com> wrote: > > > This patch series adds a PWM driver and DT documentation > > for HiFive Unleashed board. The patches are mostly based on > > Wesley's patch. > > Heartbeat trigger still doesn't work for me. 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 have tested on HiFive unleashed board. To modify DT file I performed the following steps: Use the open-source FSBL from: https://github.com/sifive/freedom-u540-c000-bootloader Modify the fsbl/ux00_fsbl.dts file and re-build the fsbl.bin Steps for using fsbl.bin in HiFive Unleashed board: https://github.com/sifive/freedom-u540-c000-bootloader/issues/9 > > 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."
WARNING: multiple messages have this Message-ID (diff)
From: Yash Shah <yash.shah@sifive.com> To: Andreas Schwab <schwab@suse.de> Cc: mark.rutland@arm.com, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, Palmer Dabbelt <palmer@sifive.com>, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Sachin Ghadi <sachin.ghadi@sifive.com>, Thierry Reding <thierry.reding@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, linux-riscv@lists.infradead.org Subject: Re: [PATCH v9 0/2] PWM support for HiFive Unleashed Date: Fri, 15 Mar 2019 17:19:59 +0530 [thread overview] Message-ID: <CAJ2_jOE3RH9FyFg_NATcLEpHv5y89zdh06Ji2x8n3C_gp-wn6A@mail.gmail.com> (raw) In-Reply-To: <mvmimwotn60.fsf@suse.de> On Tue, Mar 12, 2019 at 3:44 PM Andreas Schwab <schwab@suse.de> wrote: > > On Mär 12 2019, Yash Shah <yash.shah@sifive.com> wrote: > > > This patch series adds a PWM driver and DT documentation > > for HiFive Unleashed board. The patches are mostly based on > > Wesley's patch. > > Heartbeat trigger still doesn't work for me. 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 have tested on HiFive unleashed board. To modify DT file I performed the following steps: Use the open-source FSBL from: https://github.com/sifive/freedom-u540-c000-bootloader Modify the fsbl/ux00_fsbl.dts file and re-build the fsbl.bin Steps for using fsbl.bin in HiFive Unleashed board: https://github.com/sifive/freedom-u540-c000-bootloader/issues/9 > > 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." _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2019-03-15 11:50 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-03-12 8:11 [PATCH v9 0/2] PWM support for HiFive Unleashed Yash Shah 2019-03-12 8:11 ` Yash Shah 2019-03-12 8:11 ` [PATCH v9 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller Yash Shah 2019-03-12 8:11 ` Yash Shah 2019-03-12 8:11 ` [PATCH v9 2/2] pwm: sifive: Add a driver for SiFive SoC PWM Yash Shah 2019-03-12 8:11 ` Yash Shah 2019-03-12 8:11 ` Yash Shah 2019-03-12 9:17 ` Uwe Kleine-König 2019-03-12 9:17 ` Uwe Kleine-König 2019-03-12 9:17 ` Uwe Kleine-König 2019-03-12 12:12 ` Thierry Reding 2019-03-12 12:12 ` Thierry Reding 2019-03-12 13:17 ` Uwe Kleine-König 2019-03-12 13:17 ` Uwe Kleine-König 2019-03-18 9:51 ` Thierry Reding 2019-03-18 9:51 ` Thierry Reding 2019-03-12 10:14 ` [PATCH v9 0/2] PWM support for HiFive Unleashed Andreas Schwab 2019-03-12 10:14 ` Andreas Schwab 2019-03-15 11:49 ` Yash Shah [this message] 2019-03-15 11:49 ` Yash Shah 2019-03-18 9:24 ` Andreas Schwab 2019-03-18 9:24 ` Andreas Schwab 2019-03-18 17:26 ` Andreas Schwab 2019-03-18 17:26 ` Andreas Schwab 2019-03-18 23:15 ` Paul Walmsley 2019-03-19 6:26 ` Yash Shah 2019-03-19 6:26 ` Yash Shah 2019-03-25 11:43 ` Yash Shah 2019-03-25 11:43 ` Yash Shah 2019-03-25 11:58 ` Andreas Schwab 2019-03-25 11:58 ` Andreas Schwab 2019-03-25 12:09 ` Yash Shah 2019-03-25 12:09 ` Yash Shah
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAJ2_jOE3RH9FyFg_NATcLEpHv5y89zdh06Ji2x8n3C_gp-wn6A@mail.gmail.com \ --to=yash.shah@sifive.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pwm@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=mark.rutland@arm.com \ --cc=palmer@sifive.com \ --cc=paul.walmsley@sifive.com \ --cc=robh+dt@kernel.org \ --cc=sachin.ghadi@sifive.com \ --cc=schwab@suse.de \ --cc=thierry.reding@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.