On Fri, Jul 22, 2016 at 8:24 AM, Michael Turquette
wrote:
> Quoting Chen-Yu Tsai (2016-07-13 20:34:34)
>> On Sat, Jul 9, 2016 at 2:36 AM, Michael Turquette
>> wrote:
>> > Quoting Chen-Yu Tsai (2016-06-30 08:58:48)
>> >> +static long ac100_clkout_round_rate(struct clk_hw *hw, unsigned long
>> >>
On Sat, Jul 9, 2016 at 2:36 AM, Michael Turquette
wrote:
> Quoting Chen-Yu Tsai (2016-06-30 08:58:48)
>> +static long ac100_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
>> + unsigned long prate)
>> +{
>> + unsigned long best_rate = 0, tmp_rate, t
Quoting Chen-Yu Tsai (2016-06-30 08:58:48)
> +static long ac100_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
> + unsigned long prate)
> +{
> + unsigned long best_rate = 0, tmp_rate, tmp_prate;
> + int i;
> +
> + if (prate == AC100_RTC_
The AC100's RTC side has 3 clock outputs on external pins, which can
provide a clock signal to the SoC or other modules, such as WiFi or
GSM modules.
Support this with a custom clk driver integrated with the rtc driver.
Signed-off-by: Chen-Yu Tsai
---
Changes since v3:
- Renamed clk32k prefix
4 matches
Mail list logo