[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5410AEFD.5030302@elproma.com.pl>
Date: Wed, 10 Sep 2014 22:05:17 +0200
From: Janusz Użycki <j.uzycki@...roma.com.pl>
To: Thierry Reding <thierry.reding@...il.com>,
Mike Turquette <mturquette@...aro.org>
CC: Philipp Zabel <p.zabel@...gutronix.de>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-pwm@...r.kernel.org
Subject: Re: [PATCH] clk: Add PWM clock driver
Hi,
http://patchwork.ozlabs.org/patch/359069/
https://lkml.org/lkml/2014/6/12/186
Will the patch ever included to linux-next?
pwm_config() API could be extended to support
not only period [ns] and duty [ns] time
but also frequency [Hz] and duty cycle fraction [1/1000?]
(instead of time in ns) as parameters.
Then ns (rounded by pwm) to freq. conversion problem
inclk_pwm_recalc_rate() usingpwm_get_period()
could be avoided.
To extend the API pwm_config() can support
new flags forduty_ns and period_ns,
eg. PWM_DUTY_PERCENT and PWM_PERIOD_HZ.
best regards
Janusz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists