From: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
To: wan.ahmad.zainie.wan.mohamad@intel.com, thierry.reding@gmail.com
Cc: linux-pwm@vger.kernel.org
Subject: Re: [PATCH] pwm: add support for freq_hz and duty_percent
Date: Fri, 18 Mar 2016 11:55:54 +0200 [thread overview]
Message-ID: <56EBD0AA.40309@mentor.com> (raw)
In-Reply-To: <1458294195-24538-2-git-send-email-wan.ahmad.zainie.wan.mohamad@intel.com>
On 18.03.2016 11:43, wan.ahmad.zainie.wan.mohamad@intel.com wrote:
> From: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
>
> Add new sysfs interface, freq_hz and duty_percent, together with their
> helper functions to the PWM framework. This patch will enable the
> duration to be configured in unit Hertz and the "on" duration to be
> configured as percentage.
What's your motivation? Can you do the calculations in userspace?
I personally dislike an idea of having multiple ways/interfaces to do
the same thing.
> Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
> ---
--
With best wishes,
Vladimir
next prev parent reply other threads:[~2016-03-18 9:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 9:43 [PATCH] pwm: add support for freq_hz and duty_percent wan.ahmad.zainie.wan.mohamad
2016-03-18 9:43 ` wan.ahmad.zainie.wan.mohamad
2016-03-18 9:55 ` Vladimir Zapolskiy [this message]
2016-03-21 3:07 ` Wan Mohamad, Wan Ahmad Zainie
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=56EBD0AA.40309@mentor.com \
--to=vladimir_zapolskiy@mentor.com \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.com \
--cc=wan.ahmad.zainie.wan.mohamad@intel.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: link
Be 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.