Re: [PATCH] clk: Update comment for clk_round_rate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Thu, Apr 05, 2012 at 12:37:24PM +0530, Viresh Kumar wrote:
> On 4/5/2012 12:33 PM, Uwe Kleine-König wrote:
> > It depends on your scenario. E.g. for an UART clock it might be better
> > to choose 130. Here choosing the frequency is not about a fixed maximum
> > but to match the sample rate of the device connect to your UART.
> My point was: we can almost always guarantee that device will still
> be operational at any frequency below the one requested. But it may
> not work at any freq above the requested one. So, giving 130 here may
> break it.
It depends. If for satisfying a request for 115200 Bd you have the choice
between 115202 Bd and 57601 Bd, I'd recommend the former.

Best regards

Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 |  |

linux-arm-kernel mailing list

[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter