2008-06-29 13:53:59

by Philipp Zabel

[permalink] [raw]
Subject: [PATCH] w100fb: add 80 MHz modeline

This is needed for HTC Blueangel (w3200).
At 96MHz its screen flickers.

Signed-off-by: Philipp Zabel <[email protected]>
---
drivers/video/w100fb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index 30469bf..3e48eef 100644
--- a/drivers/video/w100fb.c
+++ b/drivers/video/w100fb.c
@@ -1003,6 +1003,7 @@ static struct w100_pll_info xtal_14318000[] = {
static struct w100_pll_info xtal_16000000[] = {
/*freq M N_int N_fac tfgoal lock_time */
{ 72, 1, 8, 0, 0xe0, 48}, /* tfgoal guessed */
+ { 80, 1, 9, 0, 0xe0, 13}, /* tfgoal guessed */
{ 95, 1, 10, 7, 0xe0, 38}, /* tfgoal guessed */
{ 96, 1, 11, 0, 0xe0, 36}, /* tfgoal guessed */
{ 0, 0, 0, 0, 0, 0},
--
1.5.5.4


2008-06-29 15:49:42

by Ian molton

[permalink] [raw]
Subject: Re: [PATCH] w100fb: add 80 MHz modeline

On Sun, 2008-06-29 at 15:53 +0200, Philipp Zabel wrote:

Looks fine to me. 'lock time' looks a bit low but since the PLL is
very poorly understood (I wrote the c based on winCE disassembly) if it
works, go for it.

> This is needed for HTC Blueangel (w3200).
> At 96MHz its screen flickers.
>
> Signed-off-by: Philipp Zabel <[email protected]>

Acked-by: Ian Molton <[email protected]>

> ---
> drivers/video/w100fb.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
> index 30469bf..3e48eef 100644
> --- a/drivers/video/w100fb.c
> +++ b/drivers/video/w100fb.c
> @@ -1003,6 +1003,7 @@ static struct w100_pll_info xtal_14318000[] = {
> static struct w100_pll_info xtal_16000000[] = {
> /*freq M N_int N_fac tfgoal lock_time */
> { 72, 1, 8, 0, 0xe0, 48}, /* tfgoal guessed */
> + { 80, 1, 9, 0, 0xe0, 13}, /* tfgoal guessed */
> { 95, 1, 10, 7, 0xe0, 38}, /* tfgoal guessed */
> { 96, 1, 11, 0, 0xe0, 36}, /* tfgoal guessed */
> { 0, 0, 0, 0, 0, 0},