mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Adding a pwm command
@ 2023-05-26  8:23 Marc Reilly
  2023-05-26  8:23 ` [RFC PATCH 1/1] commands: add pwm manipulation command Marc Reilly
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Reilly @ 2023-05-26  8:23 UTC (permalink / raw)
  To: barebox

Hi all, 

I've been playing around with adding a new board to barebox, and its
been a while so I didn't realise that properties could be set on a
driver instance directly (eg 'pwm0.enable=1' or 'pwm0.period_ns=10000')

I started this pwm_set command, if it's useful (ability to set frequency
is helpful) I can submit it properly. It looks like most other commands
have doc duplicated in the Kconfig, any other requests?

Cheers
Marc





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-26  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26  8:23 Adding a pwm command Marc Reilly
2023-05-26  8:23 ` [RFC PATCH 1/1] commands: add pwm manipulation command Marc Reilly
2023-05-26  9:33   ` Johannes Zink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox