diff mbox

[U-Boot,5/9] rockchip: rk3288: fix FREF_MIN_HZ constant

Message ID 1468621041-11487-6-git-send-email-heiko@sntech.de
State Accepted
Commit c3f03ffbe31ae886f0eb670edf47fc208d667c19
Delegated to: Simon Glass
Headers show

Commit Message

Heiko Stübner July 15, 2016, 10:17 p.m. UTC
According to the TRM the minimum FREF frequency is 269kHz not MHz.
Adapt the constant accordingly.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 drivers/clk/clk_rk3288.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass July 17, 2016, 2:13 p.m. UTC | #1
On 15 July 2016 at 16:17, Heiko Stuebner <heiko@sntech.de> wrote:
> According to the TRM the minimum FREF frequency is 269kHz not MHz.
> Adapt the constant accordingly.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
>  drivers/clk/clk_rk3288.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass July 18, 2016, 12:16 p.m. UTC | #2
On 17 July 2016 at 08:13, Simon Glass <sjg@chromium.org> wrote:
> On 15 July 2016 at 16:17, Heiko Stuebner <heiko@sntech.de> wrote:
>> According to the TRM the minimum FREF frequency is 269kHz not MHz.
>> Adapt the constant accordingly.
>>
>> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
>> ---
>>  drivers/clk/clk_rk3288.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/drivers/clk/clk_rk3288.c b/drivers/clk/clk_rk3288.c
index dece4bc..a41cf8b 100644
--- a/drivers/clk/clk_rk3288.c
+++ b/drivers/clk/clk_rk3288.c
@@ -47,7 +47,7 @@  enum {
 	OUTPUT_MAX_HZ	= 2200U * 1000000,
 	OUTPUT_MIN_HZ	= 27500000,
 	FREF_MAX_HZ	= 2200U * 1000000,
-	FREF_MIN_HZ	= 269 * 1000000,
+	FREF_MIN_HZ	= 269 * 1000,
 };
 
 enum {