public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider
Date: Tue, 9 Jan 2018 09:28:26 +0100	[thread overview]
Message-ID: <20180109092826.43788093@crub> (raw)
In-Reply-To: <1515481127-24425-6-git-send-email-oe5hpm@oevsv.at>

Hi Hannes,

On Tue,  9 Jan 2018 07:58:46 +0100
Hannes Schmelzer oe5hpm at oevsv.at wrote:
...
> -	dtbprop = FDTPROP(PATHTIM, "clock-frequency");
> -	if (dtbprop != ~0UL)
> -		pnltmp.pxl_clk_div = 192000000 / dtbprop;
> -	else
> -		pnltmp.pxl_clk_div = ~0UL;
> +	pnltmp.pxl_clk_div = FDTPROP(PATHTIM, "clock-frequency");

did you test !CONFIG_USE_FDT case? This should be

    pnltmp.pxl_clk = FDTPROP(PATHTIM, "clock-frequency");


--
Anatolij

  reply	other threads:[~2018-01-09  8:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-09  6:58 [U-Boot] [PATCH 0/6] am335x-fb: support display PLL for lcd-clock / pixel-clock Hannes Schmelzer
2018-01-09  6:58 ` [U-Boot] [PATCH 1/6] mach-omap2: add AM335x Display PLL register definition Hannes Schmelzer
2018-01-09  8:00   ` Anatolij Gustschin
2018-01-09  6:58 ` [U-Boot] [PATCH 2/6] am335x-fb: cosmetic: update-copyright Hannes Schmelzer
2018-01-09  8:03   ` Anatolij Gustschin
2018-01-09  6:58 ` [U-Boot] [PATCH 3/6] am335x-fb: cosmetic: fix coding style Hannes Schmelzer
2018-01-09  8:04   ` Anatolij Gustschin
2018-01-09  6:58 ` [U-Boot] [PATCH 4/6] am335x-fb: setup display PLL Hannes Schmelzer
2018-01-09  6:58 ` [U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider Hannes Schmelzer
2018-01-09  8:28   ` Anatolij Gustschin [this message]
2018-01-09  8:34     ` Hannes Schmelzer
2018-01-09  6:58 ` [U-Boot] [PATCH 6/6] board/BuR: drop LCDC clock manipulation from board code Hannes Schmelzer
2018-01-09  8:31   ` Anatolij Gustschin

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=20180109092826.43788093@crub \
    --to=agust@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox