All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Ellero <luca.ellero@brickedbrain.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] iMX6 IPU configuration by EDID
Date: Tue, 17 Mar 2015 11:04:56 +0100	[thread overview]
Message-ID: <5507FC48.3010302@brickedbrain.com> (raw)

Hi all,
I'm trying to configure IPU on a iMX6 based platform by reading EDID 
from the external monitor.

Everything seem to work fine except for the pixelclock. In particular my 
monitor has a standard resolution of 1280x1024 at 60 (108 MHz pixelclock).

When the function ipu_init_sync_panel (file ipu_disp.c) is called it 
correctly receive 108 MHz as pixelclock. but during the execution of 
this function it gets rounded to 130 MHz.

I can see that the function calls clk_round_rate to round the clock to 
130 MHz but it's not clear for me how it works.

Can someone please tell me how to get the exact pixelclock I would like 
to achieve? I've carefully read the iMX6 manual but it's not very useful 
in this case.

Another doubt that I have regards the field "ext_clk" of parameter 
"ipu_di_signal_cfg_t sig". In this case, is it better to set it or not?

Thanks
Regards
Luca


-- 
Luca Ellero

E-mail: luca.ellero at brickedbrain.com
Internet: www.brickedbrain.com

             reply	other threads:[~2015-03-17 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 10:04 Luca Ellero [this message]
2015-03-17 14:25 ` [U-Boot] iMX6 IPU configuration by EDID Eric Nelson
2015-03-18  8:26   ` Luca Ellero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5507FC48.3010302@brickedbrain.com \
    --to=luca.ellero@brickedbrain.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.